I'm writing an Android app, and can scan and connect to the keyfob. But when it lists the GATT services provided, the button service doesn't seem to be present.
How can I read the button events from the fob in Android?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm writing an Android app, and can scan and connect to the keyfob. But when it lists the GATT services provided, the button service doesn't seem to be present.
How can I read the button events from the fob in Android?
It is still not clear to me. Should the button read characteristics be ennumerated in the discovery process? This does not seem to be working for me. Additionally, all Android properties use 128 bit UUIDs, how do I convert the 16 bit handles to 128 bit UUIDs?
You guys need to ship some sample Android code, this is too hard to use as is.
Have you tried adding the SmartGATTLib to your android project:
http://processors.wiki.ti.com/index.php/CC254X_Smart_Phone_Examples