7#ifndef _BT_CONTENT_CTRL_MEDIA_INTERNAL_H_
8#define _BT_CONTENT_CTRL_MEDIA_INTERNAL_H_
10#include <zephyr/bluetooth/conn.h>
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_client_init(void)
Initialize the Media Control Client.
int bt_content_ctrl_media_conn_disconnected(struct bt_conn *conn)
Reset the media control peer's discovered state.
int bt_content_ctrl_media_state_update(struct bt_conn *conn)
Get the current state of the media player.
void(* bt_content_ctrl_media_play_pause_cb)(bool play)
Callback for changing the stream state.
Definition bt_content_ctrl_media_internal.h:17
int bt_content_ctrl_media_discover(struct bt_conn *conn)
Discover Media Control Service and the included services.
int bt_content_ctrl_media_server_init(bt_content_ctrl_media_play_pause_cb play_pause_cb)
Initialize the Media Control Server.