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

How to scan for beacon data in nrf51-dk

Hi,

I am new to nrf51-dk and I am using nRF5 SDK v11.0.0 and S130. I wanted to perform the task below.

  • I have a couple of nRF Beacons and want to program one of it so that it scans for iBeacon packets from any advertiser (let it be another nrF beacon or my iPhone).
  • If the scanned packets match the predefined data in program(UUID, major and minor values), i need to turn on Onboard LED.

Most of the example programs i found shows how to advertise and scan in the same board simultaneously. For my case, i just need the scanning function. Also, most of the programs uses interrupts and ble events. Can't i use 1 simple function to read the scanned data?

Is there any online program or tutorials or reference where i can learn to do this? It's quite urgent and it would be of great help if anyone can help me.

Thank You :)

Related