Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
avrcp_cover_art.h
Go to the documentation of this file.
1
4
5/*
6 * Copyright 2025-2026 NXP
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10
11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AVRCP_COVER_ART_H_
12#define ZEPHYR_INCLUDE_BLUETOOTH_AVRCP_COVER_ART_H_
13
20
21#include <stdint.h>
22
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
36struct bt_avrcp_ct;
41struct bt_avrcp_tg;
42
59
76
92 void (*l2cap_connected)(struct bt_avrcp_ct *ct, struct bt_avrcp_cover_art_ct *cover_art_ct);
93
102
114 void (*connect)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, uint8_t version,
115 uint16_t mopl, struct net_buf *buf);
116
124 void (*disconnect)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf);
125
133 void (*abort)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf);
134
143 struct net_buf *buf);
144
152 void (*get_image)(struct bt_avrcp_cover_art_ct *ct, uint8_t rsp_code, struct net_buf *buf);
153
162 struct net_buf *buf);
163};
164
180 void (*l2cap_connected)(struct bt_avrcp_tg *tg, struct bt_avrcp_cover_art_tg *cover_art_tg);
181
190
199 void (*connect)(struct bt_avrcp_cover_art_tg *tg, uint8_t version, uint16_t mopl,
200 struct net_buf *buf);
201
208 void (*disconnect)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf);
209
216 void (*abort)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf);
217
225 void (*get_image_properties)(struct bt_avrcp_cover_art_tg *tg, bool final,
226 struct net_buf *buf);
227
235 void (*get_image)(struct bt_avrcp_cover_art_tg *tg, bool final, struct net_buf *buf);
236
244 void (*get_linked_thumbnail)(struct bt_avrcp_cover_art_tg *tg, bool final,
245 struct net_buf *buf);
246};
247
255
263
273 struct bt_avrcp_cover_art_ct **cover_art_ct, uint16_t psm);
274
282
290
299 struct net_buf_pool *pool);
300
309 struct net_buf_pool *pool);
310
318
327
335
344
353
363 struct net_buf *buf);
364
374 struct net_buf *buf);
375
385 struct net_buf *buf);
386
396 struct net_buf *buf);
397
407 struct net_buf *buf);
408
418 struct net_buf *buf);
419
429 struct net_buf *buf);
430
431#ifdef __cplusplus
432}
433#endif
434
438
439#endif /* ZEPHYR_INCLUDE_BLUETOOTH_AVRCP_COVER_ART_H_ */
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:83
void(* l2cap_disconnected)(struct bt_avrcp_cover_art_ct *ct)
L2CAP disconnected callback.
Definition avrcp_cover_art.h:101
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:161
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:133
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:114
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:142
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:92
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:152
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:124
AVRCP Controller Cover Art structure.
Definition avrcp_cover_art.h:49
struct bt_avrcp_ct * ct
Associated AVRCP controller.
Definition avrcp_cover_art.h:55
struct bt_conn * conn
Bluetooth connection.
Definition avrcp_cover_art.h:57
struct bt_bip bip
Basic Image Profile instance.
Definition avrcp_cover_art.h:51
struct bt_bip_client client
BIP client instance.
Definition avrcp_cover_art.h:53
AVRCP Cover Art Target callback structure.
Definition avrcp_cover_art.h:171
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:225
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:199
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:180
void(* disconnect)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)
OBEX disconnect request callback.
Definition avrcp_cover_art.h:208
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:244
void(* abort)(struct bt_avrcp_cover_art_tg *tg, struct net_buf *buf)
OBEX abort request callback.
Definition avrcp_cover_art.h:216
void(* l2cap_disconnected)(struct bt_avrcp_cover_art_tg *tg)
L2CAP disconnected callback.
Definition avrcp_cover_art.h:189
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:235
AVRCP Target Cover Art structure.
Definition avrcp_cover_art.h:66
struct bt_bip_server server
BIP server instance.
Definition avrcp_cover_art.h:70
struct bt_conn * conn
Bluetooth connection.
Definition avrcp_cover_art.h:74
struct bt_bip bip
Basic Image Profile instance.
Definition avrcp_cover_art.h:68
struct bt_avrcp_tg * tg
Associated AVRCP target.
Definition avrcp_cover_art.h:72
AVRCP CT structure.
AVRCP TG structure.
BIP client instance structure.
Definition bip.h:905
BIP server instance structure.
Definition bip.h:860
BIP instance structure.
Definition bip.h:386
Opaque type representing a connection to a remote device.
Network buffer pool representation.
Definition net_buf.h:1088
Network buffer representation.
Definition net_buf.h:1015