1 |
William Kenworthy <billk@×××××××××.au> wrote: |
2 |
|
3 |
> The bluez-5 stack is causing me some problems. It will pair but then |
4 |
> says its not paired so wont connect. Googling shows lots of problems |
5 |
> with many saying it suddenly starts working and they don't know what |
6 |
> happened! |
7 |
> |
8 |
> The BT dongle worked fine under bluez-3 and 4. The other end is an |
9 |
> arduino which needs to be connected via an rfcomm channel (for serial |
10 |
> comms) and the hardware on both ends has been working for literally years. |
11 |
> |
12 |
> After upgrading to bluez-5 it stopped working. |
13 |
> |
14 |
> I used bluetoothctl to pair it and info shows it paired and trusted, but |
15 |
> I cant connect to it: |
16 |
> |
17 |
> [bluetooth]# info 00:11:03:17:01:12 |
18 |
> Device 00:11:03:17:01:12 |
19 |
> Name: anubis |
20 |
> Alias: anubis |
21 |
> Class: 0x001f00 |
22 |
> Paired: yes |
23 |
> Trusted: yes |
24 |
> Blocked: no |
25 |
> Connected: no |
26 |
> LegacyPairing: yes |
27 |
> UUID: Serial Port |
28 |
> (00001101-0000-1000-8000-00805f9b34fb) |
29 |
> [bluetooth]# connect 00:11:03:17:01:12 |
30 |
> Attempting to connect to 00:11:03:17:01:12 |
31 |
> [CHG] Device 00:11:03:17:01:12 Connected: yes |
32 |
> Failed to connect: org.bluez.Error.NotAvailable |
33 |
> [CHG] Device 00:11:03:17:01:12 Connected: no |
34 |
> [bluetooth]# |
35 |
> |
36 |
> |
37 |
> What am I missing/misunderstanding? |
38 |
|
39 |
Make sure you have at least 5.14, below that mine did not work at all. |
40 |
Try the connect from blutoothctl and seewhat it says. Also, you have to |
41 |
put the device up before you do anything, such as hciconfig hci0 up |
42 |
whereas before you did not have to do this. |
43 |
|
44 |
-- |
45 |
Your life is like a penny. You're going to lose it. The question is: |
46 |
How do |
47 |
you spend it? |
48 |
|
49 |
John Covici |
50 |
covici@××××××××××.com |