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

View File

@@ -1502,6 +1502,17 @@ esp_err_t esp_ble_gap_periodic_adv_clear_dev(void)
== BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL);
}
esp_err_t esp_ble_gap_get_periodic_list_size(uint8_t *size)
{
if (size == NULL) {
return ESP_FAIL;
}
btc_get_periodic_list_size(size);
return ESP_OK;
}
#endif // #if (BLE_50_EXTEND_SYNC_EN == TRUE)
#if (BLE_50_EXTEND_SCAN_EN == TRUE)