Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_avrcp_cover_art_tg_cb Struct Reference

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.

Detailed Description

AVRCP Cover Art Target callback structure.

This structure defines callback functions that will be called when various AVRCP Cover Art Target events occur.

Field Documentation

◆ abort

void(* bt_avrcp_cover_art_tg_cb::abort) (struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)

OBEX abort request callback.

Parameters
tgAVRCP Cover Art target instance
bufRequest data buffer

◆ connect

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.

Parameters
tgAVRCP Cover Art target instance
versionOBEX version
moplMaximum OBEX packet length
bufRequest data buffer

◆ disconnect

void(* bt_avrcp_cover_art_tg_cb::disconnect) (struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)

OBEX disconnect request callback.

Parameters
tgAVRCP Cover Art target instance
bufRequest data buffer

◆ get_image

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.

Parameters
tgAVRCP Cover Art target instance
finalTrue if this is the final packet in the request
bufRequest data buffer

◆ get_image_properties

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.

Parameters
tgAVRCP Cover Art target instance
finalTrue if this is the final packet in the request
bufRequest data buffer

◆ get_linked_thumbnail

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.

Parameters
tgAVRCP Cover Art target instance
finalTrue if this is the final packet in the request
bufRequest data buffer

◆ l2cap_connected

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

Parameters
tgAVRCP target instance
cover_art_tgAVRCP Cover Art target instance

◆ l2cap_disconnected

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

Parameters
tgAVRCP Cover Art target instance

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