Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_avrcp_tg_cb Struct Reference

#include <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.
 

Field Documentation

◆ connected

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.

Parameters
connConnection object.
tgAVRCP TG connection object.

◆ disconnected

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.

Parameters
tgAVRCP TG connection object.

◆ unit_info_req

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.

Parameters
tidThe transaction label of the request.
tgAVRCP TG connection object.

The documentation for this struct was generated from the following file: