Question

I'm looking for a way to distinguish hardware devices via BTLE. I'm quite open to using any system (Estimote, Gimbal etc) but I need to find a way to identify a device before any handshake is given.

For example: If there are 20 BTLE enabled devices in an area, I would like to identify them uniquely ahead of any broadcast.

Was it helpful?

Solution

Standard iBeacons do exactly this. They advertise a unique three part identifier (Proximity UUID/major/minor) that requires no handshake to read. It is detectable on iOS, Android, Mac and Linux platforms. The three part identifier is sent in the clear in a BLE advertisement.

More detail on this advertisement format is available here: What is the iBeacon Bluetooth Profile

Shameless plug: my company makes beacons and services that work with any standard iBeacon and are interchangeable with other vendors' products that are also standard iBeacons. More information about our beacons and services is available here: http://www.radiusnetworks.com

OTHER TIPS

It sounds like you want to know ahead of time what UUID matches what hardware vendor, so if you see if you can say "Hey, it's Gimbal!" or "Hey, it's a Gelo!"

For the most part you can care less about the major and minor. You're most interested in the UUID. This would mean that you'd need to scan for all of these UUIDs and then look at the peripherals that CoreLocation ranged to see what product family it belonged to.

One problem with this is that some vendors use rotational UUID schemes to mitigate security risks related to beacon spoofing. This will pose a challenge to identify their hardware devices.

Another problem you may have is that it sounds like after you see the devices you want to stop listening (or scanning as a central) and then turn around and broadcast (as a peripheral). This would mean that you'd be routinely toggling back and forth between the two roles.

It isn't entirely clear what you're wanting to do, so hopefully to some extent this is helpful.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top