Open jbaldwinroberts opened 8 years ago
You are mistaken as to what those additional characteristics are. The uuids that begin with 000028xx are characteristic "declarations" as seen here: gatt declaration spec, and the uuids that begin with 000029xx are descriptors as seen here: gatt descriptor spec. They are not the characteristics itself, but describe details about one of the characteristics.
Per the bluepy documentation here. Bluepy does not currently support descriptors.
What it means? Is it possible to write '\x01\x00' to
handle: 0x001e, uuid: 00002902-0000-1000-8000-00805f9b34fb
or not with bluepy?
This is a real issue for some devices based on notifications.
I am using the bluepy library to communicate with a bluetooth device but it is not showing me all the characteristics.
When I run the following using gatttool I get:
But when I run the following using Bluepy I get:
I need to be able to write '\x01\x00' to characteristic:
followed by writing '\x01\x04' to characteristic:
but I am unable to because Bluepy is not finding the characteristic:
Why is this?
How can I write to the characteristic when Bluepy does not find it?
Why do the handles returned by Bluepy not match those returned by gatttool?
Thanks
(stack overflow link http://stackoverflow.com/questions/37880453/bluetooth-bluepy-not-finding-all-characteristics)