How to programmatically scan nearby AltBeacons

How to programmatically scan nearby AltBeacons



I am currently exploring retail advertising options. I am interested in AltBeacon as it is an open standard. I have a basic question, if someone can answer



How to programmatically scan nearby AltBeacons in both (i) central iOS and (ii) central Android devices, and programmatically parse or get RSSI/signal strength, UUID, major ID, minor ID and RSSI at 1 meter? It seems that, Locate App is successfully doing that




1 Answer
1



For Android, the Android Beacon Library does exactly what you say with its accompanying reference app. It sets up a wildcard beacon Region to match all AltBeacon instances, and print out how many it sees. The identifiers and other beacon fields are not printed out, but this can be easily added to RangingActivity.java with beacon.getId1(), beacon.getId2(), beacon.getId3(). For the RSSI at one meter, use beacon.getTxPower().



The iOS Beacon Tools repo provides equivalent functionality for reading AltBeacon on that platform. The README provides examples on how to read the same fields as described above.





How to get the actual RSSI/signal strength which is different from RSSI at one meter?
– Simon S
Aug 29 at 3:19





beacon.getRssi()
– davidgyoung
Aug 29 at 4:15






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)