feat(ble/bluedroid): Add getter for BLE GAP callback

This commit is contained in:
Zeke Gustafson
2023-12-15 16:22:14 -06:00
committed by BOT
parent cdde05335e
commit 6bc5b0069f
2 changed files with 14 additions and 0 deletions
@@ -1489,6 +1489,15 @@ typedef void (* esp_gap_ble_cb_t)(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_p
*/
esp_err_t esp_ble_gap_register_callback(esp_gap_ble_cb_t callback);
/**
* @brief This function is called to get the current gap callback
*
* @return
* - esp_gap_ble_cb_t : callback function
*
*/
esp_gap_ble_cb_t esp_ble_gap_get_callback(void);
#if (BLE_42_FEATURE_SUPPORT == TRUE)
/**
* @brief This function is called to override the BTA default ADV parameters.