Hello
The scanner causes the code to freeze when a debugger is not connected.
We are developing a system where one of our units is to run on the nRF52832. During development of the application we ran in to a problem after porting to SDK15 from 14.2 (and also from SoftDevice 5.0.0 to 6.0.0.
We are advertising and scanning for advertising packet data in intervals less than a second, every five seconds. With the new SoftDevice API, and the possibility for longer advertising packets we need to "continue" the scanner after recieving an advertisement packet using sd_ble_gap_scan_start(NULL, adv_report_buffer). This is done by the ble_event_handler as shown below: