nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
bt_content_ctrl_media_internal.h File Reference
#include <zephyr/bluetooth/conn.h>

Go to the source code of this file.

Typedefs

typedef void(* bt_content_ctrl_media_play_pause_cb) (bool play)
 Callback for changing the stream state.
 

Functions

int bt_content_ctrl_media_discover (struct bt_conn *conn)
 Discover Media Control Service and the included services.
 
int bt_content_ctrl_media_state_update (struct bt_conn *conn)
 Get the current state of the media player.
 
int bt_content_ctrl_media_play (struct bt_conn *conn)
 Send a play command to the media player, depending on the current state.
 
int bt_content_ctrl_media_pause (struct bt_conn *conn)
 Send a pause command to the media player, depending on the current state.
 
int bt_content_ctrl_media_conn_disconnected (struct bt_conn *conn)
 Reset the media control peer's discovered state.
 
int bt_content_ctrl_media_client_init (void)
 Initialize the Media Control Client.
 
int bt_content_ctrl_media_server_init (bt_content_ctrl_media_play_pause_cb play_pause_cb)
 Initialize the Media Control Server.