mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-15 22:47:53 +00:00
Nimble: Expose API to clear all addresses in whitelist out of stack
This commit is contained in:
committed by
Abhinav Kudnar
parent
be1f0e7fb2
commit
c9e99ba094
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user