michaellee8 / flutter_blue_beacon

A Flutter library that implements iBeacon and Eddystone scanning on top of flutter_blue.
https://pub.dartlang.org/packages/flutter_blue_beacon
MIT License
17 stars 12 forks source link

EID Eddystone Ephemeral ID is 1 byte shorten #1

Closed Zeruel92 closed 4 years ago

Zeruel92 commented 5 years ago

I'm using a bluetooth beacon with Eddystone EID and the ephemeralID result of 7 byte long instead of 8. Beacon is working with the producer app and google proximitybeaconApi.

I'm using the example code in this github.

The byte missing are the last (LSB)

Example: 33646c167be8f2 ephemeral id from flutter_blue_beacon 33646c167be8f2c7 true ephemeral id

michaellee8 commented 5 years ago

Maybe I made a bad decode, if you spot the place I made it wrong, can you kindly submit a PR for that?

Zeruel92 commented 5 years ago

Sure i've done a pull request with a fix, i tested with some eddystone eid beacons and it works

michaellee8 commented 4 years ago

Thank you so much