google / eddystone

Specification for Eddystone, an open beacon format from Google
Apache License 2.0
3.07k stars 761 forks source link

Can you give an example for the statement you make in the introduction #232

Closed Gerriko closed 6 years ago

Gerriko commented 6 years ago

In the introduction Readme documentation, it states "... several different frame types that may be used individually or in combinations to create beacons that can be used for a variety of applications."

I could not find anywhere in the readme documentation or any example demonstrating how to create combinations of frame types. Please, could someone add this to readme or add an example, or explain by way of reply to this query.

Gerriko commented 6 years ago

I have read in this article on the mbed website that to handle combinations you "swap them out periodically". Nowhere in the readme or the eddystone specification is this noted/explained. Please, could someone elaborate for documentation purposes.

https://os.mbed.com/teams/Bluetooth-Low-Energy/code/BLE_EddystoneBeacon_Service/

mashbridge commented 6 years ago

The Eddystone docs here define several different frame types. How to interleave frame types in a beacon depends on the hardware you're using and isn't a part of this specification.

Which hardware are you using? If it's Nordic-based, they have open sourced a reference implementation that includes interleaved frames: https://github.com/NordicSemiconductor/nrf5-sdk-for-eddystone

Gerriko commented 6 years ago

Thanks for the feedback. Yes, I discovered how to implement, via the mbed example.

It may seem obvious to others, but it had never dawned on me that combinations of frame types mean interleaving. (my initial assumption based on the word combination, or combine, meant that you somehow joined the data/frame types)

Hence, if the phrase... "To handle combinations you interleave frame types" (or something to that effect) was added and optionally "Determining how to interleave frame types depends on your hardware", then this (in my opinion) is all that is needed to succinctly explain the concept of combinations.