Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
#include <zephyr/bluetooth/classic/avrcp.h>
Data Fields | |
void(* | connected )(struct bt_conn *conn, struct bt_avrcp_tg *tg) |
An AVRCP TG connection has been established. | |
void(* | disconnected )(struct bt_avrcp_tg *tg) |
An AVRCP TG connection has been disconnected. | |
void(* | unit_info_req )(struct bt_avrcp_tg *tg, uint8_t tid) |
Unit info request callback. | |
void(* | browsing_connected )(struct bt_conn *conn, struct bt_avrcp_tg *tg) |
An AVRCP TG browsing connection has been established. | |
void(* | browsing_disconnected )(struct bt_avrcp_tg *tg) |
An AVRCP TG browsing connection has been disconnected. | |
void(* | set_browsed_player_req )(struct bt_avrcp_tg *tg, uint8_t tid, uint16_t player_id) |
Set browsed player request callback. |
void(* bt_avrcp_tg_cb::browsing_connected) (struct bt_conn *conn, struct bt_avrcp_tg *tg) |
An AVRCP TG browsing connection has been established.
This callback notifies the application of an avrcp browsing connection, i.e., an AVCTP browsing L2CAP connection.
conn | Connection object. |
tg | AVRCP TG connection object. |
void(* bt_avrcp_tg_cb::browsing_disconnected) (struct bt_avrcp_tg *tg) |
An AVRCP TG browsing connection has been disconnected.
This callback notifies the application that an avrcp browsing connection has been disconnected.
tg | AVRCP TG connection object. |
void(* bt_avrcp_tg_cb::connected) (struct bt_conn *conn, struct bt_avrcp_tg *tg) |
An AVRCP TG connection has been established.
This callback notifies the application of an avrcp connection, i.e., an AVCTP L2CAP connection.
conn | Connection object. |
tg | AVRCP TG connection object. |
void(* bt_avrcp_tg_cb::disconnected) (struct bt_avrcp_tg *tg) |
An AVRCP TG connection has been disconnected.
This callback notifies the application that an avrcp connection has been disconnected.
tg | AVRCP TG connection object. |
void(* bt_avrcp_tg_cb::set_browsed_player_req) (struct bt_avrcp_tg *tg, uint8_t tid, uint16_t player_id) |
Set browsed player request callback.
This callback is called whenever an AVRCP set browsed player request is received.
tg | AVRCP TG connection object. |
tid | The transaction label of the request. |
player_id | The player ID to be set as browsed player. |
void(* bt_avrcp_tg_cb::unit_info_req) (struct bt_avrcp_tg *tg, uint8_t tid) |
Unit info request callback.
This callback is called whenever an AVRCP unit info is requested.
tid | The transaction label of the request. |
tg | AVRCP TG connection object. |