component/bt: add clear white list API

This commit is contained in:
zhiweijian
2020-05-21 11:33:51 +08:00
parent 4e70efac64
commit 6d593eb6fc
12 changed files with 79 additions and 0 deletions
@@ -977,6 +977,16 @@ esp_err_t esp_ble_gap_config_local_icon (uint16_t icon);
*/
esp_err_t esp_ble_gap_update_whitelist(bool add_remove, esp_bd_addr_t remote_bda, esp_ble_wl_addr_type_t wl_addr_type);
/**
* @brief Clear all white list
*
* @return
* - ESP_OK : success
* - other : failed
*
*/
esp_err_t esp_ble_gap_clear_whitelist(void);
/**
* @brief Get the whitelist size in the controller
*