root@armadillo:~# export TARGET_BLE=D1:5A:3C:9E:7D:CD root@armadillo:~# gatttool -I -b $TARGET_BLE -t random [D1:5A:3C:9E:7D:CD][LE]> connect Attempting to connect to D1:5A:3C:9E:7D:CD Connection successful [D1:5A:3C:9E:7D:CD][LE]> primary attr handle: 0x0001, end grp handle: 0x0009 uuid: 00001800-0000-1000-8000-00805f9b34fb attr handle: 0x000a, end grp handle: 0x000a uuid: 00001801-0000-1000-8000-00805f9b34fb attr handle: 0x000b, end grp handle: 0x000e uuid: 0000180f-0000-1000-8000-00805f9b34fb attr handle: 0x000f, end grp handle: 0x001d uuid: 0000fee0-0000-1000-8000-00805f9b34fb attr handle: 0x001e, end grp handle: 0xffff uuid: 00001530-1212-efde-1523-785feabcd123 [D1:5A:3C:9E:7D:CD][LE]> char-desc handle: 0x0001, uuid: 00002800-0000-1000-8000-00805f9b34fb handle: 0x0002, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb handle: 0x0004, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb handle: 0x0006, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0007, uuid: 00002a04-0000-1000-8000-00805f9b34fb handle: 0x0008, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0009, uuid: 00002aa6-0000-1000-8000-00805f9b34fb handle: 0x000a, uuid: 00002800-0000-1000-8000-00805f9b34fb handle: 0x000b, uuid: 00002800-0000-1000-8000-00805f9b34fb handle: 0x000c, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x000d, uuid: 00002a19-0000-1000-8000-00805f9b34fb handle: 0x000e, uuid: 00002902-0000-1000-8000-00805f9b34fb handle: 0x000f, uuid: 00002800-0000-1000-8000-00805f9b34fb handle: 0x0010, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0011, uuid: 0000fee0-0000-1000-8000-00805f9b34fb handle: 0x0012, uuid: 00002902-0000-1000-8000-00805f9b34fb handle: 0x0013, uuid: 00002901-0000-1000-8000-00805f9b34fb handle: 0x0014, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0015, uuid: 0000fee1-0000-1000-8000-00805f9b34fb handle: 0x0016, uuid: 00002901-0000-1000-8000-00805f9b34fb handle: 0x0017, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0018, uuid: 0000fee2-0000-1000-8000-00805f9b34fb handle: 0x0019, uuid: 00002902-0000-1000-8000-00805f9b34fb handle: 0x001a, uuid: 00002901-0000-1000-8000-00805f9b34fb handle: 0x001b, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x001c, uuid: 0000fee3-0000-1000-8000-00805f9b34fb handle: 0x001d, uuid: 00002901-0000-1000-8000-00805f9b34fb handle: 0x001e, uuid: 00002800-0000-1000-8000-00805f9b34fb handle: 0x001f, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0020, uuid: 00001532-1212-efde-1523-785feabcd123 handle: 0x0021, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0022, uuid: 00001531-1212-efde-1523-785feabcd123 handle: 0x0023, uuid: 00002902-0000-1000-8000-00805f9b34fb handle: 0x0024, uuid: 00002803-0000-1000-8000-00805f9b34fb handle: 0x0025, uuid: 00001534-1212-efde-1523-785feabcd123 [D1:5A:3C:9E:7D:CD][LE]> char-read-hnd 0x0012 Characteristic value/descriptor: 00 00 [D1:5A:3C:9E:7D:CD][LE]> char-write-req 0x0012 0100 Characteristic value was written successfully 0 Notification handle = 0x0011 value: ff 55 0b 01 06 00 07 11 64 06 00 00 01 01 030405060708090A0B][LE]> char-write-cmd 0x0015 FF551101070030000001020 ★FF55・・・0A0Bまでの20byteのPayload Notification handle = 0x0011 value: 41 54 2b 4d 46 47 0d 0a 030405060708090A0B0C0D0E0F10111213141516170015 FF551D0107002000000102   ★FF55・・・1617までの32byteのPayload 000001:3C:9E:7D:CD][LE]> char-write-cmd 0x0015 FF550B01070012000000000 Notification handle = 0x0011 value: ff 55 05 01 07 00 11 40 c5 fa b1 fa aa 7d 8f 43 000001:3C:9E:7D:CD][LE]> char-write-cmd 0x0015 FF550B01070012000000000          000001:3C:9E:7D:CD][LE]> char-write-cmd 0x0015 FF550B01070012000000000         ★Remote DeviceからArmadillo方向のNotification長の試験 Notification handle = 0x0011 value: ff 55 45 01 07 00 12 81 44 00 00 00 00 00 00 aa 03 00 00 05 Notification handle = 0x0011 value: a8 05 00 00 a8 05 00 00 29 5c f4 ff 00 00 00 00 ab 00 00 00 Notification handle = 0x0011 value: 00 00 00 ac 00 00 01 00 00 00 00 bb 11 00 11 00 00 00 00 cc Notification handle = 0x0011 value: 00 00 00 00 dd 00 00 00 34 12 00 00 [D1:5A:3C:9E:7D:CD][LE]>