Closed kenh-sq closed 5 months ago
BLE_HS_DBG_ASSERT(ble_hs_locked_by_cur_task()); is getting hit within the call to ble_hs_id_addr() from ble_hs_pvcy_set_default_irk().
BLE_HS_DBG_ASSERT(ble_hs_locked_by_cur_task());
ble_hs_id_addr()
ble_hs_pvcy_set_default_irk()
Wrapping the ble_hs_id_addr() call with the respective ble_hs_lock()/ble_hs_unlock() might be all that's needed?
ble_hs_lock()/ble_hs_unlock()
Hi @kenh-sq ,
Recently a fix was made around this here . I think this should resolve the issue for you .
Closing this issue. Please feel free to reopen if issue still persists.
BLE_HS_DBG_ASSERT(ble_hs_locked_by_cur_task());
is getting hit within the call toble_hs_id_addr()
fromble_hs_pvcy_set_default_irk()
.Wrapping the
ble_hs_id_addr()
call with the respectiveble_hs_lock()/ble_hs_unlock()
might be all that's needed?