Hello,
We use the nRF52832 with SD 17.2.0, Bluetooth LE.
We observe an error when doing the following sequence:
- Build a bonded connection using the nRF Connect app.
- Trigger a disconnect.
- Trigger non-whitelisted advertising (via a button press but that should not matter) using the function
err_code = ble_advertising_restart_without_whitelist(&m_advertising);
The disconnect triggers the advertising with whitelist while the non-whitelisted advertising is triggered at the same time and then the following error appears in the logs:
[00:02:15.000,000] <error> app: ERROR 7 [NRF_ERROR_INVALID_PARAM] at :0
PC at: 0x00000000
[00:02:15.000,000] <error> app: End of error report
[00:02:15.000,000] <warning> app: System reset
It also happens when triggering advertising wih the whitelist upon button press:
ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
How can we prevent this to happen?