-
Hi, after struggling I was able to make the scanner working and now I wanted to grab the advertisement of some eddystone beacons. I thought that the returning AdvertisementData object when something is discovered included it but it doesn't seem so. For example this is an advertisement I received
I am 100% sure that the beacon is sending eddystone tlm packets but the only thing I am seeing is that one service data that it is too short to be it. Is there a way to see the data (even raw) received? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
What other data were you expecting? I see the service UUID and service data that is described at https://github.com/google/eddystone/blob/master/protocol-specification.md and the service data is 14 bytes as described at https://github.com/google/eddystone/blob/master/eddystone-tlm/tlm-plain.md. |
Beta Was this translation helpful? Give feedback.
Ok, I looked into beacontools library and the code below gives the correct values. I write it so if anyone land on the question has a complete answer.
with struct it is (in the end you only missed the
>
)