Closed NSLog0 closed 6 years ago
About the notifications: it's all binary, like here [1]. You cannot just print it and expect something readable. Example of parsing it [2]. Another pair (spec & code) for speed & cadence [3] [4]. The examples might not work with python3 due to different handling of strings/bytes!
[1] https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.heart_rate_measurement.xml [2] https://github.com/PrzemoF/Open-Cycling-Computer/blob/master/code/src/ble_hr.py#L147 [3] https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.csc_measurement.xml [4] https://github.com/PrzemoF/Open-Cycling-Computer/blob/master/code/src/ble_sc.py#L164
Thank your for your answer very helpful especially the 3rd . Anyway, I've done with how to get a data already and it's in the phrase for design classes and application structure
Hi, i'm a new with bluepy and BLE by python. I want to share my experience in 2 days of work with bluepy and request about update Docs
I found some method not written in the Docs and Docs are unclear. I tried to retrieve data from service and characteristics like
with code
which I complete its by open stackoverflow, finally I got
still not clear with ��R��R��S �
It would be nice if you can update Docs , more example and usecase