12 ms·
So how do I deal with supporting both Android and iOS from a single Beacon?
by rodh257 12y ago
So how do I deal with supporting both Android and iOS from a single Beacon?
- csexton 12y agoI believe the easiest approach would be to broadcast both formats.
- alexeckermann 12y agoInterested to know how you intend to do that with all the advertising space already used up by one of the beacon advertisements?
- maxsilver 12y agoOne option is to alternatively switch between both broadcasts on a single radio. You broadcast a single iBeacon-only message, sleep for a few hundred miliseconds and then broadcast a new AltBeacon message. The beacon does this so quickly, that it's usually sending out two or three of both kind of messages every second. It's effectively an iBeacon + AltBeacon in one device.
- StarDestroyer 12y agoYou can use this example to send this example code on github to run multiple advertisers. (May be a bit of overkill to just send 2 kinds of beacons but does provide accurate timing control over the beacons). http://nordicsemiconductor.github.io/nRF51-multi-role-conn-observer-advertiser/ http://nordicsemiconductor.github.io/nRF51-multi-role-conn-o.... However it is really a waste of energy to send 2 types of beacon packets when one should suffice. However it is technically possible.