You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, would it be possible to have some working observer examples? Like for example iBeacon listener?
.. the API & docs so far make implementing this by myself rather non-trivial..:)
The text was updated successfully, but these errors were encountered:
We hope to add some more detailed (and cleaner) examples in the future, but for a quick start, I suggest that you extend upon the existing Observer project.
All the application specific stuff for the timeslotted operation is contained in the observer/main.c file. This file implements a non-filtering advertisement observer, which reports all advertisements to the UART. The interesting part is going on at line 181, where the observer spins until it gets a scan report from the framework. In this project, the observer only extracts the event type, advertisement address and RSSI from the event, but the event also contains the entire payload from the advertisement, from which you could start extracting information like iBeacon messages. I'm afraid dissecting the payload of the advertisements is somewhat out of scope for the framework (at least for now), but you can take a look at this stackoverflow answer to get started on filtering iBeacon devices from others.
I'll leave this issue open until we've added some extra examples.
Hi, would it be possible to have some working observer examples? Like for example iBeacon listener?
.. the API & docs so far make implementing this by myself rather non-trivial..:)
The text was updated successfully, but these errors were encountered: