Android Pixel 6 Pro unable to complete Bluetooth Connection Reason code 0x08 and Wrong link type (-22)

Open
#4,847 22 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, linux

Research direction

Start at net/bluetooth/l2cap_core.c around line 6382 and reproduce the failure with the BlueZ study-guide sample, the listed Android devices, and btmon. Compare the Enhanced Credit Connection Request and subsequent kernel and bluetoothd logs to determine why service discovery stops. Done means the devices complete discovery and remain connected without the timeout or “Wrong link type (-22)” error.

Written by the indexing model from the issue text.

Description

Describe the bug

A few Android devices are unable to successfully establish a bluetooth connection to the Raspberry Pi 4.
The devices connect, and after 5 seconds, it is disconnected with a timeout reason code 0x08.

> HCI Event: Disconnect Complete (0x05) plen 4
        Status: Success (0x00)
        Handle: 64
        Reason: Connection Timeout (0x08)
@ MGMT Event: Device Disconnected (0x000c) plen 8
        LE Address: 54:FA:15:75:50:1B (Resolvable)
        Reason: Connection timeout (0x01)
@ MGMT Event: Device Disconnected (0x000c) plen 8
        LE Address: 54:FA:15:75:50:1B (Resolvable)
        Reason: Connection timeout (0x01)

The following Android devices have shown this behavior:

  • Pixel Pro 6 - Android 12
  • Samsung Galaxy S10 - Android 10
  • Samsung Galaxy S21 Ultra

After connection, this message can be seen in the journal and dmesg:
raspberrypi kernel: Bluetooth: Wrong link type (-22)

The issue seems to be that during the discovery phase something goes wrong at the kernel level and the the device and raspi never completes the discovery phase. Bluez never receives the request for discovery and therefore the connection is closed due to timeout.

The log can be traced back to here: https://github.com/raspberrypi/linux/blob/2697f7403187bb2bb61cc716f33ee9f6cfb9af7c/net/bluetooth/l2cap_core.c#L6382

Steps to reproduce the behaviour
  • Download the Bluez study guide for Linux and transfer the code to the pi

  • Install python3-dbus sudo apt-get install python3-dbus

  • stop the bluetooth service sudo systemctl stop bluetooth

  • Verify the path for the bluetoothd ExecPath: $ grep Exec /lib/systemd/system/bluetooth.service

  • Run bluetooth service manually in debug and detached mode: sudo /usr/libexec/bluetooth/bluetoothd -d -n

  • Run the sample code sudo python server_advertisement.py

  • Launch nRF Connect app on one of these Android devices:

    • Pixel Pro 6 - Android 12, Samsung Galaxy S10 - Android 10, Samsung Galaxy S21 Ultra
  • Scan and connect to raspi

The client will connect, start discovering services and after 5 seconds on inactivity the device will be disconnected.

Device (s)

Raspberry Pi 4 Mod. B

System
$ cat /etc/rpi-issue
Raspberry Pi reference 2021-10-30
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 288b21fc27e128ea6b330777aca68e0061ebf4fe, stage2
$ vcgencmd version
Oct 29 2021 10:47:33
Copyright (c) 2012 Broadcom
version b8a114e5a9877e91ca8f26d1a5ce904b2ad3cf13 (clean) (release) (start)
$ uname -a
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux
$ modinfo bluetooth
filename:       /lib/modules/5.10.63-v7l+/kernel/net/bluetooth/bluetooth.ko
alias:          net-pf-31
license:        GPL
version:        2.22
description:    Bluetooth Core ver 2.22
author:         Marcel Holtmann <marcel@holtmann.org>
srcversion:     45D3D4C44F9D5986B018E4D
depends:        rfkill,ecdh_generic
intree:         Y
name:           bluetooth
vermagic:       5.10.63-v7l+ SMP mod_unload modversions ARMv7 p2v8
parm:           disable_esco:Disable eSCO connection creation (bool)
parm:           disable_ertm:Disable enhanced retransmission mode (bool)
parm:           enable_ecred:Enable enhanced credit flow control mode (bool)
$ /usr/libexec/bluetooth/bluetoothd --version
5.55
Logs

Logs when Android Pixel 6 Pro connects and then is disconnected.

Journal

Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/adapter.c:connected_callback() hci0 device 78:E5:C9:D0:57:CC connected eir_len 0
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:device_create() dst 78:E5:C9:D0:57:CC
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:device_new() address 78:E5:C9:D0:57:CC
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_78_E5_C9_D0_57_CC
Jan 25 21:05:09 raspberrypi systemd[691]: Reached target Bluetooth.
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/gatt-database.c:connect_cb() New incoming LE ATT connection
Jan 25 21:05:09 raspberrypi bluetoothd[951]: attrib/gattrib.c:g_attrib_ref() 0x15468a8: g_attrib_ref=1
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() Restoring 78:E5:C9:D0:57:CC gatt database from file
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() No cache for 78:E5:C9:D0:57:CC
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_connected() Device connected.
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0001 end: 0xffff
Jan 25 21:05:09 raspberrypi kernel: Bluetooth: Wrong link type (-22)
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() MTU exchange complete, with MTU: 517
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0013 end: 0xffff
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0001 end: 0x0005
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Primary services found: 2
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0001, end: 0x0009, uuid: 00001801-0000-1000-8000-00805f9b34fb
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0014, end: 0xffff, uuid: 00001800-0000-1000-8000-00805f9b34fb
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0001 end: 0x0005
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0005 end: 0x0005
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Server Features found: handle 0x0005 length 0x0001 value 0x01
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0006 end: 0x000f
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0006 end: 0x000f
Jan 25 21:05:09 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x000f end: 0x000f



Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/adapter.c:dev_disconnected() Device 78:E5:C9:D0:57:CC disconnected, reason 1
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/adapter.c:adapter_remove_connection()
Jan 25 21:05:14 raspberrypi bluetoothd[951]: plugins/policy.c:disconnect_cb() reason 1
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 78:E5:C9:D0:57:CC type 2 status 0xe
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:device_bonding_failed() status 14
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/adapter.c:resume_discovery()
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() service disappeared: start 0x0001 end 0x0009
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() service disappeared: start 0x0014 end 0xffff
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Failed to initialize gatt-client
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:gatt_client_ready_cb() status: failed, error: 0
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_78_E5_C9_D0_57_CC err -5
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:att_disconnected_cb()
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:att_disconnected_cb() Connection timed out (110)
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_disconnected() Device disconnected. Cleaning up.
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/device.c:att_disconnected_cb() Automatic connection disabled
Jan 25 21:05:14 raspberrypi bluetoothd[951]: src/gatt-database.c:btd_gatt_database_att_disconnected()
Jan 25 21:05:14 raspberrypi bluetoothd[951]: attrib/gattrib.c:g_attrib_unref() 0x15468a8: g_attrib_unref=0
Jan 25 21:05:45 raspberrypi bluetoothd[951]: src/device.c:device_remove() Removing device /org/bluez/hci0/dev_78_E5_C9_D0_57_CC
Jan 25 21:05:45 raspberrypi bluetoothd[951]: src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_78_E5_C9_D0_57_CC
Jan 25 21:05:45 raspberrypi bluetoothd[951]: src/device.c:device_free() 0x1546318

btmon:

> HCI Event: LE Meta Event (0x3e) plen 19                                                                                                                       #111 [hci0] 2022-01-25 21:05:09.028707
      LE Connection Complete (0x01)
        Status: Success (0x00)
        Handle: 64
        Role: Slave (0x01)
        Peer address type: Random (0x01)
        Peer address: 78:E5:C9:D0:57:CC (Resolvable)
        Connection interval: 45.00 msec (0x0024)
        Connection latency: 0 (0x0000)
        Supervision timeout: 5000 msec (0x01f4)
        Master clock accuracy: 0x01
@ MGMT Event: Device Connected (0x000b) plen 13                                                                                                             {0x0001} [hci0] 2022-01-25 21:05:09.028782
        LE Address: 78:E5:C9:D0:57:CC (Resolvable)
        Flags: 0x00000000
        Data length: 0
> HCI Event: Vendor (0xff) plen 5                                                                                                                               #112 [hci0] 2022-01-25 21:05:09.028717
        55 00 00 40 00                                   U..@.
< HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2                                                                                                #113 [hci0] 2022-01-25 21:05:09.029005
        Handle: 64
> HCI Event: Command Status (0x0f) plen 4                                                                                                                       #114 [hci0] 2022-01-25 21:05:09.030325
      LE Read Remote Used Features (0x08|0x0016) ncmd 1
        Status: Success (0x00)
> HCI Event: Command Complete (0x0e) plen 14                                                                                                                    #115 [hci0] 2022-01-25 21:05:09.030337
      LE Read Remote Used Features (0x08|0x0016) ncmd 1
        Status: Success (0x00)
        00 00 00 00 00 00 00 00 00 00                    ..........
> HCI Event: LE Meta Event (0x3e) plen 12                                                                                                                       #116 [hci0] 2022-01-25 21:05:09.132805
      LE Read Remote Used Features (0x04)
        Status: Success (0x00)
        Handle: 64
        Features: 0x2f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Slave-initiated Features Exchange
          LE Data Packet Length Extension
= bluetoothd: src/device.c:load_gatt_db() No cache for 78:E5:C9:D0:57:CC                                                                                                    2022-01-25 21:05:09.134028
< ACL Data TX: Handle 64 flags 0x00 dlen 7                                                                                                                      #117 [hci0] 2022-01-25 21:05:09.134350
      ATT: Exchange MTU Request (0x02) len 2
        Client RX MTU: 517
> ACL Data RX: Handle 64 flags 0x02 dlen 26                                                                                                                     #118 [hci0] 2022-01-25 21:05:09.223062
      LE L2CAP: Enhanced Credit Connection Request (0x17) ident 2 len 18
        PSM: 39 (0x0027)
        MTU: 256
        MPS: 251
        Credits: 65535
        Source CID: 251
        Source CID: 65535
        Source CID: 76
        Source CID: 67
        Source CID: 70
        Source CID: 65
        Source CID: 72
< ACL Data TX: Handle 64 flags 0x00 dlen 10                                                                                                                     #119 [hci0] 2022-01-25 21:05:09.223144
      LE L2CAP: Command Reject (0x01) ident 2 len 2
        Reason: Command not understood (0x0000)
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #120 [hci0] 2022-01-25 21:05:09.223617
      ATT: Read By Group Type Request (0x10) len 6
        Handle range: 0x0001-0xffff
        Attribute group type: Primary Service (0x2800)
< ACL Data TX: Handle 64 flags 0x00 dlen 24                                                                                                                     #121 [hci0] 2022-01-25 21:05:09.224017
      ATT: Read By Group Type Response (0x11) len 19
        Attribute data length: 6
        Attribute group list: 3 entries
        Handle range: 0x0001-0x0005
        UUID: Generic Access Profile (0x1800)
        Handle range: 0x0006-0x000f
        UUID: Generic Attribute Profile (0x1801)
        Handle range: 0x0010-0x0012
        UUID: Device Information (0x180a)
> HCI Event: LE Meta Event (0x3e) plen 11                                                                                                                       #122 [hci0] 2022-01-25 21:05:09.312914
      LE Remote Connection Parameter Request (0x06)
        Handle: 64
        Min connection interval: 7.50 msec (0x0006)
        Max connection interval: 7.50 msec (0x0006)
        Connection latency: 0 (0x0000)
        Supervision timeout: 5000 msec (0x01f4)
< HCI Command: LE Remote Connection Parameter Request Reply (0x08|0x0020) plen 14                                                                               #123 [hci0] 2022-01-25 21:05:09.312994
        Handle: 64
        Min connection interval: 7.50 msec (0x0006)
        Max connection interval: 7.50 msec (0x0006)
        Connection latency: 0 (0x0000)
        Supervision timeout: 5000 msec (0x01f4)
        Min connection length: 0.000 msec (0x0000)
        Max connection length: 0.000 msec (0x0000)
> HCI Event: Command Complete (0x0e) plen 6                                                                                                                     #124 [hci0] 2022-01-25 21:05:09.315462
      LE Remote Connection Parameter Request Reply (0x08|0x0020) ncmd 1
        Status: Success (0x00)
        Handle: 64
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #125 [hci0] 2022-01-25 21:05:09.538470
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 7                                                                                                                      #126 [hci0] 2022-01-25 21:05:09.582432
      ATT: Exchange MTU Response (0x03) len 2
        Server RX MTU: 517
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #127 [hci0] 2022-01-25 21:05:09.582850
      ATT: Read By Group Type Request (0x10) len 6
        Handle range: 0x0013-0xffff
        Attribute group type: Primary Service (0x2800)
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #128 [hci0] 2022-01-25 21:05:09.582972
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0xffff
        Attribute type: Unknown (0x2b3a)
< ACL Data TX: Handle 64 flags 0x00 dlen 9                                                                                                                      #129 [hci0] 2022-01-25 21:05:09.583242
      ATT: Error Response (0x01) len 4
        Read By Group Type Request (0x10)
        Handle: 0x0013
        Error: Attribute Not Found (0x0a)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #130 [hci0] 2022-01-25 21:05:09.627901
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 9                                                                                                                      #131 [hci0] 2022-01-25 21:05:09.672484
      ATT: Read By Type Response (0x09) len 4
        Attribute data length: 3
        Attribute data list: 1 entry
        Handle: 0x0005
        Value: 01
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #132 [hci0] 2022-01-25 21:05:09.672837
      ATT: Read By Group Type Request (0x10) len 6
        Handle range: 0x0001-0xffff
        Attribute group type: Primary Service (0x2800)
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #133 [hci0] 2022-01-25 21:05:09.672863
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0x0005
        Attribute type: Include (0x2802)
< ACL Data TX: Handle 64 flags 0x00 dlen 9                                                                                                                      #134 [hci0] 2022-01-25 21:05:09.673203
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x0001
        Error: Attribute Not Found (0x0a)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #135 [hci0] 2022-01-25 21:05:09.717902
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 18                                                                                                                     #136 [hci0] 2022-01-25 21:05:09.762529
      ATT: Read By Group Type Response (0x11) len 13
        Attribute data length: 6
        Attribute group list: 2 entries
        Handle range: 0x0001-0x0009
        UUID: Generic Attribute Profile (0x1801)
        Handle range: 0x0014-0xffff
        UUID: Generic Access Profile (0x1800)
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #137 [hci0] 2022-01-25 21:05:09.762923
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0x0005
        Attribute type: Characteristic (0x2803)
< ACL Data TX: Handle 64 flags 0x00 dlen 20                                                                                                                     #138 [hci0] 2022-01-25 21:05:09.765084
      ATT: Read By Type Response (0x09) len 15
        Attribute data length: 7
        Attribute data list: 2 entries
        Handle: 0x0002
        Value: 020300002a
        Handle: 0x0004
        Value: 020500012a
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #139 [hci0] 2022-01-25 21:05:09.765130
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0006-0xffff
        Attribute type: Unknown (0x2b3a)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #140 [hci0] 2022-01-25 21:05:09.815464
        Num handles: 1
        Handle: 64
        Count: 2
> HCI Event: LE Meta Event (0x3e) plen 10                                                                                                                       #141 [hci0] 2022-01-25 21:05:09.815962
      LE Connection Update Complete (0x03)
        Status: Success (0x00)
        Handle: 64
        Connection interval: 7.50 msec (0x0006)
        Connection latency: 0 (0x0000)
        Supervision timeout: 5000 msec (0x01f4)
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #142 [hci0] 2022-01-25 21:05:09.830373
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0005-0x0005
        Attribute type: Characteristic (0x2803)
< ACL Data TX: Handle 64 flags 0x00 dlen 9                                                                                                                      #143 [hci0] 2022-01-25 21:05:09.830792
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x0005
        Error: Attribute Not Found (0x0a)
> ACL Data RX: Handle 64 flags 0x02 dlen 9                                                                                                                      #144 [hci0] 2022-01-25 21:05:09.844853
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x0006
        Error: Attribute Not Found (0x0a)
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #145 [hci0] 2022-01-25 21:05:09.845272
      ATT: Read By Group Type Request (0x10) len 6
        Handle range: 0x0001-0xffff
        Attribute group type: Secondary Service (0x2801)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #146 [hci0] 2022-01-25 21:05:09.875370
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #147 [hci0] 2022-01-25 21:05:09.890303
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0006-0x000f
        Attribute type: Include (0x2802)
< ACL Data TX: Handle 64 flags 0x00 dlen 9                                                                                                                      #148 [hci0] 2022-01-25 21:05:09.890745
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x0006
        Error: Attribute Not Found (0x0a)
> ACL Data RX: Handle 64 flags 0x02 dlen 9                                                                                                                      #149 [hci0] 2022-01-25 21:05:09.891010
      ATT: Error Response (0x01) len 4
        Read By Group Type Request (0x10)
        Handle: 0x0001
        Error: Unsupported Group Type (0x10)
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #150 [hci0] 2022-01-25 21:05:09.891270
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0xffff
        Attribute type: Include (0x2802)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #151 [hci0] 2022-01-25 21:05:09.905368
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #152 [hci0] 2022-01-25 21:05:09.919955
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0006-0x000f
        Attribute type: Characteristic (0x2803)
> ACL Data RX: Handle 64 flags 0x02 dlen 9                                                                                                                      #153 [hci0] 2022-01-25 21:05:09.920354
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x0001
        Error: Attribute Not Found (0x0a)
< ACL Data TX: Handle 64 flags 0x00 dlen 34                                                                                                                     #154 [hci0] 2022-01-25 21:05:09.920437
      ATT: Read By Type Response (0x09) len 29
        Attribute data length: 7
        Attribute data list: 4 entries
        Handle: 0x0007
        Value: 200800052a
        Handle: 0x000a
        Value: 0a0b00292b
        Handle: 0x000c
        Value: 020d002a2b
        Handle: 0x000e
        Value: 020f003a2b
< ACL Data TX: Handle 64 flags 0x00 dlen 11                                                                                                                     #155 [hci0] 2022-01-25 21:05:09.920542
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0xffff
        Attribute type: Characteristic (0x2803)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #156 [hci0] 2022-01-25 21:05:09.936035
        Num handles: 1
        Handle: 64
        Count: 2
> ACL Data RX: Handle 64 flags 0x02 dlen 11                                                                                                                     #157 [hci0] 2022-01-25 21:05:09.949955
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x000f-0x000f
        Attribute type: Characteristic (0x2803)
< ACL Data TX: Handle 64 flags 0x00 dlen 9                                                                                                                      #158 [hci0] 2022-01-25 21:05:09.950364
      ATT: Error Response (0x01) len 4
        Read By Type Request (0x08)
        Handle: 0x000f
        Error: Attribute Not Found (0x0a)
< HCI Command: LE Set Advertising Parameters (0x08|0x0006) plen 15                                                                                              #159 [hci0] 2022-01-25 21:05:10.078360
        Min advertising interval: 1280.000 msec (0x0800)
        Max advertising interval: 1280.000 msec (0x0800)
        Type: Connectable undirected - ADV_IND (0x00)
        Own address type: Public (0x00)
        Direct address type: Public (0x00)
        Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
        Channel map: 37, 38, 39 (0x07)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                                                                                     #160 [hci0] 2022-01-25 21:05:10.078816
      LE Set Advertising Parameters (0x08|0x0006) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1                                                                                                     #161 [hci0] 2022-01-25 21:05:10.078886
        Advertising: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                                                                                                                     #162 [hci0] 2022-01-25 21:05:10.079272
      LE Set Advertise Enable (0x08|0x000a) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #163 [hci0] 2022-01-25 21:05:10.152271
        Num handles: 1
        Handle: 64
        Count: 1



> HCI Event: Number of Completed Packets (0x13) plen 5                                                                                                          #164 [hci0] 2022-01-25 21:05:14.953336
        Num handles: 1
        Handle: 64
        Count: 1
> HCI Event: Disconnect Complete (0x05) plen 4                                                                                                                  #165 [hci0] 2022-01-25 21:05:14.953389
        Status: Success (0x00)
        Handle: 64
        Reason: Connection Timeout (0x08)
@ MGMT Event: Device Disconnected (0x000c) plen 8                                                                                                           {0x0001} [hci0] 2022-01-25 21:05:14.953424
        LE Address: 78:E5:C9:D0:57:CC (Resolvable)
        Reason: Connection timeout (0x01)

bluetoothctl

[NEW] Device 78:E5:C9:D0:57:CC 78-E5-C9-D0-57-CC
[CHG] Device 78:E5:C9:D0:57:CC Connected: no
[DEL] Device 78:E5:C9:D0:57:CC 78-E5-C9-D0-57-CC

nRF Connect (Phone log)

nRF Connect, 2022-01-25
Hello (DC:A6:32:05:89:E9)
D   14:10:18.573    gatt.close()
D   14:10:18.574    wait(200)
V   14:10:18.775    Connecting to DC:A6:32:05:89:E9...
D   14:10:18.775    gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D   14:10:19.866    [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I   14:10:19.866    Connected to DC:A6:32:05:89:E9
V   14:10:19.879    Discovering services...
D   14:10:19.879    gatt.discoverServices()
D   14:10:19.883    [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
I   14:10:20.500    Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D   14:10:25.653    [Callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I   14:10:25.653    Disconnected
D   14:10:25.675    [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
Additional context

The same test was performed with these 2 other phones and the connection is successful and no warning about Bluetooth: Wrong link type (-22) is output.

Journal logs for Pixel 1 device:

Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/adapter.c:connected_callback() hci0 device 63:C1:07:5E:4C:77 connected eir_len 0
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:device_create() dst 63:C1:07:5E:4C:77
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:device_new() address 63:C1:07:5E:4C:77
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_63_C1_07_5E_4C_77
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/gatt-database.c:connect_cb() New incoming LE ATT connection
Jan 25 21:16:25 raspberrypi bluetoothd[951]: attrib/gattrib.c:g_attrib_ref() 0x1541c88: g_attrib_ref=1
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() Restoring 63:C1:07:5E:4C:77 gatt database from file
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() No cache for 63:C1:07:5E:4C:77
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_connected() Device connected.
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() MTU exchange complete, with MTU: 517
Jan 25 21:16:25 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0001 end: 0xffff
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0013 end: 0xffff
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0001 end: 0x0005
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Primary services found: 4
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0001, end: 0x0003, uuid: 00001801-0000-1000-8000-00805f9b34fb
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0014, end: 0x001a, uuid: 00001800-0000-1000-8000-00805f9b34fb
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0028, end: 0x0033, uuid: 16bcfd00-253f-c348-e831-0db3e334d580
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0034, end: 0xffff, uuid: abbafc00-e56a-484c-b832-8b17cf6cbfe8
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0001 end: 0x0005
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0005 end: 0x0005
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0006 end: 0x000f
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0006 end: 0x000f
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x000f end: 0x000f
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Find Info - start: 0x0009 end: 0x0009
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Characteristics found: 11
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0002, end: 0x0014, value: 0x0003, props: 0x20, uuid: 00002a05-0000-1
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0015, end: 0x0016, value: 0x0016, props: 0x02, uuid: 00002a00-0000-1
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0017, end: 0x0018, value: 0x0018, props: 0x02, uuid: 00002a01-0000-1
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0019, end: 0x0028, value: 0x001a, props: 0x02, uuid: 00002aa6-0000-1
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0029, end: 0x002b, value: 0x002a, props: 0x12, uuid: 16bcfd04-253f-c
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x002c, end: 0x002e, value: 0x002d, props: 0x10, uuid: 16bcfd02-253f-c
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x002f, end: 0x0030, value: 0x0030, props: 0x08, uuid: 16bcfd01-253f-c
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0031, end: 0x0034, value: 0x0032, props: 0x10, uuid: 16bcfd03-253f-c
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0035, end: 0x0037, value: 0x0036, props: 0x12, uuid: abbafc01-e56a-4
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0038, end: 0x003a, value: 0x0039, props: 0x12, uuid: abbafc02-e56a-4
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x003b, end: 0xffff, value: 0x003c, props: 0x10, uuid: abbafc03-e56a-4
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0010 end: 0x0012
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0010 end: 0x0012
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 1
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x003d, uuid: 00002902-0000-1000-8000-00805f9b34fb
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Registered handler for "Service Changed": 0
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_client_ready_cb() status: success, error: 0
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 63:C1:07:5E:4C:77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 63:C1:07:5E:4C:77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: profiles/gap/gas.c:gap_probe() GAP profile probe (63:C1:07:5E:4C:77)
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x153c018: device 63:C1:07:5E:4C:77 profile gap-profile state changed: unavailable -> disconnected (0)
Jan 25 21:16:26 raspberrypi bluetoothd[951]: profiles/gap/gas.c:gap_accept() GAP profile accept (63:C1:07:5E:4C:77)
Jan 25 21:16:26 raspberrypi bluetoothd[951]: profiles/gap/gas.c:handle_characteristic() Unsupported characteristic: 00002aa6-0000-1000-8000-00805f9b34fb
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x153c018: device 63:C1:07:5E:4C:77 profile gap-profile state changed: disconnected -> connected (0)
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 63:C1:07:5E:4C:77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 63:C1:07:5E:4C:77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() GATT client ready
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:create_services() Exporting objects for GATT services: 63:C1:07:5E:4C:77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0001
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0001/char0002
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char0029
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char0029/desc002b
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char002c
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char002c/desc002e
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char002f
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char0031
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0028/char0031/desc0033
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char0035
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char0035/desc0037
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char0038
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char0038/desc003a
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char003b
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_63_C1_07_5E_4C_77/service0034/char003b/desc003d
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() Features 0x00
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() Update Features 0x00
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_63_C1_07_5E_4C_77 err 0
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:store_gatt_db() Can't store GATT db for private addressed device /org/bluez/hci0/dev_63_C1_07_5E_4C_77
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0012 end: 0x0012
Jan 25 21:16:26 raspberrypi bluetoothd[951]: profiles/gap/gas.c:read_device_name_cb() GAP Device Name: Handerson's Pixel
Jan 25 21:16:26 raspberrypi bluetoothd[951]: src/device.c:btd_device_device_set_name() /org/bluez/hci0/dev_63_C1_07_5E_4C_77 Handerson's Pixel
Jan 25 21:16:26 raspberrypi bluetoothd[951]: profiles/gap/gas.c:read_appearance_cb() GAP Appearance: 0x0000

Journal logs when connecting with iPhone 6S

Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/adapter.c:connected_callback() hci0 device 68:EA:49:22:94:D5 connected eir_len 0
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:device_create() dst 68:EA:49:22:94:D5
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:device_new() address 68:EA:49:22:94:D5
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_68_EA_49_22_94_D5
Jan 25 21:18:49 raspberrypi systemd[1]: Starting Daily apt upgrade and clean activities...
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/gatt-database.c:connect_cb() New incoming LE ATT connection
Jan 25 21:18:49 raspberrypi bluetoothd[951]: attrib/gattrib.c:g_attrib_ref() 0x153fa88: g_attrib_ref=1
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() Restoring 68:EA:49:22:94:D5 gatt database from file
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:load_gatt_db() No cache for 68:EA:49:22:94:D5
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_connected() Device connected.
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() MTU exchange complete, with MTU: 185
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0001 end: 0xffff
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Grp Type - start: 0x0013 end: 0xffff
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0006 end: 0x000f
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Find Info - start: 0x0009 end: 0x000f
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Write Req - handle: 0x0009
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/gatt-database.c:gatt_ccc_write_cb() CCC write called for handle: 0x0009
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Write Complete: err 0
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0010 end: 0x0012
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Primary services found: 9
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0001, end: 0x0005, uuid: 00001800-0000-1000-8000-00805f9b34fb
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0006, end: 0x0009, uuid: 00001801-0000-1000-8000-00805f9b34fb
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x000a, end: 0x000e, uuid: d0611e78-bbb4-4591-a5f8-487910ae4366
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x000f, end: 0x0013, uuid: 9fa480e0-4967-4542-9390-d343dc5d04ae
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0014, end: 0x0017, uuid: 0000180f-0000-1000-8000-00805f9b34fb
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0018, end: 0x001d, uuid: 00001805-0000-1000-8000-00805f9b34fb
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x001e, end: 0x0022, uuid: 0000180a-0000-1000-8000-00805f9b34fb
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0023, end: 0x002c, uuid: 7905f431-b5ce-4e99-a40f-4b1e122d00d0
Jan 25 21:18:49 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x002d, end: 0x0038, uuid: 89d3502b-0f36-433a-8ef4-c502ad55f8dc
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Characteristics found: 16
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0002, end: 0x0003, value: 0x0003, props: 0x02, uuid: 00002a00-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0004, end: 0x0006, value: 0x0005, props: 0x02, uuid: 00002a01-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0007, end: 0x000a, value: 0x0008, props: 0x20, uuid: 00002a05-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x000b, end: 0x000f, value: 0x000c, props: 0x98, uuid: 8667556c-9a37-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0010, end: 0x0014, value: 0x0011, props: 0x98, uuid: af0badb1-5b99-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0015, end: 0x0018, value: 0x0016, props: 0x12, uuid: 00002a19-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0019, end: 0x001b, value: 0x001a, props: 0x12, uuid: 00002a2b-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x001c, end: 0x001e, value: 0x001d, props: 0x02, uuid: 00002a0f-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x001f, end: 0x0020, value: 0x0020, props: 0x02, uuid: 00002a29-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0021, end: 0x0023, value: 0x0022, props: 0x02, uuid: 00002a24-0000-1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0024, end: 0x0026, value: 0x0025, props: 0x88, uuid: 69d1d8f3-45e1-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0027, end: 0x0029, value: 0x0028, props: 0x10, uuid: 9fbf120d-6301-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x002a, end: 0x002d, value: 0x002b, props: 0x10, uuid: 22eac6e9-24d6-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x002e, end: 0x0031, value: 0x002f, props: 0x98, uuid: 9b3c81d8-57b1-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0032, end: 0x0035, value: 0x0033, props: 0x98, uuid: 2f7cabce-808d-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() start: 0x0036, end: 0x0038, value: 0x0037, props: 0x8a, uuid: c6b2f38c-23ab-4
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 2
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x000d, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x000e, uuid: 00002902-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi systemd[1]: apt-daily-upgrade.service: Succeeded.
Jan 25 21:18:50 raspberrypi systemd[1]: Finished Daily apt upgrade and clean activities.
Jan 25 21:18:50 raspberrypi systemd[1]: apt-daily-upgrade.service: Consumed 1.118s CPU time.
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 2
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0012, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0013, uuid: 00002902-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0026, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 2
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0030, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0031, uuid: 00002902-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 2
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0034, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0035, uuid: 00002902-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Descriptors found: 1
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() handle: 0x0038, uuid: 00002900-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Ext. prop value: 0x0001
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Value set status: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_client_ready_cb() status: success, error: 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/gap/gas.c:gap_probe() GAP profile probe (68:EA:49:22:94:D5)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x158b270: device 68:EA:49:22:94:D5 profile gap-profile state changed: unavailable -> disconnected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/gap/gas.c:gap_accept() GAP profile accept (68:EA:49:22:94:D5)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x158b270: device 68:EA:49:22:94:D5 profile gap-profile state changed: disconnected -> connected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/battery/battery.c:batt_probe() BATT profile probe (68:EA:49:22:94:D5)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x158ff70: device 68:EA:49:22:94:D5 profile batt-profile state changed: unavailable -> disconnected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/battery/battery.c:batt_accept() BATT profile accept (68:EA:49:22:94:D5)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x158ff70: device 68:EA:49:22:94:D5 profile batt-profile state changed: disconnected -> connected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x15900f0: device 68:EA:49:22:94:D5 profile deviceinfo state changed: unavailable -> disconnected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/deviceinfo/deviceinfo.c:deviceinfo_accept() deviceinfo profile accept (68:EA:49:22:94:D5)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/deviceinfo/deviceinfo.c:handle_characteristic() Unsupported characteristic: 00002a29-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: profiles/deviceinfo/deviceinfo.c:handle_characteristic() Unsupported characteristic: 00002a24-0000-1000-8000-00805f9b34fb
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/service.c:change_state() 0x15900f0: device 68:EA:49:22:94:D5 profile deviceinfo state changed: disconnected -> connected (0)
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_probe_profiles() Probing profiles for device 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() GATT client ready
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:create_services() Exporting objects for GATT services: 68:EA:49:22:94:D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0006
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0006/char0007
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0006/char0007/desc0009
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000a
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000a/char000b
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000a/char000b/desc000d
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000a/char000b/desc000e
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000f
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000f/char0010
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000f/char0010/desc0012
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service000f/char0010/desc0013
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0014
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0014/char0015
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0014/char0015/desc0017
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0018
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0018/char0019
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0018/char0019/desc001b
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0018/char001c
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service001e
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service001e/char001f
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service001e/char0021
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char0024
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char0024/desc0026
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char0027
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char0027/desc0029
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char002a
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service0023/char002a/desc002c
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:service_create() Exported GATT service: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char002e
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char002e/desc0030
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char002e/desc0031
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char0032
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char0032/desc0034
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char0032/desc0035
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:characteristic_create() Exported GATT characteristic: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char0036
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:descriptor_create() Exported GATT characteristic descriptor: /org/bluez/hci0/dev_68_EA_49_22_94_D5/service002d/char0036/desc0038
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() Features 0x00
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/gatt-client.c:btd_gatt_client_ready() Update Features 0x00
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_68_EA_49_22_94_D5 err 0
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:store_gatt_db() Can't store GATT db for private addressed device /org/bluez/hci0/dev_68_EA_49_22_94_D5
Jan 25 21:18:50 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Registered handler for "Service Changed": 1
Jan 25 21:18:51 raspberrypi bluetoothd[951]: profiles/gap/gas.c:read_device_name_cb() GAP Device Name: iPhone
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/device.c:btd_device_device_set_name() /org/bluez/hci0/dev_68_EA_49_22_94_D5 iPhone
Jan 25 21:18:51 raspberrypi bluetoothd[951]: profiles/gap/gas.c:read_appearance_cb() GAP Appearance: 0x0040
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/adapter.c:user_confirm_request_callback() hci0 68:EA:49:22:94:D5 confirm_hint 0
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/device.c:new_auth() Requesting agent authentication for 68:EA:49:22:94:D5
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/agent.c:agent_ref() 0x153fe68: ref=2
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/agent.c:agent_request_confirmation() Calling Agent.RequestConfirmation: name=:1.21, path=/org/bluez/agent, passkey=309570
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/device.c:gatt_debug() Read By Type - start: 0x0001 end: 0x0005
Jan 25 21:18:51 raspberrypi bluetoothd[951]: src/gatt-database.c:gap_device_name_read_cb() GAP Device Name read request
Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.