If I have started scan, and want to restart scan again with a new scan_init(); I got an exeption.
With my same ticket I understood, I can't change "update the identities" during the scan or advertising.
Ok, I don't advertise, I just scanning.
And I made
nrf_ble_scan_stop();
scan_init();
nrf_ble_scan_start();
during the scanning. I need to run scanning with another settings of whitelist.
And I got an exception.
What I did wrong? I have stopped scanning, reinit whielist and run it again.