Unable to pair bluetooth on BBGW with android device.Connecting and Disconnecting

Please post any suggestions or complaints that you have for Seeed, Seeed products and services, and we'll make it better for you.

Moderator: violet

Post Reply
Posts: 1
Joined: Mon Jul 23, 2018 5:44 pm

Unable to pair bluetooth on BBGW with android device.Connecting and Disconnecting

Post by sumitpradhan » Mon Jul 23, 2018 5:56 pm

I used both the earlier bluez version of 5.37 and the latest 5.50. facing similar issue of connecting and disconnecting.

This is the log: of bluetoothctl

bluetoothd[11417]: src/adapter.c:connected_callback() hci0 device XX:XX:XX:XX:XX:XX connected eir_len 18
bluetoothd[11417]: src/device.c:device_create() dst XX:XX:XX:XX:XX:XX
bluetoothd[11417]: src/device.c:device_create() dst XX:XX:XX:XX:XX:XX
bluetoothd[11417]: src/device.c:device_new() address XX:XX:XX:XX:XX:XX
bluetoothd[11417]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
bluetoothd[11417]: src/device.c:device_set_class() /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX_0x5A020C
[NEW] Device XX:XX:XX:XX:XX:XX Arctic Wolf

bluetoothd[11417]: src/adapter.c:new_link_key_callback() hci0 new key for XX:XX:XX:XX:XX:XX type 4 pin_len 0 store_hint 1
bluetoothd[11417]: src/device.c:device_set_bonded()
bluetoothd[11417]: src/device.c:btd_device_set_temporary() temporary 0
bluetoothd[11417]: src/device.c:device_bonding_complete() bonding (nil) status 0x00
bluetoothd[11417]: src/device.c:device_bonding_complete() setting timer for reverse service discovery
bluetoothd[11417]: src/adapter.c:resume_discovery()
bluetoothd[11417]: src/adapter.c:add_whitelist_complete() XX:XX:XX:XX:XX:XX added to kernel whitelist
bluetoothd[11417]: src/device.c:device_probe_profiles() Probing profiles for device XX:XX:XX:XX:XX:XX
bluetoothd[11417]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX_ err 0

bluetoothd[11417]: src/adapter.c:dev_disconnected() Device XX:XX:XX:XX:XX:XX disconnected, reason 2
bluetoothd[11417]: src/adapter.c:adapter_remove_connection()
bluetoothd[11417]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr XX:XX:XX:XX:XX:XX type 0 status 0xe
bluetoothd[11417]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
bluetoothd[11417]: src/device.c:device_bonding_failed() status 14
bluetoothd[11417]: src/adapter.c:resume_discovery()
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no

Posts: 200
Joined: Tue Apr 17, 2018 11:03 am

Re: Unable to pair bluetooth on BBGW with android device.Connecting and Disconnecting

Post by hong.jiang » Wed Aug 01, 2018 3:46 pm

There is a method for BBGW's pairing bluetooth. Here are commands:
sudo su
power on
agent on
scan on
If you want to connect device, you could refer to these commands:
scan off
pair <MAC Address>
trust <MAC Address>
connect <MAC Address>
If you still cann't solve it, please contact me.

Post Reply