feat(ble/bluedroid): Support read periodic advertiser list size command

This commit is contained in:
zhanghaipeng
2025-03-04 15:34:40 +08:00
parent 64113b8e86
commit dcc26e3e4f
15 changed files with 133 additions and 3 deletions
@@ -2593,6 +2593,17 @@ esp_err_t esp_ble_gap_periodic_adv_remove_dev_from_list(esp_ble_addr_type_t addr
*/
esp_err_t esp_ble_gap_periodic_adv_clear_dev(void);
/**
* @brief Retrieve the capacity of the periodic advertiser list in the controller.
*
* @param[out] size: Pointer to a variable where the capacity of the periodic advertiser list will be stored.
*
* @return
* - ESP_OK : Success
* - Others : Failure
*/
esp_err_t esp_ble_gap_get_periodic_list_size(uint8_t *size);
/**
* @brief This function is used to set aux connection parameters
*
@@ -2611,7 +2622,6 @@ esp_err_t esp_ble_gap_prefer_ext_connect_params_set(esp_bd_addr_t addr,
const esp_ble_gap_conn_params_t *phy_1m_conn_params,
const esp_ble_gap_conn_params_t *phy_2m_conn_params,
const esp_ble_gap_conn_params_t *phy_coded_conn_params);
#endif //#if (BLE_50_FEATURE_SUPPORT == TRUE)
#if (BLE_FEAT_PERIODIC_ADV_SYNC_TRANSFER == TRUE)