Nimble: Expose API to clear all addresses in whitelist out of stack

This commit is contained in:
Rahul Tank
2024-02-20 11:18:11 +05:30
committed by Abhinav Kudnar
parent be1f0e7fb2
commit c9e99ba094
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -2037,6 +2037,13 @@ int ble_gap_wl_set(const ble_addr_t *addrs, uint8_t white_list_count);
*/
int ble_gap_wl_tx_rmv(const ble_addr_t *addrs);
/**
* Clears all addresses from controller's white list.
*
* @return 0 on success; nonzero on failure.
*/
int ble_gap_wl_tx_clear(void);
/**
* Initiates a connection parameter update procedure.
*
+1 -1
View File
@@ -2465,7 +2465,7 @@ ble_gap_wl_tx_add(const ble_addr_t *addr)
&cmd, sizeof(cmd), NULL, 0);
}
static int
int
ble_gap_wl_tx_clear(void)
{
return ble_hs_hci_cmd_tx(BLE_HCI_OP(BLE_HCI_OGF_LE,