Bluetooth can't connect and pair

Kernels & Hardware, configuring network, installing services

Bluetooth can't connect and pair

Postby ahmedazibi » 2019-09-10 13:38

I am using debian 9.11 in a beaglebone enhanced, I am trying to connect to mobile bluetooth, but it didn't work.

Code: Select all
[bluetooth]# pair 58:B1:0F:93:9C:45
Attempting to pair with 58:B1:0F:93:9C:45
Failed to pair: org.bluez.Error.ConnectionAttemptFailed


Code: Select all
 root@beaglebone:~# hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: 18:BB:26:75:85:CB  ACL MTU: 820:8  SCO MTU: 255:16
        UP RUNNING PSCAN ISCAN
        RX bytes:2705 acl:0 sco:0 events:295 errors:0
        TX bytes:26471 acl:0 sco:0 commands:273 errors:0 


Code: Select all
  root@beaglebone:~# service bluetooth status
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2019-09-10 13:33:42 UTC; 20min ago
     Docs: man:bluetoothd(8)
 Main PID: 668 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─668 /usr/lib/bluetooth/bluetoothd

Sep 10 13:33:41 beaglebone systemd[1]: Starting Bluetooth service...
Sep 10 13:33:42 beaglebone bluetoothd[668]: Bluetooth daemon 5.43
Sep 10 13:33:42 beaglebone systemd[1]: Started Bluetooth service.
Sep 10 13:33:42 beaglebone bluetoothd[668]: Starting SDP server
Sep 10 13:33:42 beaglebone bluetoothd[668]: Bluetooth management interface 1.14
Sep 10 13:33:42 beaglebone bluetoothd[668]: Failed to obtain handles for "Servic
Sep 10 13:33:42 beaglebone bluetoothd[668]: Sap driver initialization failed.
Sep 10 13:33:42 beaglebone bluetoothd[668]: sap-server: Operation not permitted
Sep 10 13:49:31 beaglebone bluetoothd[668]: 58:B1:0F:93:9C:45: error updating se
ahmedazibi
 
Posts: 1
Joined: 2019-09-10 13:27

Re: Bluetooth can't connect and pair

Postby ruwolf » 2019-09-14 19:25

User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Bluetooth can't connect and pair

Postby pylkko » 2019-09-14 20:28

What happens if you connect without pairing? CN you give some logs from when you try to connect? Dmesg and journalctl. Errors about sap server are beningn
User avatar
pylkko
 
Posts: 1564
Joined: 2014-11-06 19:02


Return to System configuration

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable