This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bluetooth Pairing Failed
#1
Question 
I am trying to pair my Android with Tinkerboard. Unfortunately, it is failing every time.
On the Android side, a dialog box comes up with passkey and I press OK, but no luck.

Below is the console log

Code:
root@AnyConnect-Tinkerboard:~# bluetoothctl
[NEW] Controller 80:91:33:92:62:96 AnyConnect-Tinkerboard [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 80:91:33:92:62:96 Discoverable: yes
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# agent NoInputNoOutput
Agent registered
[NEW] Device 7C:F9:0E:29:77:88 Device Name
[CHG] Device 7C:F9:0E:29:77:88 Connected: no
[DEL] Device 7C:F9:0E:29:77:88 Device Name
[bluetooth]# devices
[bluetooth]#

From the HCI sniffer, it is evident that even though the passkey is confirmed from Android, Tinkerboard is timing out. The respective HCI packet sniffer log is given below

Code:
> HCI Event: User Confirmation Request (0x33) plen 10
   bdaddr 7C:F9:0E:29:77:88 passkey 955467
> HCI Event: Simple Pairing Complete (0x36) plen 7
   status 0x22 bdaddr 7C:F9:0E:29:77:88
   Error: LMP Response Timeout
> HCI Event: Disconn Complete (0x05) plen 4
   status 0x00 handle 2 reason 0x13
   Reason: Remote User Terminated Connection

Following the very same steps, I can pair with Raspberry Pi with no issue.

I have attached 'blueoothctl' and 'hcidump' console logs for both "Tinkerboard" and "Raspberry Pi" for convenience.

.txt   Tinkerboard_bluetoothctl_console.txt (Size: 570 bytes / Downloads: 0)

.txt   Tinkerboard_hcidump_console.txt (Size: 4.94 KB / Downloads: 0)

.txt   rpi_bluetoothctl_console.txt (Size: 2.49 KB / Downloads: 0)

.txt   rpi_hcidump_console.txt (Size: 35.13 KB / Downloads: 0)

Following is the Tinkerboard specification
Code:
root@AnyConnect-Tinkerboard:~# uname -a
Linux AnyConnect-Tinkerboard 4.4.132+ #1 SMP Wed Aug 21 19:15:55 CST 2019 armv7l GNU/Linux
root@AnyConnect-Tinkerboard:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
root@AnyConnect-Tinkerboard:~#

Can someone please pinpoint what's I am doing wrong?
Reply
#2
> I can pair with Raspberry Pi with no issue

Me too, with proper software support: https://www.armbian.com/tinkerboard/
Listening Bluetooth A2DP audio without any issues.
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)