Tuesday, 5 August 2014

Beacon Scanner and Logger App Now Uses AltBeacon Library from Radius Networks

I've updated the Beacon Scanner app so that it now uses the AltBeacon library from Radius Networks and removed any references to the iBeacon specific library previously used.

The app itself is currently still iBeacon specific, but AltBeacon support (and hopefully Gimbal Series 10 support) will be added shortly. Update - here's a section of one of the output files generated by the app that shows both an AltBeacon (actually a virtual AltBeacon) and an iBeacon being detected:

42 UUID: 00000000-0000-0000-0000-000000000000 Maj. Mnr.: 1-1 RSSI: -68 Proximity: Near Power: -59
43 UUID: 52414449-5553-4e45-5457-4f524b53434f Maj. Mnr.: 0-0 RSSI: -54 Proximity: Immediate Power: -59
44 UUID: 52414449-5553-4e45-5457-4f524b53434f Maj. Mnr.: 0-0 RSSI: -44 Proximity: Immediate Power: -59
45 UUID: 00000000-0000-0000-0000-000000000000 Maj. Mnr.: 1-1 RSSI: -70 Proximity: Near Power: -59
46 UUID: 52414449-5553-4e45-5457-4f524b53434f Maj. Mnr.: 0-0 RSSI: -42 Proximity: Immediate Power: -59
47 UUID: 52414449-5553-4e45-5457-4f524b53434f Maj. Mnr.: 0-0 RSSI: -52 Proximity: Immediate Power: -59
48 UUID: 00000000-0000-0000-0000-000000000000 Maj. Mnr.: 1-1 RSSI: -73 Proximity: Near Power: -59
49 UUID: 00000000-0000-0000-0000-000000000000 Maj. Mnr.: 1-1 RSSI: -55 Proximity: Near Power: -59
50 UUID: 52414449-5553-4e45-5457-4f524b53434f Maj. Mnr.: 0-0 RSSI: -55 Proximity: Immediate Power: -59

Entries showing the UUID constructed entirely of zeroes correspond to the AltBeacon.

Support for the Gimbal device is next on the list, though judging by this question on Stack Overflow from David G Young, that could be tricky.

Source code is available now on github, as is an apt file; note the repository name has changed to remove reference to "iBeacon". Some refactoring is needed, but I wanted to share the work in progress version in case it proves useful to anyone now.

I'll update the app on Google Play once I've tidied up the code, I'm planning to add background scanning support too but this may have to wait for a subsequent release.
Post a Comment