You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to test read_write example with a bluetooth multimeter.
It works fine with gatttool : writing 0x0100 value to handle 0x015 make the device send data through notification handle 0x0014 :
[60:E8:5B:6E:A3:9D][LE]> connect
Attempting to connect to 60:E8:5B:6E:A3:9D
Connection successful
[60:E8:5B:6E:A3:9D][LE]> char-write-req 0x015 0100
Characteristic value was written successfully
Notification handle = 0x0014 value: d5 f0 00 0a 01 01 00 00 00 03 01 00 00 90 0d
So for handle 0x0015 I tried read_write with uuid 00002902-0000-1000-8000-00805f9b34fb, but get the following errors :
$ ./read_write 60:E8:5B:6E:A3:9D write 00002902-0000-1000-8000-00805f9b34fb 0x0100
Value to write: 0x100
gattlib_read_write: Error: Bluez v5.42+ does not expose Client Characteristic Configuration Descriptor through DBUS interface
gattlib_read_write: Could not find GATT Characteristic with UUID 0x2902. You might call the program with '--gatt-discovery'.
The return value of gattlib_write_char_by_uuid() is 2 (GATTLIB_NOT_FOUND) and my version of bluez is 5.53.
What I am doing wrong ?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to test read_write example with a bluetooth multimeter.
It works fine with gatttool : writing 0x0100 value to handle 0x015 make the device send data through notification handle 0x0014 :
Gatttool gives the table handle/uuid :
So for handle 0x0015 I tried read_write with uuid 00002902-0000-1000-8000-00805f9b34fb, but get the following errors :
The return value of gattlib_write_char_by_uuid() is 2 (GATTLIB_NOT_FOUND) and my version of bluez is 5.53.
What I am doing wrong ?
The text was updated successfully, but these errors were encountered: