Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlexBravo opened this issue Oct 21, 2014 · 9 comments

Comments

@AlexBravo
Copy link

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?

@chrisballinger
Copy link

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

@AlexBravo
Copy link
Author

Have you tried running on Nexus 7 by any chance?

@OnlyInAmerica
Copy link
Owner

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.

@AlexBravo
Copy link
Author

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

@chrisballinger
Copy link

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
#1 (comment)
.

@AlexBravo
Copy link
Author

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.

@OnlyInAmerica
Copy link
Owner

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

@AlexBravo
Copy link
Author

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

@richshruti
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants