どのハンドルに0100を書き込めばいいのかわからずに困っていた。こちらのサイトが参考になった
[E6:BF:6D:43:62:BE][LE]> primary attr handle: 0x0001, end grp handle: 0x0007 uuid: 00001800-0000-1000-8000-00805f9b34fb attr handle: 0x0008, end grp handle: 0x0008 uuid: 00001801-0000-1000-8000-00805f9b34fb attr handle: 0x0009, end grp handle: 0xffff uuid: eeddffff-ccbb-aa99-8877-665544332211 [E6:BF:6D:43:62:BE][LE]> char-read-uuid 0x2902 0x09 handle: 0x000e value: 00 00 [E6:BF:6D:43:62:BE][LE]> char-write-req 0x0e 0100 --listen Characteristic value was written successfully Notification handle = 0x000d value: ff 86 13 61 3a 00 00 00 cc Notification handle = 0x000d value: ff 86 13 61 3a 00 00 00 cc- primaryでハンドルを見つける。
- char-read-uuid 0x2902 見つけたハンドル
- char-write-req char-read-uuidで見つかったハンドル 0100 --listen
No comments yet