pygattlib
pygattlib copied to clipboard
Reading and Writting Data with UUID to multiple ble device using raspi
What I'm trying to do?
- I want to connect 25 ble sensors using 3 bluetooth adpeters(each supports about 11 ble devices) to a raspi. These BLE devices must be in sync with each other (UUID is provided in the documentation of sensor). I am not sure how to use handle for reading and writting data.
What I have done?
- I am able to occasionally connect to these sensors(i get "PyGattLib ERROR: connect error: Function not implemented (38)" error) and the use "read_by_uuid". Sometimes I get the following error: (gattlib.BTIOException: Channel or attrib disconnected).
What i want to do
- Write by uuid to the device(since i don't know handle)
Can someone help me to solve these errors and write with uuid?