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

Switching between advertising and scanning in the same application

Hello,

In my code I would like to switch between BLE advertising and listening nearby devices (and save their RSSI) in the same code. After each advertising period, I would like the device to scan for a short amount of time (say 1s) and then switch back to advertising again. Is this possible with Nordic libraries? If so, how should I go about doing this? So far all I can do is RUN the existing ble_app_beacon that comes with the nRF51822 on the nRF51 DK development board (which I believe has the capability to do what I said).

Thanks

Related