Hello,
We have dragonboard 410c with openembedded 17.09 prebuilt images flashed. We tried to connect to android mobile via bluetooth using bluetoothctl utility. Device discovery and pairing is successful, but we are not able to connect to the device.
Following are the logs:-
root@dragonboard-410c:~# bluetoothctl
[NEW] Controller 02:00:8A:E0:2E:79 dragonboard-410c [default]
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller 02:00:8A:E0:2E:79 Powered: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller 02:00:8A:E0:2E:79 Discovering: yes
[NEW] Device 98:0C:A5:13:D9:DC Lenovo K4 note
[bluetooth]# pair 98:0C:A5:13:D9:DC
Attempting to pair with 98:0C:A5:13:D9:DC
[CHG] Device 98:0C:A5:13:D9:DC Connected: yes
[CHG] Device 98:0C:A5:13:D9:DC Modalias: bluetooth:v000Fp1200d1436
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001112-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001116-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 0000112f-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001132-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device 98:0C:A5:13:D9:DC Paired: yes
Pairing successful
[CHG] Device 98:0C:A5:13:D9:DC Connected: no
[bluetooth]# connect 98:0C:A5:13:D9:DC
Attempting to connect to 98:0C:A5:13:D9:DC
Failed to connect: org.bluez.Error.Failed
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -100
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -70
[bluetooth]# trust 98:0C:A5:13:D9:DC
[CHG] Device 98:0C:A5:13:D9:DC Trusted: yes
Changing 98:0C:A5:13:D9:DC trust succeeded
[bluetooth]# connect 98:0C:A5:13:D9:DC
Attempting to connect to 98:0C:A5:13:D9:DC
Failed to connect: org.bluez.Error.Failed
[bluetooth]# info 98:0C:A5:13:D9:DC
Device 98:0C:A5:13:D9:DC
Name: Lenovo K4 note
Alias: Lenovo K4 note
Class: 0x5a020c
Icon: phone
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-00805f9b34fb)
UUID: NAP (00001116-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000Fp1200d1436
RSSI: -70
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -59
[bluetooth]# show 02:00:8A:E0:2E:79
Controller 02:00:8A:E0:2E:79
Name: dragonboard-410c
Alias: dragonboard-410c
Class: 0x000000
Powered: yes
Discoverable: no
Pairable: yes
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0529
Discovering: yes
[CHG] Device 98:0C:A5:13:D9:DC RSSI: -67
Following are kernel logs:-
root@dragonboard-410c:~# dmesg | grep -i “bluetooth”
[ 7.025239] Bluetooth: Core ver 2.22
[ 7.028038] Bluetooth: HCI device and connection manager initialized
[ 7.032254] Bluetooth: HCI socket layer initialized
[ 7.038859] Bluetooth: L2CAP socket layer initialized
[ 7.043474] Bluetooth: SCO socket layer initialized
[ 7.352870] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.352893] Bluetooth: BNEP filters: protocol multicast
[ 7.357397] Bluetooth: BNEP socket layer initialized
rfkill also list the interface as unblocked:-
root@dragonboard-410c:~# rfkill list all
0: hci0: bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: wlan
Soft blocked: no
Hard blocked: no
root@dragonboard-410c:~#
Please let us know if we are missing something.
Thanks