|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
AVRCP Cover Art Target callback structure. More...
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Data Fields | |
| void(* | l2cap_connected )(struct bt_avrcp_tg *tg, struct bt_avrcp_cover_art_tg *cover_art_tg) |
| L2CAP connected callback. | |
| void(* | l2cap_disconnected )(struct bt_avrcp_cover_art_tg *tg) |
| L2CAP disconnected callback. | |
| void(* | connect )(struct bt_avrcp_cover_art_tg *tg, uint8_t version, uint16_t mopl, struct net_buf *buf) |
| OBEX connect request callback. | |
| void(* | disconnect )(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf) |
| OBEX disconnect request callback. | |
| void(* | abort )(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf) |
| OBEX abort request callback. | |
| void(* | get_image_properties )(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
| Get image properties request callback. | |
| void(* | get_image )(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
| Get image request callback. | |
| void(* | get_linked_thumbnail )(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
| Get linked thumbnail request callback. | |
AVRCP Cover Art Target callback structure.
This structure defines callback functions that will be called when various AVRCP Cover Art Target events occur.
| void(* bt_avrcp_cover_art_tg_cb::abort) (struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf) |
OBEX abort request callback.
| tg | AVRCP Cover Art target instance |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::connect) (struct bt_avrcp_cover_art_tg *tg, uint8_t version, uint16_t mopl, struct net_buf *buf) |
OBEX connect request callback.
| tg | AVRCP Cover Art target instance |
| version | OBEX version |
| mopl | Maximum OBEX packet length |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::disconnect) (struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf) |
OBEX disconnect request callback.
| tg | AVRCP Cover Art target instance |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::get_image) (struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
Get image request callback.
| tg | AVRCP Cover Art target instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::get_image_properties) (struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
Get image properties request callback.
| tg | AVRCP Cover Art target instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::get_linked_thumbnail) (struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf) |
Get linked thumbnail request callback.
| tg | AVRCP Cover Art target instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer |
| void(* bt_avrcp_cover_art_tg_cb::l2cap_connected) (struct bt_avrcp_tg *tg, struct bt_avrcp_cover_art_tg *cover_art_tg) |
L2CAP connected callback.
Called when the underlying transport (L2CAP) is connected
| tg | AVRCP target instance |
| cover_art_tg | AVRCP Cover Art target instance |
| void(* bt_avrcp_cover_art_tg_cb::l2cap_disconnected) (struct bt_avrcp_cover_art_tg *tg) |
L2CAP disconnected callback.
Called when the underlying transport is disconnected
| tg | AVRCP Cover Art target instance |