Skip to content

Instantly share code, notes, and snippets.

@mattsson
Created November 1, 2016 09:26
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 mattsson/2da888db72b502fdc36f2b2897777d13 to your computer and use it in GitHub Desktop.
Save mattsson/2da888db72b502fdc36f2b2897777d13 to your computer and use it in GitHub Desktop.
^Cpi@raspberrypi:~/bleno-onindicate-bug/Node Project $ sudo hcidump -t -x
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff
2016-11-01 09:25:51.901378 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0xfffffbff07f8bf3d
2016-11-01 09:25:51.901994 > HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 1
status 0x00
2016-11-01 09:25:51.902027 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0x1f00000000000000 (Reserved)
2016-11-01 09:25:51.902537 > HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 1
status 0x00
2016-11-01 09:25:51.902562 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2016-11-01 09:25:51.903029 > HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 1
status 0x00
HCI Version: 4.1 (0x7) HCI Revision: 0xb6
LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
Manufacturer: Broadcom Corporation (15)
2016-11-01 09:25:51.903058 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
01 00
2016-11-01 09:25:51.903448 > HCI Event: Command Complete (0x0e) plen 4
Write LE Host Supported (0x03|0x006d) ncmd 1
00
2016-11-01 09:25:51.903494 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2016-11-01 09:25:51.903866 > HCI Event: Command Complete (0x0e) plen 6
Read LE Host Supported (0x03|0x006c) ncmd 1
00 01 00
2016-11-01 09:25:51.904033 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2016-11-01 09:25:51.904522 > HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 1
status 0x00 bdaddr B8:27:EB:8C:8B:7C
2016-11-01 09:25:51.914763 < HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
00
2016-11-01 09:25:51.915159 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertise Enable (0x08|0x000a) ncmd 1
status 0x0c
Error: Command Disallowed
2016-11-01 09:25:51.915842 < HCI Command: LE Set Advertising Parameters (0x08|0x0006) plen 15
min 100.000ms, max 100.000ms
type 0x00 (ADV_IND - Connectable undirected advertising) ownbdaddr 0x00 (Public)
directbdaddr 0x00 (Public) 00:00:00:00:00:00
channelmap 0x07 filterpolicy 0x00 (Allow scan from any, connection from any)
2016-11-01 09:25:51.916392 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertising Parameters (0x08|0x0006) ncmd 1
status 0x00
2016-11-01 09:25:51.943308 < HCI Command: LE Set Scan Response Data (0x08|0x0009) plen 32
10 0F 08 42 4C 45 20 50 65 72 69 70 68 65 72 61 6C 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
2016-11-01 09:25:51.944064 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Response Data (0x08|0x0009) ncmd 1
status 0x00
2016-11-01 09:25:51.944101 < HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32
15 02 01 06 11 06 B1 88 FE 25 CE C5 3D 8E FB 44 82 47 AD C3
E3 61 00 00 00 00 00 00 00 00 00 00
2016-11-01 09:25:51.944879 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertising Data (0x08|0x0008) ncmd 1
status 0x00
2016-11-01 09:25:51.944911 < HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
01
2016-11-01 09:25:51.945329 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertise Enable (0x08|0x000a) ncmd 1
status 0x00
2016-11-01 09:25:51.945356 < HCI Command: LE Set Scan Response Data (0x08|0x0009) plen 32
10 0F 08 42 4C 45 20 50 65 72 69 70 68 65 72 61 6C 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
2016-11-01 09:25:51.946168 > HCI Event: Command Complete (0x0e) plen 4
LE Set Scan Response Data (0x08|0x0009) ncmd 1
status 0x00
2016-11-01 09:25:51.946203 < HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32
15 02 01 06 11 06 B1 88 FE 25 CE C5 3D 8E FB 44 82 47 AD C3
E3 61 00 00 00 00 00 00 00 00 00 00
2016-11-01 09:25:51.950101 > HCI Event: Command Complete (0x0e) plen 4
LE Set Advertising Data (0x08|0x0008) ncmd 1
status 0x00
2016-11-01 09:26:06.112008 > HCI Event: LE Meta Event (0x3e) plen 19
LE Connection Complete
status 0x00 handle 64, role slave
bdaddr 58:C7:9A:D9:6F:85 (Random)
2016-11-01 09:26:06.112369 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
40 00
2016-11-01 09:26:06.118048 > HCI Event: Command Status (0x0f) plen 4
LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2016-11-01 09:26:06.236498 > HCI Event: LE Meta Event (0x3e) plen 12
LE Read Remote Used Features Complete
status 0x1a handle 64
Error: Unsupported Remote Feature / Unsupported LMP Feature
2016-11-01 09:26:06.236591 < ACL data: handle 64 flags 0x00 dlen 16
L2CAP(d): cid 0x0005 len 12 [psm 0]
12 01 08 00 28 00 38 00 00 00 48 00
2016-11-01 09:26:06.266276 > ACL data: handle 64 flags 0x02 dlen 7
ATT: MTU req (0x02)
client rx mtu 158
2016-11-01 09:26:06.267185 > ACL data: handle 64 flags 0x02 dlen 27
2016-11-01 09:26:06.267869 > ACL data: handle 64 flags 0x01 dlen 27
2016-11-01 09:26:06.268359 > ACL data: handle 64 flags 0x01 dlen 9
L2CAP(d): cid 0x003a len 59 [psm 0]
01 39 02 14 01 00 02 0F 63 6F 6D 2E 61 70 70 6C 65 2E 42 54
2E 54 53 01 22 02 00 01 1D 63 6F 6D 2E 61 70 70 6C 65 2E 42
54 4C 45 53 65 72 76 65 72 2E 63 6C 61 73 73 69 63 00 01
2016-11-01 09:26:06.268873 > ACL data: handle 64 flags 0x02 dlen 11
L2CAP(d): cid 0x003a len 7 [psm 0]
09 05 01 00 00 00 00
2016-11-01 09:26:06.272379 < ACL data: handle 64 flags 0x00 dlen 7
ATT: MTU resp (0x03)
server rx mtu 158
2016-11-01 09:26:06.296321 > ACL data: handle 64 flags 0x02 dlen 10
L2CAP(d): cid 0x0005 len 6 [psm 0]
13 01 02 00 00 00
2016-11-01 09:26:06.326613 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:06.356342 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x0001, end 0xffff
type-uuid 0x2800
2016-11-01 09:26:06.363440 < ACL data: handle 64 flags 0x00 dlen 18
ATT: Read By Group resp (0x11)
attr handle 0x0001, end group handle 0x0005
value 0x00 0x18
attr handle 0x0006, end group handle 0x0009
value 0x01 0x18
2016-11-01 09:26:06.416369 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x000a, end 0xffff
type-uuid 0x2800
2016-11-01 09:26:06.417984 < ACL data: handle 64 flags 0x00 dlen 26
ATT: Read By Group resp (0x11)
attr handle 0x000a, end group handle 0x000d
value 0xb1 0x88 0xfe 0x25 0xce 0xc5 0x3d 0x8e 0xfb 0x44 0x82 0x47 0xad 0xc3 0xe3 0x61
2016-11-01 09:26:06.476376 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Group req (0x10)
start 0x000e, end 0xffff
type-uuid 0x2800
2016-11-01 09:26:06.476663 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:06.477931 < ACL data: handle 64 flags 0x00 dlen 9
ATT: Error (0x01)
Error: Attribute not found (10)
Read By Group req (0x10) on handle 0x000e
2016-11-01 09:26:06.536334 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Type req (0x08)
start 0x0006, end 0x0009
type-uuid 0x2803
2016-11-01 09:26:06.542079 < ACL data: handle 64 flags 0x00 dlen 13
ATT: Read By Type resp (0x09)
length: 7
handle 0x0007, value 0x20 0x08 0x00 0x05 0x2a
2016-11-01 09:26:06.596373 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Find Information req (0x04)
start 0x0009, end 0x0009
2016-11-01 09:26:06.596648 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:06.600975 < ACL data: handle 64 flags 0x00 dlen 10
ATT: Find Information resp (0x05)
format: uuid-16
handle 0x0009, uuid 0x2902 (GATT(desc) Client Characteristic Configuration)
2016-11-01 09:26:06.656332 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Write req (0x12)
handle 0x0009 value 0x02 0x00
2016-11-01 09:26:06.662472 < ACL data: handle 64 flags 0x00 dlen 5
ATT: Write resp (0x13)
2016-11-01 09:26:06.739285 > HCI Event: LE Meta Event (0x3e) plen 10
LE Connection Update Complete
status 0x00 handle 64
interval 67.50ms, latency 0.00ms, superv. timeout 720.00ms
2016-11-01 09:26:06.806379 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Type req (0x08)
start 0x000a, end 0x000d
type-uuid 0x2803
2016-11-01 09:26:06.806675 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:06.808053 < ACL data: handle 64 flags 0x00 dlen 27
ATT: Read By Type resp (0x09)
length: 21
handle 0x000b, value 0x22 0x0c 0x00 0xcf 0xcf 0x72 0xab 0x55 0x6a 0xfe 0xab 0x2c 0x4f 0x2b 0xfd 0xf7 0x9c 0x90 0x97
2016-11-01 09:26:06.941339 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Find Information req (0x04)
start 0x000d, end 0x000d
2016-11-01 09:26:06.943902 < ACL data: handle 64 flags 0x00 dlen 10
ATT: Find Information resp (0x05)
format: uuid-16
handle 0x000d, uuid 0x2902 (GATT(desc) Client Characteristic Configuration)
2016-11-01 09:26:07.076378 > ACL data: handle 64 flags 0x02 dlen 9
ATT: Write req (0x12)
handle 0x000d value 0x02 0x00
2016-11-01 09:26:07.076658 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:07.079076 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Handle indicate (0x1d)
0C 00 64 61 74 61
2016-11-01 09:26:07.079754 < ACL data: handle 64 flags 0x00 dlen 5
ATT: Write resp (0x13)
2016-11-01 09:26:07.211306 > ACL data: handle 64 flags 0x02 dlen 5
ATT: Handle CNF (0x1e)
2016-11-01 09:26:07.211621 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 2
2016-11-01 09:26:07.213774 < ACL data: handle 64 flags 0x00 dlen 11
ATT: Handle indicate (0x1d)
0C 00 64 61 74 61
2016-11-01 09:26:07.346255 > ACL data: handle 64 flags 0x02 dlen 5
ATT: Handle CNF (0x1e)
2016-11-01 09:26:07.580325 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 1
2016-11-01 09:26:08.291310 > ACL data: handle 64 flags 0x02 dlen 11
ATT: Read By Type req (0x08)
start 0x0001, end 0x0005
type-uuid 0x2a00
2016-11-01 09:26:08.292971 < ACL data: handle 64 flags 0x00 dlen 19
ATT: Read By Type resp (0x09)
length: 13
handle 0x0003, value 0x72 0x61 0x73 0x70 0x62 0x65 0x72 0x72 0x79 0x70 0x69
2016-11-01 09:26:08.580354 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 64 packets 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment