mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(ble_audio): Add CAP Handover (U2B & B2U) example
This commit is contained in:
@@ -102,7 +102,17 @@ esp_err_t esp_ble_audio_gattc_disc_start(uint16_t conn_handle);
|
||||
#define ESP_BLE_AUDIO_GAP_EVENT_ACL_DISCONNECT BT_LE_GAP_APP_EVENT_ACL_DISCONNECT
|
||||
/*!< Audio GAP Security Change event */
|
||||
#define ESP_BLE_AUDIO_GAP_EVENT_SECURITY_CHANGE BT_LE_GAP_APP_EVENT_SECURITY_CHANGE
|
||||
/** Audio GAP application event structure */
|
||||
/**
|
||||
* @brief Audio GAP application event structure
|
||||
*
|
||||
* @note Addresses carried by these events are in the **active host's own byte
|
||||
* order**: on-air/LSB-first under NimBLE, MSB-first under Bluedroid
|
||||
* (the order every `esp_ble_gap_*` API takes). Feeding one straight back
|
||||
* to a host API is therefore always correct; comparing one against an
|
||||
* address the audio layer holds, such as a Broadcast Receive State,
|
||||
* needs a reversal under Bluedroid. See `struct bt_le_addr` in
|
||||
* common/app/gap.h for the full convention.
|
||||
*/
|
||||
typedef struct bt_le_gap_app_event esp_ble_audio_gap_app_event_t;
|
||||
|
||||
/*!< Audio GATT MTU exchange complete event */
|
||||
|
||||
Reference in New Issue
Block a user