This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Event handler at central device(scanning side)

Hi Nordic Team,

Please suggest when should the event handler for scanning at central device be called to scan all the peripheral devices which are advertising.

Please help as soon as possible.

Parents Reply Children
  • It depends on a lot of things Aswati,

    1. The scan window and the scan interval
    2. Advertising interval of the peer advertisers.
    3. At every BLE_GAP_EVT_ADV_REPORT received, there is some processing done in your application while the scanner is paused. After the processing of the particular ADV_REPORT is finished, the scanner is started again. During this time, when the scanner was paused there will be lot of advertising reports missing since the scanner was not sniffing at all.

    It normally helps to scan for longer times and start the scanner in the BLE_GAP_EVT_ADV_REPORT very fast. 

Related