|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Audio Video Remote Control Cover Art Profile (AVRCP-CA) More...
Data Structures | |
| struct | bt_avrcp_cover_art_ct |
| AVRCP Controller Cover Art structure. More... | |
| struct | bt_avrcp_cover_art_tg |
| AVRCP Target Cover Art structure. More... | |
| struct | bt_avrcp_cover_art_ct_cb |
| AVRCP Cover Art Controller callback structure. More... | |
| struct | bt_avrcp_cover_art_tg_cb |
| AVRCP Cover Art Target callback structure. More... | |
Functions | |
| int | bt_avrcp_cover_art_ct_cb_register (struct bt_avrcp_cover_art_ct_cb *cb) |
| Register AVRCP Cover Art Controller callbacks. | |
| 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_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_ct_l2cap_disconnect (struct bt_avrcp_cover_art_ct *ct) |
| Disconnect L2CAP channel for AVRCP Cover Art Controller. | |
| int | bt_avrcp_cover_art_tg_l2cap_disconnect (struct bt_avrcp_cover_art_tg *tg) |
| Disconnect L2CAP channel for AVRCP Cover Art Target. | |
| 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. | |
| 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_ct_connect (struct bt_avrcp_cover_art_ct *ct) |
| Send OBEX connect request. | |
| 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_disconnect (struct bt_avrcp_cover_art_ct *ct) |
| Send OBEX disconnect 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_abort (struct bt_avrcp_cover_art_ct *ct, struct net_buf *buf) |
| Send OBEX abort request. | |
| 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_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_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_get_image (struct bt_avrcp_cover_art_ct *ct, bool final, struct net_buf *buf) |
| Send get image 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_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_tg_get_linked_thumbnail (struct bt_avrcp_cover_art_tg *tg, uint8_t rsp_code, struct net_buf *buf) |
| Send get linked thumbnail response. | |
Audio Video Remote Control Cover Art Profile (AVRCP-CA)
| int bt_avrcp_cover_art_ct_abort | ( | struct bt_avrcp_cover_art_ct * | ct, |
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX abort request.
| ct | AVRCP Cover Art controller instance |
| buf | Request data buffer |
| int bt_avrcp_cover_art_ct_cb_register | ( | struct bt_avrcp_cover_art_ct_cb * | cb | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Register AVRCP Cover Art Controller callbacks.
| cb | Pointer to callback structure |
| int bt_avrcp_cover_art_ct_connect | ( | struct bt_avrcp_cover_art_ct * | ct | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX connect request.
| ct | AVRCP Cover Art controller instance |
| struct net_buf * bt_avrcp_cover_art_ct_create_pdu | ( | struct bt_avrcp_cover_art_ct * | ct, |
| struct net_buf_pool * | pool ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Create PDU buffer for AVRCP Cover Art Controller.
| ct | AVRCP Cover Art controller instance |
| pool | Buffer pool to allocate from |
| int bt_avrcp_cover_art_ct_disconnect | ( | struct bt_avrcp_cover_art_ct * | ct | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX disconnect request.
| ct | AVRCP Cover Art controller instance |
| int bt_avrcp_cover_art_ct_get_image | ( | struct bt_avrcp_cover_art_ct * | ct, |
| bool | final, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get image request.
| ct | AVRCP Cover Art controller instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer containing image descriptor |
| int bt_avrcp_cover_art_ct_get_image_properties | ( | struct bt_avrcp_cover_art_ct * | ct, |
| bool | final, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get image properties request.
| ct | AVRCP Cover Art controller instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer containing image handle |
| int bt_avrcp_cover_art_ct_get_linked_thumbnail | ( | struct bt_avrcp_cover_art_ct * | ct, |
| bool | final, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get linked thumbnail request.
| ct | AVRCP Cover Art controller instance |
| final | True if this is the final packet in the request |
| buf | Request data buffer containing image handle |
| 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 ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Connect L2CAP channel for AVRCP Cover Art Controller.
| ct | AVRCP controller instance |
| cover_art_ct | Pointer to store the created Cover Art controller instance |
| psm | Protocol Service Multiplexer for the L2CAP connection |
| int bt_avrcp_cover_art_ct_l2cap_disconnect | ( | struct bt_avrcp_cover_art_ct * | ct | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Disconnect L2CAP channel for AVRCP Cover Art Controller.
| ct | AVRCP Cover Art controller instance |
| int bt_avrcp_cover_art_tg_abort | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX abort response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| buf | Response data buffer |
| int bt_avrcp_cover_art_tg_cb_register | ( | struct bt_avrcp_cover_art_tg_cb * | cb | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Register AVRCP Cover Art target callbacks.
| cb | Pointer to callback structure |
| int bt_avrcp_cover_art_tg_connect | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX connect response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| struct net_buf * bt_avrcp_cover_art_tg_create_pdu | ( | struct bt_avrcp_cover_art_tg * | tg, |
| struct net_buf_pool * | pool ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Create PDU buffer for AVRCP Cover Art Target.
| tg | AVRCP Cover Art target instance |
| pool | Buffer pool to allocate from |
| int bt_avrcp_cover_art_tg_disconnect | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send OBEX disconnect response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| int bt_avrcp_cover_art_tg_get_image | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get image response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| buf | Response data buffer containing image data |
| int bt_avrcp_cover_art_tg_get_image_properties | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get image properties response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| buf | Response data buffer containing image properties |
| int bt_avrcp_cover_art_tg_get_linked_thumbnail | ( | struct bt_avrcp_cover_art_tg * | tg, |
| uint8_t | rsp_code, | ||
| struct net_buf * | buf ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Send get linked thumbnail response.
| tg | AVRCP Cover Art target instance |
| rsp_code | OBEX response code |
| buf | Response data buffer containing thumbnail data |
| int bt_avrcp_cover_art_tg_l2cap_disconnect | ( | struct bt_avrcp_cover_art_tg * | tg | ) |
#include <zephyr/bluetooth/classic/avrcp_cover_art.h>
Disconnect L2CAP channel for AVRCP Cover Art Target.
| tg | AVRCP Cover Art target instance |