Closed AK51 closed 3 years ago
For my particular BLE device chName = AssignedNumbers.getCommonName(ch,uuid) For "Battery Level", I can see chName is "Battery Level" However, for the data I want to change, chName is None... How can I write the data inside? Thx
I can get the search working by
if (str(ch) == "Characteristic
Thanks.
ch.write(b'\x04\x00') I got it. :>
Hi, I am new to the bluepy and still reading the document. I typed "sudo python3 btle.py XX:XX:XX:XX:XX:XX" and I can see my BLE device, but the btle.py is long, do I just type my code in the main? Is there any example of writing 2 bytes?
Thanks, Andy