How to get handle for characteristic
hbldh opened this issue · comments
Henrik Blidh commented
Using a querying of board for handles in the uuid when writing Gatt request must be wrong.
Read BLE documentation and find out how to do it correctly.
Henrik Blidh commented
For pygatt
, one can use the get_handle
method on the BLEDevice class.
For gattlib
, I build a dictionary of handles using discover_primary
and discover_characteristic