Phone Bluetooth pairs with Pi 4 then disconnects permanently

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Phone Bluetooth pairs with Pi 4 then disconnects permanently

Postby areed » Sun Jan 14, 2024 10:59 pm

[b]Background:[/b]
I am trying to connect my Android phone to a Raspberry Pi 4B, with the intention of sharing the phone's internet connection via Bluetooth tethering. The Pi has a new, up-to-date installation of Arch Linux ARM, with bluez, bluez-utils and tmux installed, and I am interacting with it via the GPIO header UART connection.

[b]Replication:[/b]
- Boot the Pi and log in via serial console
- Open tmux
- Start the Bluetooth daemon in debug mode: #/usr/lib/bluetooth/bluetoothd -d
- Start Bluetooth monitoring: #btmon -w btmon_log
- Start bluetoothctl: #bluetoothctl
- Make the Pi discoverable: discoverable on
- Scan for devices on the phone, select the Pi and confirm the pairing on both sides
- The phone will now pair and connect, then disconnect after a few (~3-5) seconds
- The phone will not reconnect to the Pi even if explicitly told to do so,

[b]Observations:[/b]
I cannot see any obvious errors in either btmon or bluetoothd log output. As far as I can see, after a few seconds of sitting idle a disconnect command appears stating "Reason: Remote User Terminated Connection (0x13)" but I have no idea why. I've not had any luck searching for this issue online either, can anyone help me to understand what is going wrong here?


[b]Truncated journalctl log (Bluetooth daemon debug output on):[/b]
[code]
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] event 0x000b
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/adapter.c:connected_callback() hci0 device XX:XX:XX:XX:XX:XXconnected eir_len 14
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/device.c:device_create() dst 3C:28:6D:D9:E5:35
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/device.c:device_new() address 3C:28:6D:D9:E5:35
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:04:54 alarmpi systemd[324]: Reached target Bluetooth.
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/device.c:device_set_class() /org/bluez/hci0/dev_3C_28_6D_D9_E5_35 0x5A020C
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] event 0x000f
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/adapter.c:user_confirm_request_callback() hci0 XX:XX:XX:XX:XX:XXconfirm_hint 0
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/device.c:new_auth() Requesting agent authentication for 3C:28:6D:D9:E5:35
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/agent.c:agent_ref() 0x1bd3a38: ref=2
Jan 12 22:04:54 alarmpi bluetoothd[353]: src/agent.c:agent_request_confirmation() Calling Agent.RequestConfirmation: name=:1.15, path=/org/bluez/agent, passkey=307454
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/agent.c:agent_ref() 0x1bd3a38: ref=3
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/adapter.c:btd_adapter_confirm_reply() hci0 addr XX:XX:XX:XX:XX:XXsuccess 1
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/agent.c:agent_unref() 0x1bd3a38: ref=2
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/agent.c:agent_unref() 0x1bd3a38: ref=1
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:send_request() [0x0000] command 0x001c
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] command 0x001c complete: 0x00
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] event 0x0009
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/adapter.c:new_link_key_callback() hci0 new key for XX:XX:XX:XX:XX:XXtype 8 pin_len 0 store_hint 1
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/device.c:device_set_bonded() setting bonded for device to true
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/device.c:btd_device_set_temporary() temporary 0
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/device.c:device_bonding_complete() bonding (nil) status 0x00
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/device.c:device_bonding_complete() setting timer for reverse service discovery
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/adapter.c:resume_discovery()
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:send_request() [0x0000] command 0x0033
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] event 0x002a
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] command 0x0033 complete: 0x00
Jan 12 22:04:59 alarmpi bluetoothd[353]: src/adapter.c:add_accept_list_complete() XX:XX:XX:XX:XX:XXadded to kernel accept list
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/gap/gas.c:gap_probe() GAP profile probe (3C:28:6D:D9:E5:35)
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c05568: device XX:XX:XX:XX:XX:XXprofile gap-profile state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/network/connection.c:connection_register() /org/bluez/hci0/dev_3C_28_6D_D9_E5_35 id 4373
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/network/connection.c:create_peer() Registered interface org.bluez.Network1 on path /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:btd_service_ref() 0x1c06458: ref=2
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/network/connection.c:connection_register() id 4373 registered
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c06458: device XX:XX:XX:XX:XX:XXprofile network-panu state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/network/connection.c:connection_register() /org/bluez/hci0/dev_3C_28_6D_D9_E5_35 id 4374
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:btd_service_ref() 0x1c06d80: ref=2
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/network/connection.c:connection_register() id 4374 registered
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c06d80: device XX:XX:XX:XX:XX:XXprofile network-nap state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/audio/avrcp.c:avrcp_controller_probe() path /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/audio/control.c:control_init() Registered interface org.bluez.MediaControl1 on path /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:btd_service_ref() 0x1c074a8: ref=2
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c074a8: device XX:XX:XX:XX:XX:XXprofile avrcp-controller state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/audio/avrcp.c:avrcp_target_probe() path /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:btd_service_ref() 0x1c09ed8: ref=2
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c09ed8: device XX:XX:XX:XX:XX:XXprofile audio-avrcp-target state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/audio/a2dp.c:a2dp_source_probe() path /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: profiles/audio/source.c:source_init() /org/bluez/hci0/dev_3C_28_6D_D9_E5_35
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:btd_service_ref() 0x1c092b8: ref=2
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/service.c:change_state() 0x1c092b8: device XX:XX:XX:XX:XX:XXprofile a2dp-source state changed: unavailable -> disconnected (0)
Jan 12 22:05:00 alarmpi bluetoothd[353]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_3C_28_6D_D9_E5_35 err 0
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] event 0x000c
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/adapter.c:dev_disconnected() Device XX:XX:XX:XX:XX:XXdisconnected, reason 2
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/adapter.c:adapter_remove_connection()
Jan 12 22:05:06 alarmpi bluetoothd[353]: plugins/policy.c:disconnect_cb() reason 2
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr XX:XX:XX:XX:XX:XXtype 0 status 0xe
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/device.c:device_bonding_failed() status 14
Jan 12 22:05:06 alarmpi bluetoothd[353]: src/adapter.c:resume_discovery()
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/agent.c:agent_disconnect() Agent :1.15 disconnected
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/agent.c:remove_default_agent() Default agent cleared
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/adapter.c:set_mode() sending set mode command for index 0
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/agent.c:agent_destroy() agent :1.15
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/agent.c:agent_unref() 0x1bd3a38: ref=0
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/shared/mgmt.c:send_request() [0x0000] command 0x0009
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/shared/mgmt.c:can_read_data() [0x0000] command 0x0009 complete: 0x00
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/adapter.c:new_settings_callback() Settings: 0x00000acb
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/adapter.c:settings_changed() Changed settings: 0x00000010
Jan 12 22:05:16 alarmpi bluetoothd[353]: src/adapter.c:settings_changed() Pending settings: 0x00000000
[/code]

[b]btmon log:[/b]
[code]
> HCI Event: Connect Request (0x04) plen 10 #7 [hci0] 2024-01-12 22:04:53.869835
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
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 #8 [hci0] 2024-01-12 22:04:53.869908
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Role: Central (0x00)
> HCI Event: Command Status (0x0f) plen 4 #9 [hci0] 2024-01-12 22:04:53.870395
Accept Connection Request (0x01|0x0009) ncmd 1
Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8 #10 [hci0] 2024-01-12 22:04:54.049129
Status: Success (0x00)
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Role: Central (0x00)
> HCI Event: Connect Complete (0x03) plen 11 #11 [hci0] 2024-01-12 22:04:54.055319
Status: Success (0x00)
Handle: 12
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Link type: ACL (0x01)
Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2 #12 [hci0] 2024-01-12 22:04:54.055538
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
@ RAW Open: btmon (privileged) version 2.22 {0x0003} 2024-01-12 22:04:54.056253
@ RAW Close: btmon {0x0003} 2024-01-12 22:04:54.056274
> HCI Event: Command Status (0x0f) plen 4 #13 [hci0] 2024-01-12 22:04:54.064225
Read Remote Supported Features (0x01|0x001b) ncmd 1
Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11 #14 [hci0] 2024-01-12 22:04:54.064347
Status: Success (0x00)
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
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 peripheral
AFH classification peripheral
LE Supported (Controller)
3-slot Enhanced Data Rate ACL packets
5-slot Enhanced Data Rate ACL packets
Sniff subrating
Pause encryption
AFH capable central
AFH classification central
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 #15 [hci0] 2024-01-12 22:04:54.064405
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Page: 1
> HCI Event: Command Status (0x0f) plen 4 #16 [hci0] 2024-01-12 22:04:54.065573
Read Remote Extended Features (0x01|0x001c) ncmd 1
Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13 #17 [hci0] 2024-01-12 22:04:54.065590
Status: Success (0x00)
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Page: 1/2
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 #18 [hci0] 2024-01-12 22:04:54.065684
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Page scan repetition mode: R2 (0x02)
Page scan mode: Mandatory (0x00)
Clock offset: 0x0000
< ACL Data TX: Handle 12 flags 0x00 dlen 10 #19 [hci0] 2024-01-12 22:04:54.065710
L2CAP: Information Request (0x0a) ident 1 len 2
Type: Extended features supported (0x0002)
> HCI Event: Command Status (0x0f) plen 4 #20 [hci0] 2024-01-12 22:04:54.066496
Remote Name Request (0x01|0x0019) ncmd 1
Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3 #21 [hci0] 2024-01-12 22:04:54.067295
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Max slots: 5
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7 #22 [hci0] 2024-01-12 22:04:54.069164
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Page scan repetition mode: R1 (0x01)
> ACL Data RX: Handle 12 flags 0x02 dlen 10 #23 [hci0] 2024-01-12 22:04:54.074045
L2CAP: Information Request (0x0a) ident 2 len 2
Type: Extended features supported (0x0002)
< ACL Data TX: Handle 12 flags 0x00 dlen 16 #24 [hci0] 2024-01-12 22:04:54.074077
L2CAP: Information Response (0x0b) ident 2 len 8
Type: Extended features supported (0x0002)
Result: Success (0x0000)
Features: 0x000002b8
Enhanced Retransmission Mode
Streaming Mode
FCS Option
Fixed Channels
Unicast Connectionless Data Reception
> ACL Data RX: Handle 12 flags 0x02 dlen 16 #25 [hci0] 2024-01-12 22:04:54.077101
L2CAP: Information Response (0x0b) ident 1 len 8
Type: Extended features supported (0x0002)
Result: Success (0x0000)
Features: 0x000000b8
Enhanced Retransmission Mode
Streaming Mode
FCS Option
Fixed Channels
> HCI Event: Number of Completed Packets (0x13) plen 5 #26 [hci0] 2024-01-12 22:04:54.077105
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#19: len 10 (7 Kb/s)
Latency: 11 msec (11-11 msec ~11 msec)
#24: len 16 (42 Kb/s)
Latency: 3 msec (3-11 msec ~7 msec)
< ACL Data TX: Handle 12 flags 0x00 dlen 10 #27 [hci0] 2024-01-12 22:04:54.077137
L2CAP: Information Request (0x0a) ident 2 len 2
Type: Fixed channels supported (0x0003)
> HCI Event: Remote Name Req Complete (0x07) plen 255 #28 [hci0] 2024-01-12 22:04:54.082274
Status: Success (0x00)
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Name: Pixel 3
@ MGMT Event: Device Connected (0x000b) plen 27 {0x0002} [hci0] 2024-01-12 22:04:54.082300
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Flags: 0x00000000
Data length: 14
Name (complete): Pixel 3
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)
@ MGMT Event: Device Connected (0x000b) plen 27 {0x0001} [hci0] 2024-01-12 22:04:54.082300
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Flags: 0x00000000
Data length: 14
Name (complete): Pixel 3
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)
> HCI Event: IO Capability Response (0x32) plen 9 #29 [hci0] 2024-01-12 22:04:54.082279
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
IO capability: DisplayYesNo (0x01)
OOB data: Authentication data not present (0x00)
Authentication: Dedicated Bonding - MITM required (0x03)
> HCI Event: IO Capability Request (0x31) plen 6 #30 [hci0] 2024-01-12 22:04:54.082280
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9 #31 [hci0] 2024-01-12 22:04:54.082330
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
IO capability: DisplayYesNo (0x01)
OOB data: Authentication data not present (0x00)
Authentication: Dedicated Bonding - MITM required (0x03)
> ACL Data RX: Handle 12 flags 0x02 dlen 10 #32 [hci0] 2024-01-12 22:04:54.082786
L2CAP: Information Request (0x0a) ident 3 len 2
Type: Fixed channels supported (0x0003)
> HCI Event: Command Complete (0x0e) plen 10 #33 [hci0] 2024-01-12 22:04:54.082949
IO Capability Request Reply (0x01|0x002b) ncmd 1
Status: Success (0x00)
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
< ACL Data TX: Handle 12 flags 0x00 dlen 20 #34 [hci0] 2024-01-12 22:04:54.083876
L2CAP: Information Response (0x0b) ident 3 len 12
Type: Fixed channels supported (0x0003)
Result: Success (0x0000)
Channels: 0x0000000000000086
L2CAP Signaling (BR/EDR)
Connectionless reception
Security Manager (BR/EDR)
> ACL Data RX: Handle 12 flags 0x02 dlen 20 #35 [hci0] 2024-01-12 22:04:54.087876
L2CAP: Information Response (0x0b) ident 2 len 12
Type: Fixed channels supported (0x0003)
Result: Success (0x0000)
Channels: 0x0000000000000082
L2CAP Signaling (BR/EDR)
Security Manager (BR/EDR)
> HCI Event: Number of Completed Packets (0x13) plen 5 #36 [hci0] 2024-01-12 22:04:54.087958
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#27: len 10 (8 Kb/s)
Latency: 10 msec (3-11 msec ~9 msec)
#34: len 20 (40 Kb/s)
Latency: 4 msec (3-11 msec ~6 msec)
> HCI Event: User Confirmation Request (0x33) plen 10 #37 [hci0] 2024-01-12 22:04:54.833395
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Passkey: 307454
@ MGMT Event: User Confirmation Request (0x000f) plen 12 {0x0002} [hci0] 2024-01-12 22:04:54.833446
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Confirm hint: 0x00
Value: 0x0004b0fe
@ MGMT Event: User Confirmation Request (0x000f) plen 12 {0x0001} [hci0] 2024-01-12 22:04:54.833446
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Confirm hint: 0x00
Value: 0x0004b0fe
@ MGMT Command: User Confirmation Reply (0x001c) plen 7 {0x0001} [hci0] 2024-01-12 22:04:59.376134
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
< HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6 #38 [hci0] 2024-01-12 22:04:59.376198
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
> HCI Event: Command Complete (0x0e) plen 10 #39 [hci0] 2024-01-12 22:04:59.384667
User Confirmation Request Reply (0x01|0x002c) ncmd 1
Status: Success (0x00)
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
@ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 2024-01-12 22:04:59.384726
User Confirmation Reply (0x001c) plen 7
Status: Success (0x00)
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
> HCI Event: Simple Pairing Complete (0x36) plen 7 #40 [hci0] 2024-01-12 22:04:59.391558
Status: Success (0x00)
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
> HCI Event: Link Key Notification (0x18) plen 23 #41 [hci0] 2024-01-12 22:04:59.411405
Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Link key: 800ef73020be4dc0a5f6c1a8b8d863d4
Key type: Authenticated Combination key from P-256 (0x08)
@ MGMT Event: New Link Key (0x0009) plen 26 {0x0002} [hci0] 2024-01-12 22:04:59.411457
Store hint: Yes (0x01)
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Key type: Authenticated Combination key from P-256 (0x08)
Link key: 800ef73020be4dc0a5f6c1a8b8d863d4
PIN length: 0
@ MGMT Event: New Link Key (0x0009) plen 26 {0x0001} [hci0] 2024-01-12 22:04:59.411457
Store hint: Yes (0x01)
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Key type: Authenticated Combination key from P-256 (0x08)
Link key: 800ef73020be4dc0a5f6c1a8b8d863d4
PIN length: 0
@ MGMT Command: Add Device (0x0033) plen 8 {0x0001} [hci0] 2024-01-12 22:04:59.413365
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Action: Allow incoming connection (0x01)
@ MGMT Event: Device Added (0x001a) plen 8 {0x0002} [hci0] 2024-01-12 22:04:59.413385
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Action: Allow incoming connection (0x01)
@ MGMT Event: Device Flags Changed (0x002a) plen 15 {0x0002} [hci0] 2024-01-12 22:04:59.413396
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Device Flags Changed (0x002a) plen 15 {0x0001} [hci0] 2024-01-12 22:04:59.413396
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Supported Flags: 0x00000001
Remote Wakeup
Current Flags: 0x00000000
@ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 2024-01-12 22:04:59.413411
Add Device (0x0033) plen 7
Status: Success (0x00)
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
> ACL Data RX: Handle 12 flags 0x02 dlen 12 #42 [hci0] 2024-01-12 22:04:59.442828
L2CAP: Connection Request (0x02) ident 4 len 4
PSM: 1 (0x0001)
Source CID: 67
< ACL Data TX: Handle 12 flags 0x00 dlen 16 #43 [hci0] 2024-01-12 22:04:59.442913
L2CAP: Connection Response (0x03) ident 4 len 8
Destination CID: 64
Source CID: 67
Result: Connection successful (0x0000)
Status: No further information available (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 23 #44 [hci0] 2024-01-12 22:04:59.442932
L2CAP: Configure Request (0x04) ident 3 len 15
Destination CID: 67
Flags: 0x0000
Option: Retransmission and Flow Control (0x04) [mandatory]
Mode: Basic (0x00)
TX window size: 0
Max transmit: 0
Retransmission timeout: 0
Monitor timeout: 0
Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5 #45 [hci0] 2024-01-12 22:04:59.446690
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#43: len 16 (42 Kb/s)
Latency: 3 msec (3-11 msec ~5 msec)
#44: len 23 (61 Kb/s)
Latency: 3 msec (3-11 msec ~4 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 16 #46 [hci0] 2024-01-12 22:04:59.447843
L2CAP: Configure Request (0x04) ident 5 len 8
Destination CID: 64
Flags: 0x0000
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
< ACL Data TX: Handle 12 flags 0x00 dlen 18 #47 [hci0] 2024-01-12 22:04:59.447883
L2CAP: Configure Response (0x05) ident 5 len 10
Source CID: 67
Flags: 0x0000
Result: Success (0x0000)
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
> ACL Data RX: Handle 12 flags 0x02 dlen 14 #48 [hci0] 2024-01-12 22:04:59.449087
L2CAP: Configure Response (0x05) ident 3 len 6
Source CID: 64
Flags: 0x0000
Result: Success (0x0000)
> ACL Data RX: Handle 12 flags 0x02 dlen 24 #49 [hci0] 2024-01-12 22:04:59.452877
Channel: 64 len 20 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Request (0x06) tid 0 len 15
Search pattern: [len 5]
Sequence (6) with 3 bytes [8 extra bits] len 5
UUID (3) with 2 bytes [0 extra bits] len 3
PnP Information (0x1200)
Max record count: 1008
Attribute list: [len 7]
Sequence (6) with 5 bytes [8 extra bits] len 7
Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
0x0000ffff
Continuation state: 0
< ACL Data TX: Handle 12 flags 0x00 dlen 88 #50 [hci0] 2024-01-12 22:04:59.453802
Channel: 67 len 84 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Response (0x07) tid 0 len 79
Attribute bytes: 76
Attribute list: [len 72] {position 0}
Attribute: Service Record Handle (0x0000) [len 2]
0x00010000
Attribute: Service Class ID List (0x0001) [len 2]
UUID (3) with 2 bytes [0 extra bits] len 3
PnP Information (0x1200)
Attribute: Browse Group List (0x0005) [len 2]
UUID (3) with 2 bytes [0 extra bits] len 3
Public Browse Root (0x1002)
Attribute: Bluetooth Profile Descriptor List (0x0009) [len 2]
Sequence (6) with 6 bytes [8 extra bits] len 8
UUID (3) with 2 bytes [0 extra bits] len 3
PnP Information (0x1200)
Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
0x0103
Attribute: Unknown (0x0200) [len 2]
0x0103
Attribute: Unknown (0x0201) [len 2]
0x1d6b
Attribute: Unknown (0x0202) [len 2]
0x0246
Attribute: Unknown (0x0203) [len 2]
0x0547
Attribute: Unknown (0x0204) [len 2]
true
Attribute: Unknown (0x0205) [len 2]
0x0002
Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5 #51 [hci0] 2024-01-12 22:04:59.457950
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#47: len 18 (14 Kb/s)
Latency: 10 msec (3-11 msec ~7 msec)
#50: len 88 (176 Kb/s)
Latency: 4 msec (3-11 msec ~5 msec)
Channel: 67 [PSM 1 mode Basic (0x00)] {chan 0}
Channel Latency: 4 msec (4-4 msec ~4 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 12 #52 [hci0] 2024-01-12 22:04:59.460323
L2CAP: Disconnection Request (0x06) ident 6 len 4
Destination CID: 64
Source CID: 67
< ACL Data TX: Handle 12 flags 0x00 dlen 12 #53 [hci0] 2024-01-12 22:04:59.460385
L2CAP: Disconnection Response (0x07) ident 6 len 4
Destination CID: 64
Source CID: 67
> ACL Data RX: Handle 12 flags 0x02 dlen 12 #54 [hci0] 2024-01-12 22:04:59.461566
L2CAP: Connection Request (0x02) ident 7 len 4
PSM: 1 (0x0001)
Source CID: 68
< ACL Data TX: Handle 12 flags 0x00 dlen 16 #55 [hci0] 2024-01-12 22:04:59.461635
L2CAP: Connection Response (0x03) ident 7 len 8
Destination CID: 64
Source CID: 68
Result: Connection successful (0x0000)
Status: No further information available (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 23 #56 [hci0] 2024-01-12 22:04:59.461650
L2CAP: Configure Request (0x04) ident 4 len 15
Destination CID: 68
Flags: 0x0000
Option: Retransmission and Flow Control (0x04) [mandatory]
Mode: Basic (0x00)
TX window size: 0
Max transmit: 0
Retransmission timeout: 0
Monitor timeout: 0
Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5 #57 [hci0] 2024-01-12 22:04:59.464163
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#53: len 12 (32 Kb/s)
Latency: 3 msec (3-11 msec ~4 msec)
#55: len 16 (64 Kb/s)
Latency: 2 msec (2-11 msec ~3 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 16 #58 [hci0] 2024-01-12 22:04:59.465374
L2CAP: Configure Request (0x04) ident 8 len 8
Destination CID: 64
Flags: 0x0000
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
< ACL Data TX: Handle 12 flags 0x00 dlen 18 #59 [hci0] 2024-01-12 22:04:59.465486
L2CAP: Configure Response (0x05) ident 8 len 10
Source CID: 68
Flags: 0x0000
Result: Success (0x0000)
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
> ACL Data RX: Handle 12 flags 0x02 dlen 14 #60 [hci0] 2024-01-12 22:04:59.466585
L2CAP: Configure Response (0x05) ident 4 len 6
Source CID: 64
Flags: 0x0000
Result: Success (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5 #61 [hci0] 2024-01-12 22:04:59.467947
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#56: len 23 (30 Kb/s)
Latency: 6 msec (2-11 msec ~4 msec)
#59: len 18 (72 Kb/s)
Latency: 2 msec (2-11 msec ~3 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 24 #62 [hci0] 2024-01-12 22:04:59.469115
Channel: 64 len 20 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Request (0x06) tid 0 len 15
Search pattern: [len 5]
Sequence (6) with 3 bytes [8 extra bits] len 5
UUID (3) with 2 bytes [0 extra bits] len 3
L2CAP (0x0100)
Max record count: 1008
Attribute list: [len 7]
Sequence (6) with 5 bytes [8 extra bits] len 7
Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
0x0000ffff
Continuation state: 0
< ACL Data TX: Handle 12 flags 0x00 dlen 560 #63 [hci0] 2024-01-12 22:04:59.469668
Channel: 68 len 556 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Response (0x07) tid 0 len 551
Attribute bytes: 548
<deleted to save space>
> ACL Data RX: Handle 12 flags 0x02 dlen 12 #64 [hci0] 2024-01-12 22:04:59.481570
L2CAP: Disconnection Request (0x06) ident 9 len 4
Destination CID: 64
Source CID: 68
< ACL Data TX: Handle 12 flags 0x00 dlen 12 #65 [hci0] 2024-01-12 22:04:59.481640
L2CAP: Disconnection Response (0x07) ident 9 len 4
Destination CID: 64
Source CID: 68
> HCI Event: Number of Completed Packets (0x13) plen 5 #66 [hci0] 2024-01-12 22:04:59.484193
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#63: len 560 (320 Kb/s)
Latency: 14 msec (2-14 msec ~9 msec)
Channel: 68 [PSM 1 mode Basic (0x00)] {chan 0}
Channel Latency: 14 msec (14-14 msec ~14 msec)
#65: len 12 (48 Kb/s)
Latency: 2 msec (2-14 msec ~5 msec)
< ACL Data TX: Handle 12 flags 0x00 dlen 12 #67 [hci0] 2024-01-12 22:05:00.285937
L2CAP: Connection Request (0x02) ident 5 len 4
PSM: 1 (0x0001)
Source CID: 64
> ACL Data RX: Handle 12 flags 0x02 dlen 16 #68 [hci0] 2024-01-12 22:05:00.320367
L2CAP: Connection Response (0x03) ident 5 len 8
Destination CID: 69
Source CID: 64
Result: Connection successful (0x0000)
Status: No further information available (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 23 #69 [hci0] 2024-01-12 22:05:00.320426
L2CAP: Configure Request (0x04) ident 6 len 15
Destination CID: 69
Flags: 0x0000
Option: Retransmission and Flow Control (0x04) [mandatory]
Mode: Basic (0x00)
TX window size: 0
Max transmit: 0
Retransmission timeout: 0
Monitor timeout: 0
Maximum PDU size: 0
> ACL Data RX: Handle 12 flags 0x02 dlen 16 #70 [hci0] 2024-01-12 22:05:00.321597
L2CAP: Configure Request (0x04) ident 10 len 8
Destination CID: 64
Flags: 0x0000
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
< ACL Data TX: Handle 12 flags 0x00 dlen 18 #71 [hci0] 2024-01-12 22:05:00.321651
L2CAP: Configure Response (0x05) ident 10 len 10
Source CID: 69
Flags: 0x0000
Result: Success (0x0000)
Option: Maximum Transmission Unit (0x01) [mandatory]
MTU: 1024
> HCI Event: Number of Completed Packets (0x13) plen 5 #72 [hci0] 2024-01-12 22:05:00.322933
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#67: len 12 (2 Kb/s)
Latency: 36 msec (2-36 msec ~21 msec)
#69: len 23 (92 Kb/s)
Latency: 2 msec (2-36 msec ~11 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 14 #73 [hci0] 2024-01-12 22:05:00.330285
L2CAP: Configure Response (0x05) ident 6 len 6
Source CID: 64
Flags: 0x0000
Result: Success (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 24 #74 [hci0] 2024-01-12 22:05:00.330508
Channel: 69 len 20 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Request (0x06) tid 0 len 15
Search pattern: [len 5]
Sequence (6) with 3 bytes [8 extra bits] len 5
UUID (3) with 2 bytes [0 extra bits] len 3
L2CAP (0x0100)
Max record count: 65535
Attribute list: [len 7]
Sequence (6) with 5 bytes [8 extra bits] len 7
Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
0x0000ffff
Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5 #75 [hci0] 2024-01-12 22:05:00.334209
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#71: len 18 (12 Kb/s)
Latency: 12 msec (2-36 msec ~12 msec)
#74: len 24 (64 Kb/s)
Latency: 3 msec (2-36 msec ~7 msec)
Channel: 69 [PSM 1 mode Basic (0x00)] {chan 0}
Channel Latency: 3 msec (3-3 msec ~3 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 676 #76 [hci0] 2024-01-12 22:05:00.344142
Channel: 64 len 672 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Response (0x07) tid 0 len 667
Attribute bytes: 662
Continuation state: 2
02 96 ..
< ACL Data TX: Handle 12 flags 0x00 dlen 26 #77 [hci0] 2024-01-12 22:05:00.344400
Channel: 69 len 22 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Request (0x06) tid 1 len 17
Search pattern: [len 5]
Sequence (6) with 3 bytes [8 extra bits] len 5
UUID (3) with 2 bytes [0 extra bits] len 3
L2CAP (0x0100)
Max record count: 65535
Attribute list: [len 7]
Sequence (6) with 5 bytes [8 extra bits] len 7
Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
0x0000ffff
Continuation state: 2
02 96 ..
> ACL Data RX: Handle 12 flags 0x02 dlen 653 #78 [hci0] 2024-01-12 22:05:00.359016
Channel: 64 len 649 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Response (0x07) tid 1 len 644
Attribute bytes: 641
Continuation state: 0
Combined attribute bytes: 1303
<deleted to save space>
< ACL Data TX: Handle 12 flags 0x00 dlen 24 #79 [hci0] 2024-01-12 22:05:00.376209
Channel: 69 len 20 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Request (0x06) tid 2 len 15
Search pattern: [len 5]
Sequence (6) with 3 bytes [8 extra bits] len 5
UUID (3) with 2 bytes [0 extra bits] len 3
PnP Information (0x1200)
Max record count: 65535
Attribute list: [len 7]
Sequence (6) with 5 bytes [8 extra bits] len 7
Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
0x0000ffff
Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5 #80 [hci0] 2024-01-12 22:05:00.379210
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 2
#77: len 26 (6 Kb/s)
Latency: 34 msec (2-36 msec ~21 msec)
Channel: 69 [PSM 1 mode Basic (0x00)] {chan 0}
Channel Latency: 34 msec (3-34 msec ~19 msec)
#79: len 24 (64 Kb/s)
Latency: 3 msec (2-36 msec ~12 msec)
Channel: 69 [PSM 1 mode Basic (0x00)] {chan 0}
Channel Latency: 3 msec (3-34 msec ~11 msec)
> ACL Data RX: Handle 12 flags 0x02 dlen 68 #81 [hci0] 2024-01-12 22:05:00.383043
Channel: 64 len 64 [PSM 1 mode Basic (0x00)] {chan 0}
SDP: Service Search Attribute Response (0x07) tid 2 len 59
Attribute bytes: 56
Attribute list: [len 51] {position 0}
Attribute: Service Record Handle (0x0000) [len 2]
0x00010002
Attribute: Service Class ID List (0x0001) [len 2]
UUID (3) with 2 bytes [0 extra bits] len 3
PnP Information (0x1200)
Attribute: Unknown (0x0200) [len 2]
0x0103
Attribute: Unknown (0x0201) [len 2]
0x00e0
Attribute: Unknown (0x0202) [len 2]
0x1200
Attribute: Unknown (0x0203) [len 2]
0x1436
Attribute: Unknown (0x0204) [len 2]
true
Attribute: Unknown (0x0205) [len 2]
0x0001
Continuation state: 0
< ACL Data TX: Handle 12 flags 0x00 dlen 12 #82 [hci0] 2024-01-12 22:05:02.287326
L2CAP: Disconnection Request (0x06) ident 7 len 4
Destination CID: 69
Source CID: 64
> ACL Data RX: Handle 12 flags 0x02 dlen 12 #83 [hci0] 2024-01-12 22:05:02.321602
L2CAP: Disconnection Response (0x07) ident 7 len 4
Destination CID: 69
Source CID: 64
> HCI Event: Number of Completed Packets (0x13) plen 5 #84 [hci0] 2024-01-12 22:05:02.519818
Num handles: 1
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Count: 1
#82: len 12 (0 Kb/s)
Latency: 232 msec (2-232 msec ~122 msec)
< HCI Command: Disconnect (0x01|0x0006) plen 3 #85 [hci0] 2024-01-12 22:05:06.333895
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4 #86 [hci0] 2024-01-12 22:05:06.334275
Disconnect (0x01|0x0006) ncmd 1
Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4 #87 [hci0] 2024-01-12 22:05:06.426634
Status: Success (0x00)
Handle: 12 Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0002} [hci0] 2024-01-12 22:05:06.426672
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Reason: Connection terminated by local host (0x02)
@ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 2024-01-12 22:05:06.426672
BR/EDR Address: XX:XX:XX:XX:XX:XX(Google, Inc.)
Reason: Connection terminated by local host (0x02)
@ MGMT Close: bluetoothctl {0x0002} 2024-01-12 22:05:16.672820
@ MGMT Command: Set Bondable (0x0009) plen 1 {0x0001} [hci0] 2024-01-12 22:05:16.681948
Bondable: Disabled (0x00)
@ MGMT Event: Command Complete (0x0001) plen 7 {0x0001} [hci0] 2024-01-12 22:05:16.681971
Set Bondable (0x0009) plen 4
Status: Success (0x00)
Current settings: 0x00000acb
Powered
Connectable
Discoverable
Secure Simple Pairing
BR/EDR
Low Energy
Secure Connections
[/code]
areed
 
Posts: 1
Joined: Sun Jan 14, 2024 10:52 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests