On 04/23/14 19:59, [email protected] wrote: > William Kenworthy <[email protected]> wrote: > >> The bluez-5 stack is causing me some problems. It will pair but then >> says its not paired so wont connect. Googling shows lots of problems >> with many saying it suddenly starts working and they don't know what >> happened! >> >> The BT dongle worked fine under bluez-3 and 4. The other end is an >> arduino which needs to be connected via an rfcomm channel (for serial >> comms) and the hardware on both ends has been working for literally years. >> >> After upgrading to bluez-5 it stopped working. >> >> I used bluetoothctl to pair it and info shows it paired and trusted, but >> I cant connect to it: >> >> [bluetooth]# info 00:11:03:17:01:12 >> Device 00:11:03:17:01:12 >> Name: anubis >> Alias: anubis >> Class: 0x001f00 >> Paired: yes >> Trusted: yes >> Blocked: no >> Connected: no >> LegacyPairing: yes >> UUID: Serial Port >> (00001101-0000-1000-8000-00805f9b34fb) >> [bluetooth]# connect 00:11:03:17:01:12 >> Attempting to connect to 00:11:03:17:01:12 >> [CHG] Device 00:11:03:17:01:12 Connected: yes >> Failed to connect: org.bluez.Error.NotAvailable >> [CHG] Device 00:11:03:17:01:12 Connected: no >> [bluetooth]# >> >> >> What am I missing/misunderstanding? > > Make sure you have at least 5.14, below that mine did not work at all. > Try the connect from blutoothctl and seewhat it says. Also, you have to > put the device up before you do anything, such as hciconfig hci0 up > whereas before you did not have to do this. >
Hi John, the above is bluez 5.15, and the messages above including from the connect command are using bluetoothctl ... Had a play with hcitool and and I cant get a connect with that either. Tried updating bluez to 5.17 and still nothing. BillK

