google / eddystone

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

How to get major / minor values of beacon? #188

Closed tnavadiya closed 7 years ago

tnavadiya commented 7 years ago

Hello, I was had did similar code to find out beacon devices, but I am having multiple devices and all those can be identified by their UUID, major and minor values. Using this code I am not getting major / minor values, so is there any way to get major / minor values of beacons?

mashbridge commented 7 years ago

Which code are your referring to?

tnavadiya commented 7 years ago

I am using code from this URL: https://github.com/google/eddystone/tree/master/tools/ios-eddystone-scanner-sample

mashbridge commented 7 years ago

The Eddystone-UID frame type doesn't use major and minor values like iBeacon does. The UID frame type is a 16-byte identifier, split into a 10-byte namespace group and a 6-byte instance group.

tnavadiya commented 7 years ago

I will proceed based on this information. Thanks for your support.