feat(ble_audio): Miscellaneous update for BLE ISO & BLE Audio safe calling

This commit is contained in:
Liu Linyan
2026-09-07 10:03:17 +08:00
parent bd3a907c0e
commit bb9390d2d0
62 changed files with 2339 additions and 1305 deletions
@@ -370,8 +370,10 @@ esp_err_t esp_ble_audio_tbs_set_uri_scheme_list(uint8_t bearer_index, const char
* @brief Register the callbacks for TBS.
*
* @param cbs Pointer to the callback structure.
*
* @return ESP_OK on success, or an error code on failure.
*/
void esp_ble_audio_tbs_register_cb(esp_ble_audio_tbs_cb_t *cbs);
esp_err_t esp_ble_audio_tbs_register_cb(esp_ble_audio_tbs_cb_t *cbs);
/**
* @brief Register a Telephone Bearer.
@@ -69,8 +69,10 @@ esp_err_t esp_ble_audio_tmap_discover(uint16_t conn_handle,
* Previously registered value will be overwritten.
*
* @param role TMAP role(s).
*
* @return ESP_OK on success, or an error code on failure.
*/
void esp_ble_audio_tmap_set_role(esp_ble_audio_tmap_role_t role);
esp_err_t esp_ble_audio_tmap_set_role(esp_ble_audio_tmap_role_t role);
#ifdef __cplusplus
}