Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bt_avrcp_cb Struct Reference

#include <avrcp.h>

Data Fields

void(* connected )(struct bt_avrcp *avrcp)
 An AVRCP connection has been established.
 
void(* disconnected )(struct bt_avrcp *avrcp)
 An AVRCP connection has been disconnected.
 
void(* get_cap_rsp )(struct bt_avrcp *avrcp, uint8_t tid, const struct bt_avrcp_get_cap_rsp *rsp)
 Callback function for bt_avrcp_get_cap().
 
void(* unit_info_rsp )(struct bt_avrcp *avrcp, uint8_t tid, struct bt_avrcp_unit_info_rsp *rsp)
 Callback function for bt_avrcp_get_unit_info().
 
void(* subunit_info_rsp )(struct bt_avrcp *avrcp, uint8_t tid, struct bt_avrcp_subunit_info_rsp *rsp)
 Callback function for bt_avrcp_get_subunit_info().
 
void(* passthrough_rsp )(struct bt_avrcp *avrcp, uint8_t tid, bt_avrcp_rsp_t result, const struct bt_avrcp_passthrough_rsp *rsp)
 Callback function for bt_avrcp_passthrough().
 

Field Documentation

◆ connected

void(* bt_avrcp_cb::connected) (struct bt_avrcp *avrcp)

An AVRCP connection has been established.

This callback notifies the application of an avrcp connection, i.e., an AVCTP L2CAP connection.

Parameters
avrcpAVRCP connection object.

◆ disconnected

void(* bt_avrcp_cb::disconnected) (struct bt_avrcp *avrcp)

An AVRCP connection has been disconnected.

This callback notifies the application that an avrcp connection has been disconnected.

Parameters
avrcpAVRCP connection object.

◆ get_cap_rsp

void(* bt_avrcp_cb::get_cap_rsp) (struct bt_avrcp *avrcp, uint8_t tid, const struct bt_avrcp_get_cap_rsp *rsp)

Callback function for bt_avrcp_get_cap().

Called when the get capabilities process is completed.

Parameters
avrcpAVRCP connection object.
tidThe transaction label of the response.
rspThe response for Get Capabilities command.

◆ passthrough_rsp

void(* bt_avrcp_cb::passthrough_rsp) (struct bt_avrcp *avrcp, uint8_t tid, bt_avrcp_rsp_t result, const struct bt_avrcp_passthrough_rsp *rsp)

Callback function for bt_avrcp_passthrough().

Called when a passthrough response is received.

Parameters
avrcpAVRCP connection object.
tidThe transaction label of the response.
resultThe result of the operation.
rspThe response for PASS THROUGH command.

◆ subunit_info_rsp

void(* bt_avrcp_cb::subunit_info_rsp) (struct bt_avrcp *avrcp, uint8_t tid, struct bt_avrcp_subunit_info_rsp *rsp)

Callback function for bt_avrcp_get_subunit_info().

Called when the get subunit info process is completed.

Parameters
avrcpAVRCP connection object.
tidThe transaction label of the response.
rspThe response for SUBUNIT INFO command.

◆ unit_info_rsp

void(* bt_avrcp_cb::unit_info_rsp) (struct bt_avrcp *avrcp, uint8_t tid, struct bt_avrcp_unit_info_rsp *rsp)

Callback function for bt_avrcp_get_unit_info().

Called when the get unit info process is completed.

Parameters
avrcpAVRCP connection object.
tidThe transaction label of the response.
rspThe response for UNIT INFO command.

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