diff --git a/nimble/host/include/host/ble_hs_pvcy.h b/nimble/host/include/host/ble_hs_pvcy.h index 19087f220..52dcd914a 100644 --- a/nimble/host/include/host/ble_hs_pvcy.h +++ b/nimble/host/include/host/ble_hs_pvcy.h @@ -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 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;