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

scanning sometimes stopped

nRF52, SDK15, S132

Hi! After few days work I have stop scan from my central device on the nRF52832.

I can't to understand reason of this. But I need to know is scanning run or no at this time when device is not connected. How to do it? How to check run scan or no at this time?

Parents Reply
  • Regarding second answer- when I call sd_ble_gap_connect, means that whitelist is already started? And at this case after each received advertise packet, I restart scan by call  sd_ble_gap_connect(). Correct?

    on_adv_report(&p_gap_evt->params.adv_report);

    But after connected, I need reinit whitelist by call scan_start();

    My question is - between received advertise packet, thw whitelist stored and enough just call sd_ble_gap_connect? But after connect I have to call whitelist init by call scan_start();

Children
Related