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

AVRCP Cover Art Controller callback structure. More...

#include <zephyr/bluetooth/classic/avrcp_cover_art.h>

Data Fields

void(* l2cap_connected )(struct bt_avrcp_ct *ct, struct bt_avrcp_cover_art_ct *cover_art_ct)
 L2CAP connected callback.
void(* l2cap_disconnected )(struct bt_avrcp_cover_art_ct *ct)
 L2CAP disconnected callback.
void(* connect )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)
 OBEX connect response callback.
void(* disconnect )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
 OBEX disconnect response callback.
void(* abort )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
 OBEX abort response callback.
void(* get_image_properties )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
 Get image properties response callback.
void(* get_image )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
 Get image response callback.
void(* get_linked_thumbnail )(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
 Get linked thumbnail response callback.

Detailed Description

AVRCP Cover Art Controller callback structure.

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

Field Documentation

◆ abort

void(* bt_avrcp_cover_art_ct_cb::abort) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)

OBEX abort response callback.

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
bufResponse data buffer

◆ connect

void(* bt_avrcp_cover_art_ct_cb::connect) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, uint8_t version, uint16_t mopl, struct net_buf *buf)

OBEX connect response callback.

Called when a connect response is received from the target

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
versionOBEX version
moplMaximum OBEX packet length
bufResponse data buffer

◆ disconnect

void(* bt_avrcp_cover_art_ct_cb::disconnect) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)

OBEX disconnect response callback.

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
bufResponse data buffer

◆ get_image

void(* bt_avrcp_cover_art_ct_cb::get_image) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)

Get image response callback.

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
bufResponse data buffer containing image data

◆ get_image_properties

void(* bt_avrcp_cover_art_ct_cb::get_image_properties) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)

Get image properties response callback.

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
bufResponse data buffer containing image properties

◆ get_linked_thumbnail

void(* bt_avrcp_cover_art_ct_cb::get_linked_thumbnail) (struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)

Get linked thumbnail response callback.

Parameters
ctAVRCP Cover Art controller instance
rsp_codeOBEX response code
bufResponse data buffer containing thumbnail data

◆ l2cap_connected

void(* bt_avrcp_cover_art_ct_cb::l2cap_connected) (struct bt_avrcp_ct *ct, struct bt_avrcp_cover_art_ct *cover_art_ct)

L2CAP connected callback.

Called when the underlying transport (L2CAP) is connected

Parameters
ctAVRCP controller instance
cover_art_ctAVRCP Cover Art controller instance

◆ l2cap_disconnected

void(* bt_avrcp_cover_art_ct_cb::l2cap_disconnected) (struct bt_avrcp_cover_art_ct *ct)

L2CAP disconnected callback.

Called when the underlying transport is disconnected

Parameters
ctAVRCP Cover Art controller instance

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