|
Zephyr Project API 4.1.0
A Scalable Open Source RTOS
|
#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(). | |
| void(* | passthrough_rsp )(struct bt_avrcp *avrcp, struct bt_avrcp_passthrough_rsp *rsp) |
| Callback function for bt_avrcp_passthrough(). | |
| 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.
| avrcp | AVRCP connection object. |
| 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.
| avrcp | AVRCP connection object. |
| void(* bt_avrcp_cb::passthrough_rsp) (struct bt_avrcp *avrcp, struct bt_avrcp_passthrough_rsp *rsp) |
Callback function for bt_avrcp_passthrough().
Called when a passthrough response is received.
| avrcp | AVRCP connection object. |
| rsp | The response for PASS THROUGH command. |
| 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.
| avrcp | AVRCP connection object. |
| rsp | The response for SUBUNIT INFO command. |
| 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.
| avrcp | AVRCP connection object. |
| rsp | The response for UNIT INFO command. |