BLEMeshChat icon indicating copy to clipboard operation
BLEMeshChat copied to clipboard

I/BLEPeripheral﹕ Unable to access Bluetooth LE Advertiser. Device not supported

Open AlexBravo opened this issue 11 years ago • 9 comments

I get this error when running on Nexus 5 with Lollipop (lpx13d image).

It looks like Lollipop has a bug in mBTAdapter.getBluetoothLeAdvertiser() https://code.google.com/p/android/issues/detail?id=77827 Proper bug: https://code.google.com/p/android-developer-preview/issues/detail?id=1570

Do you have your code running on Nexus 7 by any chance?

AlexBravo avatar Oct 21 '14 16:10 AlexBravo

We noticed the same thing and had to roll back to the preview for now... Hopefully it isn't an intentional bug!

chrisballinger avatar Oct 21 '14 16:10 chrisballinger

Have you tried running on Nexus 7 by any chance?

AlexBravo avatar Oct 21 '14 17:10 AlexBravo

I only have access to the 2012 N7 which apparently isn't certified for Bluetooth 4.0. I supposer I could test it with CyanogenMod...

Please tell all your buddies to star that issue. It's really frightening.

OnlyInAmerica avatar Oct 21 '14 18:10 OnlyInAmerica

I already did. Hopefully it's just a bug and not a limitation of BLE chipset in N5.

AlexBravo avatar Oct 21 '14 19:10 AlexBravo

Considering it worked just fine in the preview, I wouldn't consider it a limitation of the N5 BLE hardware because we know it works

On Tue, Oct 21, 2014 at 12:03 PM, Alex Bravo [email protected] wrote:

I already did. Hopefully it's just a bug and not a limitation of BLE chipset in N5.

— Reply to this email directly or view it on GitHub https://github.com/OnlyInAmerica/BLEMeshChat/issues/1#issuecomment-59980283 .

chrisballinger avatar Oct 21 '14 19:10 chrisballinger

I said that because I see sometimes Advertising failed with code 5 or 4. 4 means ADVERTISE_FAILED_INTERNAL_ERROR 5 means ADVERTISE_FAILED_FEATURE_UNSUPPORTED

Restarting the phone fixes this problem.

AlexBravo avatar Oct 21 '14 22:10 AlexBravo

@AlexBravo That meaning you've gotten advertising to apparently work on your Nexus 5 running lpx13d? Really appreciate the feedback.

OnlyInAmerica avatar Oct 22 '14 00:10 OnlyInAmerica

Nope, I had to revert to Preview API 20 too.

AlexBravo avatar Oct 22 '14 04:10 AlexBravo

Hello. please let me know. How will it work. I run it on my 2 devices. but messages are not send and recieve.

richshruti avatar Feb 07 '17 11:02 richshruti