Skip to content

Instantly share code, notes, and snippets.

@brjsp

brjsp/btmon.log Secret

Created August 16, 2023 09:04
Show Gist options
  • Save brjsp/f6897ad1431a06820ecdd3773dd4a857 to your computer and use it in GitHub Desktop.
Save brjsp/f6897ad1431a06820ecdd3773dd4a857 to your computer and use it in GitHub Desktop.
Bluetooth monitor ver 5.68
= Note: Linux version 6.3.0-rc7bruno-1-default+ (x86_64) 0.769060
= Note: Bluetooth subsystem version 2.22 0.769061
= New Index: F0:9E:4A:E6:62:15 (Primary,USB,hci0) [hci0] 0.769062
= Open Index: F0:9E:4A:E6:62:15 [hci0] 0.769062
= Index Info: F0:9E:4A:E6:62:15 (Intel Corp.) [hci0] 0.769062
@ MGMT Open: bluetoothd (privileged) version 1.22 {0x0001} 0.769063
@ MGMT Command: Start Discovery (0x0023) plen 1 {0x0001} [hci0] 14.140689
Address type: 0x07
BR/EDR
LE Public
LE Random
< HCI Command: LE Set Extended Scan.. (0x08|0x0042) plen 6 #1 [hci0] 14.140708
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 14.401852
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6 #3 [hci0] 14.401881
Address: 3A:18:94:3D:D7:2D (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 14.403845
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0041) plen 13 #5 [hci0] 14.403852
Own address type: Random (0x01)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
Entry 1: LE Coded
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
> HCI Event: Command Complete (0x0e) plen 4 #6 [hci0] 14.405845
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Scan.. (0x08|0x0042) plen 6 #7 [hci0] 14.405855
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #8 [hci0] 14.407851
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: Inquiry (0x01|0x0001) plen 5 #9 [hci0] 14.407863
Access code: 0x9e8b33 (General Inquiry)
Length: 10.24s (0x08)
Num responses: 0
> HCI Event: Command Status (0x0f) plen 4 #10 [hci0] 14.410846
Inquiry (0x01|0x0001) ncmd 2
Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci0] 14.410854
Start Discovery (0x0023) plen 1
Status: Success (0x00)
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 14.410858
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Enabled (0x01)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #11 [hci0] 24.900468
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Inquiry Complete (0x01) plen 1 #12 [hci0] 24.925667
Status: Success (0x00)
> HCI Event: Command Complete (0x0e) plen 4 #13 [hci0] 24.926677
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
@ MGMT Command: Stop Discovery (0x0024) plen 1 {0x0001} [hci0] 38.676195
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci0] 38.676210
Stop Discovery (0x0024) plen 1
Status: Success (0x00)
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 38.676218
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Disabled (0x00)
< HCI Command: LE Set Extended Sc.. (0x08|0x0041) plen 13 #14 [hci0] 38.676228
Own address type: Public (0x00)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Entry 1: LE Coded
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
> HCI Event: Command Complete (0x0e) plen 4 #15 [hci0] 38.938749
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #16 [hci0] 38.938766
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #17 [hci0] 38.940748
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 48 #18 [hci0] 39.074784
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0013
Props: 0x0013
Connectable
Scannable
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_IND (0x0013)
Address type: Random (0x01)
Address: E1:1C:27:29:2B:30 (Static)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 127 dBm
RSSI: -43 dBm (0xd5)
Periodic advertising interval: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x16
02 01 05 03 19 c2 03 03 03 12 18 0a 09 45 52 47 .............ERG
4f 20 4d 35 37 35 O M575
Flags: 0x05
LE Limited Discoverable Mode
BR/EDR Not Supported
Appearance: Mouse (0x03c2)
16-bit Service UUIDs (complete): 1 entry
Human Interface Device (0x1812)
Name (complete): ERGO M575
@ MGMT Command: Start Discovery (0x0023) plen 1 {0x0001} [hci0] 42.492857
Address type: 0x07
BR/EDR
LE Public
LE Random
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #19 [hci0] 42.492876
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #20 [hci0] 42.631744
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6 #21 [hci0] 42.631767
Address: 3F:A3:C1:82:97:7D (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 #22 [hci0] 42.633743
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sc.. (0x08|0x0041) plen 13 #23 [hci0] 42.633758
Own address type: Random (0x01)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
Entry 1: LE Coded
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
> HCI Event: Command Complete (0x0e) plen 4 #24 [hci0] 42.635742
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #25 [hci0] 42.635755
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #26 [hci0] 42.637755
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: Inquiry (0x01|0x0001) plen 5 #27 [hci0] 42.637802
Access code: 0x9e8b33 (General Inquiry)
Length: 10.24s (0x08)
Num responses: 0
> HCI Event: Command Status (0x0f) plen 4 #28 [hci0] 42.649749
Inquiry (0x01|0x0001) ncmd 2
Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci0] 42.649769
Start Discovery (0x0023) plen 1
Status: Success (0x00)
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 42.649773
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Enabled (0x01)
> HCI Event: Inquiry Complete (0x01) plen 1 #29 [hci0] 52.988832
Status: Success (0x00)
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 53.060435
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Disabled (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #30 [hci0] 53.060446
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #31 [hci0] 53.061832
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: LE Set Extended Sc.. (0x08|0x0041) plen 13 #32 [hci0] 53.061844
Own address type: Public (0x00)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Entry 1: LE Coded
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
> HCI Event: Command Complete (0x0e) plen 4 #33 [hci0] 53.063832
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #34 [hci0] 53.063844
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #35 [hci0] 53.065830
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 48 #36 [hci0] 53.079864
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0013
Props: 0x0013
Connectable
Scannable
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_IND (0x0013)
Address type: Random (0x01)
Address: E1:1C:27:29:2B:30 (Static)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 127 dBm
RSSI: -71 dBm (0xb9)
Periodic advertising interval: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x16
02 01 05 03 19 c2 03 03 03 12 18 0a 09 45 52 47 .............ERG
4f 20 4d 35 37 35 O M575
Flags: 0x05
LE Limited Discoverable Mode
BR/EDR Not Supported
Appearance: Mouse (0x03c2)
16-bit Service UUIDs (complete): 1 entry
Human Interface Device (0x1812)
Name (complete): ERGO M575
@ MGMT Command: Start Discovery (0x0023) plen 1 {0x0001} [hci0] 58.324850
Address type: 0x07
BR/EDR
LE Public
LE Random
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #37 [hci0] 58.325892
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #38 [hci0] 58.615466
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6 #39 [hci0] 58.615483
Address: 27:5E:C5:D4:E2:CD (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4 #40 [hci0] 58.617463
LE Set Random Address (0x08|0x0005) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sc.. (0x08|0x0041) plen 13 #41 [hci0] 58.617477
Own address type: Random (0x01)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
Entry 1: LE Coded
Type: Active (0x01)
Interval: 22.500 msec (0x0024)
Window: 11.250 msec (0x0012)
> HCI Event: Command Complete (0x0e) plen 4 #42 [hci0] 58.619465
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #43 [hci0] 58.619473
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #44 [hci0] 58.621465
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
< HCI Command: Inquiry (0x01|0x0001) plen 5 #45 [hci0] 58.621474
Access code: 0x9e8b33 (General Inquiry)
Length: 10.24s (0x08)
Num responses: 0
> HCI Event: Command Status (0x0f) plen 4 #46 [hci0] 58.623466
Inquiry (0x01|0x0001) ncmd 2
Status: Success (0x00)
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci0] 58.623476
Start Discovery (0x0023) plen 1
Status: Success (0x00)
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 58.623480
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Enabled (0x01)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #47 [hci0] 68.928439
Extended scan: Disabled (0x00)
Filter duplicates: Disabled (0x00)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Inquiry Complete (0x01) plen 1 #48 [hci0] 68.948836
Status: Success (0x00)
> HCI Event: Command Complete (0x0e) plen 4 #49 [hci0] 68.949838
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
@ MGMT Command: Stop Discovery (0x0024) plen 1 {0x0001} [hci0] 77.697049
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Command Complete (0x0001) plen 4 {0x0001} [hci0] 77.697067
Stop Discovery (0x0024) plen 1
Status: Success (0x00)
Address type: 0x07
BR/EDR
LE Public
LE Random
@ MGMT Event: Discovering (0x0013) plen 2 {0x0001} [hci0] 77.697071
Address type: 0x07
BR/EDR
LE Public
LE Random
Discovery: Disabled (0x00)
< HCI Command: LE Set Extended Sc.. (0x08|0x0041) plen 13 #50 [hci0] 77.697082
Own address type: Public (0x00)
Filter policy: Accept all advertisement (0x00)
PHYs: 0x05
Entry 0: LE 1M
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
Entry 1: LE Coded
Type: Passive (0x00)
Interval: 60.000 msec (0x0060)
Window: 30.000 msec (0x0030)
> HCI Event: Command Complete (0x0e) plen 4 #51 [hci0] 77.969870
LE Set Extended Scan Parameters (0x08|0x0041) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0042) plen 6 #52 [hci0] 77.969891
Extended scan: Enabled (0x01)
Filter duplicates: Enabled (0x01)
Duration: 0 msec (0x0000)
Period: 0.00 sec (0x0000)
> HCI Event: Command Complete (0x0e) plen 4 #53 [hci0] 77.970870
LE Set Extended Scan Enable (0x08|0x0042) ncmd 2
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 48 #54 [hci0] 78.046907
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0013
Props: 0x0013
Connectable
Scannable
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_IND (0x0013)
Address type: Random (0x01)
Address: E1:1C:27:29:2B:30 (Static)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 127 dBm
RSSI: -40 dBm (0xd8)
Periodic advertising interval: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x16
02 01 05 03 19 c2 03 03 03 12 18 0a 09 45 52 47 .............ERG
4f 20 4d 35 37 35 O M575
Flags: 0x05
LE Limited Discoverable Mode
BR/EDR Not Supported
Appearance: Mouse (0x03c2)
16-bit Service UUIDs (complete): 1 entry
Human Interface Device (0x1812)
Name (complete): ERGO M575
@Vudentz
Copy link

Vudentz commented Aug 18, 2023

@brjsp looks like the is no DeviceFound which probably explain why you don't see it on upper layers, now why is this being filtered out I don't know, is there any message on dmesg?

@brjsp
Copy link
Author

brjsp commented Aug 18, 2023

@Vudentz what should i grep the dmesg for? (I will check it on monday — I don't have access to that computer rn)

@brjsp
Copy link
Author

brjsp commented Aug 21, 2023

@Vudentz There seem to be no interesting error messages in the dmesg.

╭─bruno at bruno-beit in ~
╰─λ grep -Ei '(blue|hci0)' <dmesg-bad
[    8.768642] Bluetooth: Core ver 2.22
[    8.768664] NET: Registered PF_BLUETOOTH protocol family
[    8.768667] Bluetooth: HCI device and connection manager initialized
[    8.768672] Bluetooth: HCI socket layer initialized
[    8.768676] Bluetooth: L2CAP socket layer initialized
[    8.768680] Bluetooth: SCO socket layer initialized
[    9.202400] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.202407] Bluetooth: BNEP filters: protocol multicast
[    9.202413] Bluetooth: BNEP socket layer initialized
[   10.555632] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[   10.555799] Bluetooth: hci0: Boot Address: 0x24800
[   10.555814] Bluetooth: hci0: Firmware Version: 206-22.23
[   10.555827] Bluetooth: hci0: Firmware already loaded
[   10.626762] Bluetooth: MGMT ver 1.22
[   13.907081] hid-generic 0005:046D:B027.0002: input,hidraw1: BLUETOOTH HID v0.09 Mouse [ERGO M575] on f0:9e:4a:e6:62:15
[   22.468664] Bluetooth: RFCOMM TTY layer initialized
[   22.468676] Bluetooth: RFCOMM socket layer initialized
[   22.468679] Bluetooth: RFCOMM ver 1.11
[   69.645241] hid-generic 0005:046D:B027.0003: input,hidraw1: BLUETOOTH HID v0.09 Mouse [ERGO M575] on f0:9e:4a:e6:62:15
╭─bruno at bruno-beit in ~
╰─λ grep -Ei '(blue|hci0)' <dmesg-working 
[   12.888200] Bluetooth: Core ver 2.22
[   12.888217] NET: Registered PF_BLUETOOTH protocol family
[   12.888219] Bluetooth: HCI device and connection manager initialized
[   12.888223] Bluetooth: HCI socket layer initialized
[   12.888225] Bluetooth: L2CAP socket layer initialized
[   12.888227] Bluetooth: SCO socket layer initialized
[   13.221227] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[   13.221346] Bluetooth: hci0: Boot Address: 0x24800
[   13.221348] Bluetooth: hci0: Firmware Version: 206-22.23
[   13.221350] Bluetooth: hci0: Firmware already loaded
[   13.276123] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.276130] Bluetooth: BNEP filters: protocol multicast
[   13.276135] Bluetooth: BNEP socket layer initialized
[   13.288041] Bluetooth: MGMT ver 1.22
[   31.959872] Bluetooth: RFCOMM TTY layer initialized
[   31.959901] Bluetooth: RFCOMM socket layer initialized
[   31.959912] Bluetooth: RFCOMM ver 1.11
[   71.089653] hid-generic 0005:046D:B027.0004: input,hidraw3: BLUETOOTH HID v0.09 Mouse [ERGO M575] on f0:9e:4a:e6:62:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment