Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18146

Trouble connecting with Bluetooth device - can't connect (Failed to connect)

$
0
0

Hi,

 

I am trying to connect Edison to a Bluetooth device but for some reason I can connect to it.

Has anyone faced similar issue? Also is there sample C or Python program to get the Bluetooth data form a device.

 

What am I missing? Anyone?


Thanks,


- Sachin


root@edison:~/work/BT_test# bluetoothctl

[NEW] Controller 98:4F:EE:01:FC:A0 BlueZ 5.18 [default]

[NEW] Device 10:BF:48:CA:47:3C Nexus 7

[NEW] Device 00:0D:4B:D3:49:9E Roku Player

[NEW] Device FE:CD:46:66:28:57 GT-I9500

[bluetooth]# power on

Changing power on succeeded

[bluetooth]# discoverable on

Changing discoverable on succeeded

[CHG] Controller 98:4F:EE:01:FC:A0 Discoverable: yes

[bluetooth]# pairable on

Changing pairable on succeeded

[bluetooth]# list

Controller 98:4F:EE:01:FC:A0 BlueZ 5.18 [default]

[bluetooth]# show

Controller 98:4F:EE:01:FC:A0

        Name: BlueZ 5.18

        Alias: BlueZ 5.18

        Class: 0x000110

        Powered: yes

        Discoverable: yes

        Pairable: yes

        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)

        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)

        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)

        Modalias: usb:v1D6Bp0246d0512

        Discovering: no

[bluetooth]# devices

Device 10:BF:48:CA:47:3C Nexus 7

Device 00:0D:4B:D3:49:9E Roku Player

Device FE:CD:46:66:28:57 GT-I9500

[bluetooth]# scan off

Failed to stop discovery: org.bluez.Error.Failed

[bluetooth]# pair 10:BF:48:CA:47:3C

Attempting to pair with 10:BF:48:CA:47:3C

[CHG] Device 10:BF:48:CA:47:3C Connected: yes

[CHG] Device 10:BF:48:CA:47:3C Modalias: bluetooth:v000Fp1200d1436

[CHG] Device 10:BF:48:CA:47:3C UUIDs:

        00001105-0000-1000-8000-00805f9b34fb

        0000110a-0000-1000-8000-00805f9b34fb

        0000110c-0000-1000-8000-00805f9b34fb

        0000110e-0000-1000-8000-00805f9b34fb

        00001112-0000-1000-8000-00805f9b34fb

        00001115-0000-1000-8000-00805f9b34fb

        0000112f-0000-1000-8000-00805f9b34fb

        00001200-0000-1000-8000-00805f9b34fb

        453994d5-d58b-96f9-6616-b37f586ba2ec

        936da01f-9abd-4d9d-80c7-02af85c822a8

[CHG] Device 10:BF:48:CA:47:3C Paired: yes

Pairing successful

[CHG] Device 10:BF:48:CA:47:3C Connected: no

[bluetooth]# connect 10:BF:48:CA:47:3C

Attempting to connect to 10:BF:48:CA:47:3C

Failed to connect: org.bluez.Error.Failed

[bluetooth]# trust 10:BF:48:CA:47:3C

[CHG] Device 10:BF:48:CA:47:3C Trusted: yes

Changing 10:BF:48:CA:47:3C trust succeeded

[bluetooth]# connect 10:BF:48:CA:47:3C

Attempting to connect to 10:BF:48:CA:47:3C

Failed to connect: org.bluez.Error.Failed

[DEL] Device 00:0D:4B:D3:49:9E Roku Player

[CHG] Controller 98:4F:EE:01:FC:A0 Discoverable: no

[bluetooth]# discovreable

Invalid command

[bluetooth]# discoverable on

Changing discoverable on succeeded

[CHG] Controller 98:4F:EE:01:FC:A0 Discoverable: yes

[bluetooth]# connect 10:BF:48:CA:47:3C

Attempting to connect to 10:BF:48:CA:47:3C

Failed to connect: org.bluez.Error.Failed


Viewing all articles
Browse latest Browse all 18146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>