Reputation: 21
I have a gimbal beacon. How can i receive data which the gimbal data is advertising? I dont want to configure the gimbal to iBeacon mode. which app should i download for receiving the data from the gimbal beacon.
Upvotes: 0
Views: 752
Reputation: 64941
Unfortunately, you cannot directly access data in Gimbal advertisements because the advertising payload is encrypted. This makes it impossible to read the beacon identifiers without using the Gimbal SDK (or hacking its encryption algorithm).
It is possible to detect a gimbal beacon in code, although you will not be able to read its identifiers. This means you would know that a gimbal beacon is nearby, but not which one. An example of code that does this is in the Android iBeacon Library's Java code here:
if (((int)scanData[startByte] & 0xff) == 0xad &&
((int)scanData[startByte+1] & 0xff) == 0x77 &&
((int)scanData[startByte+2] & 0xff) == 0x00 &&
((int)scanData[startByte+3] & 0xff) == 0xc6) {
if (IBeaconManager.LOG_DEBUG) Log.d(TAG, "This is a proprietary Gimbal beacon advertisement that does not meet the iBeacon standard. Identifiers cannot be read.");
...
}
You can use the Android iBeacon Locate app to see these advertisements. The Gimbal beacons will show up with identifiers that are all zero. The same is not possible on iOS, because iOS does not allow reading arbitrary Bluetooth LE advertisement data.
I do not believe it is possible for general purpose apps to show you data from all Gimbal beacons even using its proprietary SDK because the viusible beacons must be tied to an individual account.
Upvotes: 1