Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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(* unit_info_rsp )(struct bt_avrcp *avrcp, struct bt_avrcp_unit_info_rsp *rsp)
 Callback function for bt_avrcp_get_unit_info().
 
void(* subunit_info_rsp )(struct bt_avrcp *avrcp, struct bt_avrcp_subunit_info_rsp *rsp)
 Callback function for bt_avrcp_get_subunit_info().
 

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.

◆ subunit_info_rsp

void(* bt_avrcp_cb::subunit_info_rsp) (struct bt_avrcp *avrcp, 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.
rspThe response for SUBUNIT INFO command.

◆ unit_info_rsp

void(* bt_avrcp_cb::unit_info_rsp) (struct bt_avrcp *avrcp, 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.
rspThe response for UNIT INFO command.

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