| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <stdbool.h>#include <zephyr/types.h>#include <zephyr/bluetooth/bluetooth.h>#include "mcs.h"Go to the source code of this file.
Data Structures | |
| struct | mpl_cmd | 
| Media player command.  More... | |
| struct | mpl_cmd_ntf | 
| Media command notification.  More... | |
| struct | mpl_sci | 
| Search control item.  More... | |
| struct | mpl_search | 
| Search.  More... | |
| struct | media_proxy_ctrl_cbs | 
| Callbacks to a controller, from the media proxy.  More... | |
| struct | media_proxy_pl_calls | 
| Available calls in a player, that the media proxy can call.  More... | |
Functions | |
| int | media_proxy_ctrl_register (struct media_proxy_ctrl_cbs *ctrl_cbs) | 
| Register a controller with the media_proxy.  More... | |
| int | media_proxy_ctrl_discover_player (struct bt_conn *conn) | 
| Discover a remote media player.  More... | |
| int | media_proxy_ctrl_get_player_name (struct media_player *player) | 
| Read Media Player Name.  More... | |
| int | media_proxy_ctrl_get_icon_id (struct media_player *player) | 
| Read Icon Object ID.  More... | |
| int | media_proxy_ctrl_get_icon_url (struct media_player *player) | 
| Read Icon URL.  More... | |
| int | media_proxy_ctrl_get_track_title (struct media_player *player) | 
| Read Track Title.  More... | |
| int | media_proxy_ctrl_get_track_duration (struct media_player *player) | 
| Read Track Duration.  More... | |
| int | media_proxy_ctrl_get_track_position (struct media_player *player) | 
| Read Track Position.  More... | |
| int | media_proxy_ctrl_set_track_position (struct media_player *player, int32_t position) | 
| Set Track Position.  More... | |
| int | media_proxy_ctrl_get_playback_speed (struct media_player *player) | 
| Get Playback Speed.  More... | |
| int | media_proxy_ctrl_set_playback_speed (struct media_player *player, int8_t speed) | 
| Set Playback Speed.  More... | |
| int | media_proxy_ctrl_get_seeking_speed (struct media_player *player) | 
| Get Seeking Speed.  More... | |
| int | media_proxy_ctrl_get_track_segments_id (struct media_player *player) | 
| Read Current Track Segments Object ID.  More... | |
| int | media_proxy_ctrl_get_current_track_id (struct media_player *player) | 
| Read Current Track Object ID.  More... | |
| int | media_proxy_ctrl_set_current_track_id (struct media_player *player, uint64_t id) | 
| Set Current Track Object ID.  More... | |
| int | media_proxy_ctrl_get_next_track_id (struct media_player *player) | 
| Read Next Track Object ID.  More... | |
| int | media_proxy_ctrl_set_next_track_id (struct media_player *player, uint64_t id) | 
| Set Next Track Object ID.  More... | |
| int | media_proxy_ctrl_get_parent_group_id (struct media_player *player) | 
| Read Parent Group Object ID.  More... | |
| int | media_proxy_ctrl_get_current_group_id (struct media_player *player) | 
| Read Current Group Object ID.  More... | |
| int | media_proxy_ctrl_set_current_group_id (struct media_player *player, uint64_t id) | 
| Set Current Group Object ID.  More... | |
| int | media_proxy_ctrl_get_playing_order (struct media_player *player) | 
| Read Playing Order.  More... | |
| int | media_proxy_ctrl_set_playing_order (struct media_player *player, uint8_t order) | 
| Set Playing Order.  More... | |
| int | media_proxy_ctrl_get_playing_orders_supported (struct media_player *player) | 
| Read Playing Orders Supported.  More... | |
| int | media_proxy_ctrl_get_media_state (struct media_player *player) | 
| Read Media State.  More... | |
| int | media_proxy_ctrl_send_command (struct media_player *player, const struct mpl_cmd *command) | 
| Send Command.  More... | |
| int | media_proxy_ctrl_get_commands_supported (struct media_player *player) | 
| Read Commands Supported.  More... | |
| int | media_proxy_ctrl_send_search (struct media_player *player, const struct mpl_search *search) | 
| Set Search.  More... | |
| int | media_proxy_ctrl_get_search_results_id (struct media_player *player) | 
| Read Search Results Object ID.  More... | |
| uint8_t | media_proxy_ctrl_get_content_ctrl_id (struct media_player *player) | 
| Read Content Control ID.  More... | |
| int | media_proxy_pl_register (struct media_proxy_pl_calls *pl_calls) | 
| Register a player with the media proxy.  More... | |
| int | media_proxy_pl_init (void) | 
| struct bt_ots * | bt_mcs_get_ots (void) | 
| void | media_proxy_pl_track_changed_cb (void) | 
| Track changed callback.  More... | |
| void | media_proxy_pl_track_title_cb (char *title) | 
| Track title callback.  More... | |
| void | media_proxy_pl_track_duration_cb (int32_t duration) | 
| Track duration callback.  More... | |
| void | media_proxy_pl_track_position_cb (int32_t position) | 
| Track position callback.  More... | |
| void | media_proxy_pl_playback_speed_cb (int8_t speed) | 
| Playback speed callback.  More... | |
| void | media_proxy_pl_seeking_speed_cb (int8_t speed) | 
| Seeking speed callback.  More... | |
| void | media_proxy_pl_current_track_id_cb (uint64_t id) | 
| Current track object ID callback.  More... | |
| void | media_proxy_pl_next_track_id_cb (uint64_t id) | 
| Next track object ID callback.  More... | |
| void | media_proxy_pl_parent_group_id_cb (uint64_t id) | 
| Parent group object ID callback.  More... | |
| void | media_proxy_pl_current_group_id_cb (uint64_t id) | 
| Current group object ID callback.  More... | |
| void | media_proxy_pl_playing_order_cb (uint8_t order) | 
| Playing order callback.  More... | |
| void | media_proxy_pl_media_state_cb (uint8_t state) | 
| Media state callback.  More... | |
| void | media_proxy_pl_command_cb (const struct mpl_cmd_ntf *cmd_ntf) | 
| Command callback.  More... | |
| void | media_proxy_pl_commands_supported_cb (uint32_t opcodes) | 
| Commands supported callback.  More... | |
| void | media_proxy_pl_search_cb (uint8_t result_code) | 
| Search callback.  More... | |
| void | media_proxy_pl_search_results_id_cb (uint64_t id) | 
| Search Results object ID callback.  More... | |