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

Beacon project guidance

Got the NRF6700 starter kit and a handful of nRF51822-beacons. Downloaded the DV environment and have read through the nRF51822 DK Users Guide (ver 1.4) and a handful of the the other documents. I have looked through the S110 and S120 examples.

My goal is to basically have one 51822 listen for advertisements from the other beacons, and then when it sees one (or more) within a certain range, raise the [assigned] I/O pin corresponding to each beacon to indicate the beacon's proximity.

I'm assuming that this would be easily (and best) done by putting S110 in the beacons and S120 in the observer (as opposed to trying to do it without SoftDevice). However, I'm not finding any documentation on the APIs, so as I look through the code, I don't really know what is required and what is not, what API calls are available or how to use them. I looked at the S110/S120 SoftDevice Spec files and they didn't have any API information. BlueTooth core didn't have anything about the the APIs that I could find (nor did I expect to find). Am I missing some documentation, or are all the APIs simply documented in the code?

So, the big question. Before I head down the wrong path in accomplishing my goal, is my description above about using SoftDevice that best approach? Any suggestions or help on how to make this a [less] painless experience?

One final question. I read that some of the beacons don't support S120, and I think mine don't. (They are N51882 CEAAD0 1402AT). Since I just bought these, how can I make sure that future purchases of the beacon kit will contain compatible versions of the 51822?

  • Your assumptions on softdevice and how to combine them is correct. Use the S120 in one as observer and then use the S110 in the beacon kits. Documentation on the API are available here: developer.nordicsemi.com/.../

    Have a look at the S120 and the S110 examples. You can also use a phone or table to make sure that the beacons are working. Search for "nrf" in play store or apple store.

    The beacon kits can be used as S120 observers, but they have to be re-programmed through the programming interface on the beacon kit. By default the beacons only support S110 and where made before it was possible to upgrade the softdevice across BLE.

Related