Skip to content

Instantly share code, notes, and snippets.

@mfferreira
Created April 15, 2016 18:11
Show Gist options
  • Save mfferreira/d7c184e1ab6e710be5dc5689abc86dea to your computer and use it in GitHub Desktop.
Save mfferreira/d7c184e1ab6e710be5dc5689abc86dea to your computer and use it in GitHub Desktop.
btmon log
> HCI Event: Connect Request (0x04) plen 10 [hci0] 211.150645
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Class: 0x5a020c
Major class: Phone (cellular, cordless, payphone, modem)
Minor class: Smart phone
Networking (LAN, Ad hoc)
Capturing (Scanner, Microphone)
Object Transfer (v-Inbox, v-Folder)
Telephony (Cordless telephony, Modem, Headset)
Link type: ACL (0x01)
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7 [hci0] 211.150724
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Role: Slave (0x01)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 211.155647
Accept Connection Request (0x01|0x0009) ncmd 1
Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11 [hci0] 211.175648
Status: Success (0x00)
Handle: 66
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Link type: ACL (0x01)
Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2 [hci0] 211.175815
Handle: 66
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7 [hci0] 211.176663
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Page scan repetition mode: R1 (0x01)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 211.180660
Read Remote Supported Features (0x01|0x001b) ncmd 0
Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3 [hci0] 211.222662
Handle: 66
Max slots: 5
> HCI Event: Link Supervision Timeout Changed (0x38) plen 4 [hci0] 211.396707
Handle: 66
Timeout: 5000.000 msec (0x1f40)
> ACL Data RX: Handle 66 flags 0x02 dlen 10 [hci0] 211.399981
L2CAP: Information Request (0x0a) ident 2 len 2
Type: Extended features supported (0x0002)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 211.405712
NOP (0x00|0x0000) ncmd 1
Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11 [hci0] 211.420713
Status: Success (0x00)
Handle: 66
Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
3 slot packets
5 slot packets
Encryption
Slot offset
Timing accuracy
Role switch
Hold mode
Sniff mode
Power control requests
Channel quality driven data rate (CQDDR)
SCO link
HV2 packets
HV3 packets
u-law log synchronous data
A-law log synchronous data
CVSD synchronous data
Paging parameter negotiation
Power control
Transparent synchronous data
Broadcast Encryption
Enhanced Data Rate ACL 2 Mbps mode
Enhanced Data Rate ACL 3 Mbps mode
Enhanced inquiry scan
Interlaced inquiry scan
Interlaced page scan
RSSI with inquiry results
Extended SCO link (EV3 packets)
AFH capable slave
AFH classification slave
LE Supported (Controller)
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Sniff subrating
Pause encryption
AFH capable master
AFH classification master
Enhanced Data Rate eSCO 2 Mbps mode
Extended Inquiry Response
Simultaneous LE and BR/EDR (Controller)
Secure Simple Pairing
Encapsulated PDU
Non-flushable Packet Boundary Flag
Link Supervision Timeout Changed Event
Inquiry TX Power Level
Enhanced Power Control
Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3 [hci0] 211.420780
Handle: 66
Page: 1
> HCI Event: Command Status (0x0f) plen 4 [hci0] 211.426714
Read Remote Extended Features (0x01|0x001c) ncmd 1
Status: Success (0x00)
> HCI Event: IO Capability Response (0x32) plen 9 [hci0] 211.441719
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
IO capability: DisplayYesNo (0x01)
OOB data: Authentication data not present (0x00)
Authentication: No Bonding - MITM not required (0x00)
> HCI Event: IO Capability Request (0x31) plen 6 [hci0] 211.442717
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9 [hci0] 211.442770
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
IO capability: NoInputNoOutput (0x03)
OOB data: Authentication data not present (0x00)
Authentication: No Bonding - MITM not required (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13 [hci0] 211.444724
Status: Success (0x00)
Handle: 66
Page: 1/1
Features: 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
LE Supported (Host)
Simultaneous LE and BR/EDR (Host)
Secure Connections (Host Support)
> HCI Event: Command Complete (0x0e) plen 10 [hci0] 211.447724
IO Capability Request Reply (0x01|0x002b) ncmd 1
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10 [hci0] 211.447780
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Page scan repetition mode: R2 (0x02)
Page scan mode: Mandatory (0x00)
Clock offset: 0x0000
> HCI Event: Command Status (0x0f) plen 4 [hci0] 211.452724
Remote Name Request (0x01|0x0019) ncmd 1
Status: Success (0x00)
> HCI Event: Remote Name Req Complete (0x07) plen 255 [hci0] 212.016865
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Name: Nexus 5X
@ Device Connected: 64:BC:0C:FC:D7:74 (0) flags 0x0000
09 09 4e 65 78 75 73 20 35 58 04 0d 0c 02 5a ..Nexus 5X....Z
> HCI Event: User Confirmation Request (0x33) plen 10 [hci0] 212.396976
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Passkey: 601041
< HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6 [hci0] 212.397039
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Command Complete (0x0e) plen 10 [hci0] 212.404978
User Confirmation Request Reply (0x01|0x002c) ncmd 1
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Simple Pairing Complete (0x36) plen 7 [hci0] 212.697056
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Link Key Notification (0x18) plen 23 [hci0] 212.748059
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Link key: 0eead2e42f7608c3b2893a7d978445e3
Key type: Unauthenticated Combination key from P-192 (0x04)
@ New Link Key: 64:BC:0C:FC:D7:74 (0)
> HCI Event: Encryption Change (0x08) plen 4 [hci0] 212.866101
Status: Success (0x00)
Handle: 66
Encryption: Enabled with E0 (0x01)
> ACL Data RX: Handle 66 flags 0x02 dlen 12 [hci0] 214.220739
L2CAP: Connection Request (0x02) ident 3 len 4
PSM: 31 (0x001f)
Source CID: 71
< HCI Command: Disconnect (0x01|0x0006) plen 3 [hci0] 252.782953
Handle: 66
Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 252.784754
Disconnect (0x01|0x0006) ncmd 1
Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4 [hci0] 252.938783
Status: Success (0x00)
Handle: 66
Reason: Connection Terminated By Local Host (0x16)
@ Device Disconnected: 64:BC:0C:FC:D7:74 (0) reason 2
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1 [hci0] 253.053022
Advertising: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4 [hci0] 253.054832
LE Set Advertise Enable (0x08|0x000a) ncmd 1
Status: Command Disallowed (0x0c)
> HCI Event: Connect Request (0x04) plen 10 [hci0] 253.387905
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Class: 0x5a020c
Major class: Phone (cellular, cordless, payphone, modem)
Minor class: Smart phone
Networking (LAN, Ad hoc)
Capturing (Scanner, Microphone)
Object Transfer (v-Inbox, v-Folder)
Telephony (Cordless telephony, Modem, Headset)
Link type: ACL (0x01)
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7 [hci0] 253.387984
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Role: Slave (0x01)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 253.392906
Accept Connection Request (0x01|0x0009) ncmd 1
Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11 [hci0] 253.435915
Status: Success (0x00)
Handle: 65
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Link type: ACL (0x01)
Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2 [hci0] 253.436081
Handle: 65
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7 [hci0] 253.436919
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Page scan repetition mode: R1 (0x01)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 253.440920
Read Remote Supported Features (0x01|0x001b) ncmd 0
Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3 [hci0] 253.447918
Handle: 65
Max slots: 5
> ACL Data RX: Handle 65 flags 0x02 dlen 10 [hci0] 253.448691
L2CAP: Information Request (0x0a) ident 4 len 2
Type: Extended features supported (0x0002)
> HCI Event: Link Supervision Timeout Changed (0x38) plen 4 [hci0] 253.471925
Handle: 65
Timeout: 5000.000 msec (0x1f40)
> HCI Event: Command Status (0x0f) plen 4 [hci0] 253.476923
NOP (0x00|0x0000) ncmd 1
Status: Success (0x00)
> HCI Event: Link Key Request (0x17) plen 6 [hci0] 253.494933
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 [hci0] 253.495004
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Read Remote Supported Features (0x0b) plen 11 [hci0] 253.496938
Status: Success (0x00)
Handle: 65
Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
3 slot packets
5 slot packets
Encryption
Slot offset
Timing accuracy
Role switch
Hold mode
Sniff mode
Power control requests
Channel quality driven data rate (CQDDR)
SCO link
HV2 packets
HV3 packets
u-law log synchronous data
A-law log synchronous data
CVSD synchronous data
Paging parameter negotiation
Power control
Transparent synchronous data
Broadcast Encryption
Enhanced Data Rate ACL 2 Mbps mode
Enhanced Data Rate ACL 3 Mbps mode
Enhanced inquiry scan
Interlaced inquiry scan
Interlaced page scan
RSSI with inquiry results
Extended SCO link (EV3 packets)
AFH capable slave
AFH classification slave
LE Supported (Controller)
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Sniff subrating
Pause encryption
AFH capable master
AFH classification master
Enhanced Data Rate eSCO 2 Mbps mode
Extended Inquiry Response
Simultaneous LE and BR/EDR (Controller)
Secure Simple Pairing
Encapsulated PDU
Non-flushable Packet Boundary Flag
Link Supervision Timeout Changed Event
Inquiry TX Power Level
Enhanced Power Control
Extended features
> HCI Event: Command Complete (0x0e) plen 10 [hci0] 253.499937
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3 [hci0] 253.500005
Handle: 65
Page: 1
> HCI Event: Command Status (0x0f) plen 4 [hci0] 253.504943
Read Remote Extended Features (0x01|0x001c) ncmd 1
Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13 [hci0] 253.522941
Status: Success (0x00)
Handle: 65
Page: 1/1
Features: 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Secure Simple Pairing (Host Support)
LE Supported (Host)
Simultaneous LE and BR/EDR (Host)
Secure Connections (Host Support)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10 [hci0] 253.523014
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Page scan repetition mode: R2 (0x02)
Page scan mode: Mandatory (0x00)
Clock offset: 0x0000
> HCI Event: Command Status (0x0f) plen 4 [hci0] 253.527941
Remote Name Request (0x01|0x0019) ncmd 1
Status: Success (0x00)
> HCI Event: IO Capability Response (0x32) plen 9 [hci0] 253.542943
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
IO capability: DisplayYesNo (0x01)
OOB data: Authentication data not present (0x00)
Authentication: No Bonding - MITM not required (0x00)
> HCI Event: IO Capability Request (0x31) plen 6 [hci0] 253.543941
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9 [hci0] 253.543995
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
IO capability: NoInputNoOutput (0x03)
OOB data: Authentication data not present (0x00)
Authentication: No Bonding - MITM not required (0x00)
> HCI Event: Remote Name Req Complete (0x07) plen 255 [hci0] 253.562942
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Name: Nexus 5X
@ Device Connected: 64:BC:0C:FC:D7:74 (0) flags 0x0000
09 09 4e 65 78 75 73 20 35 58 04 0d 0c 02 5a ..Nexus 5X....Z
> HCI Event: Command Complete (0x0e) plen 10 [hci0] 253.563948
IO Capability Request Reply (0x01|0x002b) ncmd 1
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: User Confirmation Request (0x33) plen 10 [hci0] 254.000069
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Passkey: 006403
< HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6 [hci0] 254.000145
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Command Complete (0x0e) plen 10 [hci0] 254.009066
User Confirmation Request Reply (0x01|0x002c) ncmd 1
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Simple Pairing Complete (0x36) plen 7 [hci0] 254.325164
Status: Success (0x00)
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
> HCI Event: Link Key Notification (0x18) plen 23 [hci0] 254.396164
Address: 64:BC:0C:FC:D7:74 (OUI 64-BC-0C)
Link key: 3faf073d1404a5a2d106f9f0772c0107
Key type: Unauthenticated Combination key from P-192 (0x04)
@ New Link Key: 64:BC:0C:FC:D7:74 (0)
> HCI Event: Encryption Change (0x08) plen 4 [hci0] 254.497197
Status: Success (0x00)
Handle: 65
Encryption: Enabled with E0 (0x01)
> ACL Data RX: Handle 65 flags 0x02 dlen 12 [hci0] 256.465755
L2CAP: Connection Request (0x02) ident 5 len 4
PSM: 31 (0x001f)
Source CID: 71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment