mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-25 15:03:31 +00:00
Added change to expose addr resolution API outside stack
This commit is contained in:
@@ -64,6 +64,8 @@ extern "C" {
|
||||
* return appropriate error code otherwise
|
||||
*/
|
||||
int ble_hs_pvcy_rpa_config(uint8_t enable);
|
||||
|
||||
int ble_hs_pvcy_set_resolve_enabled(int enable);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -54,7 +54,7 @@ ble_hs_pvcy_set_addr_timeout(uint16_t timeout)
|
||||
}
|
||||
|
||||
#if (!MYNEWT_VAL(BLE_HOST_BASED_PRIVACY))
|
||||
static int
|
||||
int
|
||||
ble_hs_pvcy_set_resolve_enabled(int enable)
|
||||
{
|
||||
struct ble_hci_le_set_addr_res_en_cp cmd;
|
||||
|
||||
Reference in New Issue
Block a user