Skip to content

Instantly share code, notes, and snippets.

@jes
Created June 3, 2023 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jes/34b7dd8fb1ec4737bb3950ce7f649dd6 to your computer and use it in GitHub Desktop.
Save jes/34b7dd8fb1ec4737bb3950ce7f649dd6 to your computer and use it in GitHub Desktop.
$ gatttool -b 34:85:18:03:01:0A -I
[34:85:18:03:01:0A][LE]> connect
Attempting to connect to 34:85:18:03:01:0A
Connection successful
[34:85:18:03:01:0A][LE]> characteristics
handle: 0x0002, char properties: 0x20, char value handle: 0x0003, uuid: 00002a05-0000-1000-8000-00805f9b34fb
handle: 0x0015, char properties: 0x02, char value handle: 0x0016, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0017, char properties: 0x02, char value handle: 0x0018, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0019, char properties: 0x02, char value handle: 0x001a, uuid: 00002aa6-0000-1000-8000-00805f9b34fb
handle: 0x0029, char properties: 0x3a, char value handle: 0x002a, uuid: f3091898-a3d2-4c59-bbee-b187c770a3d9
[34:85:18:03:01:0A][LE]> char-read-hnd 2a
Characteristic value/descriptor: 68 65 6c 6c 6f 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment