beacons-android icon indicating copy to clipboard operation
beacons-android copied to clipboard

Raspberry pi 3 with AndroidThing support

Open mrfrederico-ist opened this issue 7 years ago • 2 comments

@adriancretu It is possible to add support for Raspberry pi 3 with Android Things installed?

mrfrederico-ist avatar May 28 '17 15:05 mrfrederico-ist

The AdvertisersManager class currently checks if multiple advertisement is supported, and it's not supported on the RPI3. I tried removing that check and the advertising seems to work fine. Not sure about any other features that require the multiple advertisement support. Maybe this could be an optional requirement?

darius-janusauskas avatar May 22 '18 05:05 darius-janusauskas

The Android framework will call isMultipleAdvertisementsSupported internally as well, so if you think you get away with commenting out that check you'd be disappointed. That call gets forwarded to the native BLE stack and should be implemented (if possible) by the vendor, otherwise there will not be any BLE advertisements available. The library just conveniently does the call to prevent future attempts that are known to fail, and to give the app a reason to inform the user of BLE peripheral mode unaivailability.

adriancretu avatar May 24 '18 02:05 adriancretu