I managed to use BLE to find the address and connect to it.
Now apparently I have to write to characteristic 0x0012 as in the gatttool example:
Code: Select all
[CON][00:22:D0:33:1E:0F][LE]> char-write-req 0x0012 0100
[CON][00:22:D0:33:1E:0F][LE]> Characteristic value was written successfully
but I never get anything after that.
at the moment I try this:
Code: Select all
self.p.gattc_write(self.conn_handle, 0x0012, bytearray([0x01, 0x00]), True)
How do I send 0100 to 0x0012 ?
I hope to oneday receive notifications from 0x0011