feat(ble_audio): Add CAP Handover (U2B & B2U) example

This commit is contained in:
Liu Linyan
2026-09-02 15:00:16 +08:00
parent fbb0518b1a
commit bcc2981f25
47 changed files with 3749 additions and 120 deletions
@@ -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 */