diff --git a/nimble/host/include/host/ble_hs_pvcy.h b/nimble/host/include/host/ble_hs_pvcy.h index 19087f220..49a8866ca 100644 --- a/nimble/host/include/host/ble_hs_pvcy.h +++ b/nimble/host/include/host/ble_hs_pvcy.h @@ -66,6 +66,8 @@ extern "C" { int ble_hs_pvcy_rpa_config(uint8_t enable); #endif +int ble_hs_pvcy_set_resolve_enabled(int enable); + #ifdef __cplusplus } #endif diff --git a/nimble/host/src/ble_hs_pvcy.c b/nimble/host/src/ble_hs_pvcy.c index 9e92c660f..158da9b60 100644 --- a/nimble/host/src/ble_hs_pvcy.c +++ b/nimble/host/src/ble_hs_pvcy.c @@ -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;