11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AVRCP_COVER_ART_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_AVRCP_COVER_ART_H_
49 struct bt_avrcp_ct *
ct;
66 struct bt_avrcp_tg *
tg;
Audio Video Remote Control Profile header.
Bluetooth subsystem core APIs.
int bt_avrcp_cover_art_ct_l2cap_connect(struct bt_avrcp_ct *ct, struct bt_avrcp_cover_art_ct **cover_art_ct, uint16_t psm)
Connect L2CAP channel for AVRCP Cover Art Controller.
int bt_avrcp_cover_art_tg_cb_register(struct bt_avrcp_cover_art_tg_cb *cb)
Register AVRCP Cover Art target callbacks.
int bt_avrcp_cover_art_tg_l2cap_disconnect(struct bt_avrcp_cover_art_tg *tg)
Disconnect L2CAP channel for AVRCP Cover Art Target.
int bt_avrcp_cover_art_tg_abort(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code, struct net_buf *buf)
Send OBEX abort response.
int bt_avrcp_cover_art_ct_get_linked_thumbnail(struct bt_avrcp_cover_art_ct *ct, bool final, struct net_buf *buf)
Send get linked thumbnail request.
int bt_avrcp_cover_art_ct_get_image_properties(struct bt_avrcp_cover_art_ct *ct, bool final, struct net_buf *buf)
Send get image properties request.
int bt_avrcp_cover_art_tg_disconnect(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code)
Send OBEX disconnect response.
int bt_avrcp_cover_art_ct_cb_register(struct bt_avrcp_cover_art_ct_cb *cb)
Register AVRCP Cover Art Controller callbacks.
struct net_buf * bt_avrcp_cover_art_ct_create_pdu(struct bt_avrcp_cover_art_ct *ct, struct net_buf_pool *pool)
Create PDU buffer for AVRCP Cover Art Controller.
int bt_avrcp_cover_art_ct_l2cap_disconnect(struct bt_avrcp_cover_art_ct *ct)
Disconnect L2CAP channel for AVRCP Cover Art Controller.
int bt_avrcp_cover_art_tg_get_image_properties(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code, struct net_buf *buf)
Send get image properties response.
int bt_avrcp_cover_art_ct_connect(struct bt_avrcp_cover_art_ct *ct)
Send OBEX connect request.
int bt_avrcp_cover_art_ct_abort(struct bt_avrcp_cover_art_ct *ct, struct net_buf *buf)
Send OBEX abort request.
int bt_avrcp_cover_art_tg_get_image(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code, struct net_buf *buf)
Send get image response.
int bt_avrcp_cover_art_ct_disconnect(struct bt_avrcp_cover_art_ct *ct)
Send OBEX disconnect request.
int bt_avrcp_cover_art_tg_get_linked_thumbnail(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code, struct net_buf *buf)
Send get linked thumbnail response.
struct net_buf * bt_avrcp_cover_art_tg_create_pdu(struct bt_avrcp_cover_art_tg *tg, struct net_buf_pool *pool)
Create PDU buffer for AVRCP Cover Art Target.
int bt_avrcp_cover_art_tg_connect(struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code)
Send OBEX connect response.
int bt_avrcp_cover_art_ct_get_image(struct bt_avrcp_cover_art_ct *ct, bool final, struct net_buf *buf)
Send get image request.
Bluetooth L2CAP handling.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
AVRCP Cover Art Controller callback structure.
Definition avrcp_cover_art.h:77
void(* l2cap_disconnected)(struct bt_avrcp_cover_art_ct *ct)
L2CAP disconnected callback.
Definition avrcp_cover_art.h:95
void(* get_linked_thumbnail)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
Get linked thumbnail response callback.
Definition avrcp_cover_art.h:155
void(* abort)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
OBEX abort response callback.
Definition avrcp_cover_art.h:127
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.
Definition avrcp_cover_art.h:108
void(* get_image_properties)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
Get image properties response callback.
Definition avrcp_cover_art.h:136
void(* l2cap_connected)(struct bt_avrcp_ct *ct, struct bt_avrcp_cover_art_ct *cover_art_ct)
L2CAP connected callback.
Definition avrcp_cover_art.h:86
void(* get_image)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
Get image response callback.
Definition avrcp_cover_art.h:146
void(* disconnect)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf)
OBEX disconnect response callback.
Definition avrcp_cover_art.h:118
AVRCP Controller Cover Art structure.
Definition avrcp_cover_art.h:43
struct bt_avrcp_ct * ct
Associated AVRCP controller.
Definition avrcp_cover_art.h:49
struct bt_conn * conn
Bluetooth connection.
Definition avrcp_cover_art.h:51
struct bt_bip bip
Basic Image Profile instance.
Definition avrcp_cover_art.h:45
struct bt_bip_client client
BIP client instance.
Definition avrcp_cover_art.h:47
AVRCP Cover Art Target callback structure.
Definition avrcp_cover_art.h:165
void(* get_image_properties)(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf)
Get image properties request callback.
Definition avrcp_cover_art.h:219
void(* connect)(struct bt_avrcp_cover_art_tg *tg, uint8_t version, uint16_t mopl, struct net_buf *buf)
OBEX connect request callback.
Definition avrcp_cover_art.h:193
void(* l2cap_connected)(struct bt_avrcp_tg *tg, struct bt_avrcp_cover_art_tg *cover_art_tg)
L2CAP connected callback.
Definition avrcp_cover_art.h:174
void(* disconnect)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)
OBEX disconnect request callback.
Definition avrcp_cover_art.h:202
void(* get_linked_thumbnail)(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf)
Get linked thumbnail request callback.
Definition avrcp_cover_art.h:238
void(* abort)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)
OBEX abort request callback.
Definition avrcp_cover_art.h:210
void(* l2cap_disconnected)(struct bt_avrcp_cover_art_tg *tg)
L2CAP disconnected callback.
Definition avrcp_cover_art.h:183
void(* get_image)(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf)
Get image request callback.
Definition avrcp_cover_art.h:229
AVRCP Target Cover Art structure.
Definition avrcp_cover_art.h:60
struct bt_bip_server server
BIP server instance.
Definition avrcp_cover_art.h:64
struct bt_conn * conn
Bluetooth connection.
Definition avrcp_cover_art.h:68
struct bt_bip bip
Basic Image Profile instance.
Definition avrcp_cover_art.h:62
struct bt_avrcp_tg * tg
Associated AVRCP target.
Definition avrcp_cover_art.h:66
BIP client instance structure.
Definition bip.h:905
BIP server instance structure.
Definition bip.h:860
BIP instance structure.
Definition bip.h:386
Network buffer pool representation.
Definition net_buf.h:1079
Network buffer representation.
Definition net_buf.h:1006