pszklarska / beacon_broadcast

A Flutter plugin for turning your device into a beacon.
https://pub.dartlang.org/packages/beacon_broadcast/
MIT License
81 stars 33 forks source link

Noob Question - Broadcasting Eddystone UID #24

Closed jagsus closed 3 years ago

jagsus commented 3 years ago

Heyo,

I have to advertise as Eddystone UID. Is this possible using this library? (Please excuse the noob question. I just starting reading into this beacon topic yesterday)

Regards, Lars

jagsus commented 3 years ago

By now I have found that by setting the Layout, I should be able to broadcast as Eddystone UID (.setLayout('s:0-1=feaa,m:2-2=10,p:3-3:-41,i:4-21v')). Now, I need to set the Namespace ID and Instance ID. Is this possible?

Regards, Lars

jagsus commented 3 years ago

Turns out Eddystone UID is currently unusable. The Beacon.Builder always sets three IDs, while Eddystone UID only needs two. This results in an Error.