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

Unable to see characteristic information or read characteristics #31

Open
tslater opened this issue Jan 26, 2017 · 3 comments
Open

Unable to see characteristic information or read characteristics #31

tslater opened this issue Jan 26, 2017 · 3 comments

Comments

@tslater
Copy link

tslater commented Jan 26, 2017

First off, awesome job!
I got connected without too much trouble!

The only issue is that I don't seem to get any information on characteristics. I'm running on android.

screen shot 2017-01-25 at 10 30 41 pm

@tslater
Copy link
Author

tslater commented Jan 26, 2017

You know what? I think it's returning my characteristics as services.

@vabalasu
Copy link

vabalasu commented May 3, 2017

I've seen this too. The only way to get characteristics is to search for them by UUID. The "discoverAll" or "discover()" functions always return a zero-length array.

Additionally, standard GATT characteristics and services don't seem to be recognized by their short UUID's. Only 128-bit UUIDs work.

These problems appear to be Android only (I'm running Android 7.0), while iOS works fine.

@nielsswinkels
Copy link

In the linked issue a different solution is found: set the minimum sdk to 21 for android.

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

3 participants