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

Eddystone receiver

Hello,

I need example code or guidance in how to receive eddystone advetising packets on the nRF52832.

In my project, I can send standard eddystone packets to a app on my phone and this works great. I have not been able to receive the same standard packets on a Nordic device. I do have 2 dev kits (PCA10040) which I am using to test the sending and receiving with. Both kits will work as a connectable beacon to nRF beacon for eddystone app on my phone. Where or what do I modify the eddystone to example to receive data only. I actually don't even want to connect to beacons.

Your help is greatly appreciated

Parents Reply Children
  • ble_gap_adv_data_t is used to supply advertising to the stack when starting advertising. You're interested in the data received from an advertiser when scanning, which is in the ble_gap_evt_adv_report_t struct. You should take a look at the nrf_ble_scan module, which deals with scanning and connecting (even though you're just interested in the scanning).

    Also note that the different softdevices have different header files, so be sure to look at the ble_gap.h file appropriate for the softdevice you're using.

    Finally, I believe this community is meant to deal with one question at the time and find the best answers, Stack Overflow-style rather than forum-style, so accepting an answer for all questions is appreciated, and perhaps creating new questions instead of adding to an old one, when you have a new problem. :-)

Related