You are not logged in.

#1 2015-08-31 12:27:16

kmsgli
Member
Registered: 2015-08-15
Posts: 33

Bluez serial connnection problem

So I had another thread but now that i have kind of solved the problem I am looking for a better solution and to understand why this is the way it is

I am connecting to a r232 serial bluetooth connector.  I can get Blueman to pair it but not connect to connet i have to run this command

sudo rfcomm -AESr connect  0 00:12:6F:37:90:87 1 

I found the command from another forum site for a differnet linux distro that had Bluez issus, that opens a connection with the serial connector and then Blueman auto connects but i have to run that command everytime I want to connect.  For the time being i have created a bash alias for it to make life a little eaiser,

Can any one explain to me what is happening here and if i can fix the issue so that I can connect without having to open that rfcomm connection first

Side not ubuntu on a live usb will connect just fine in Blueman so it has to be a Blueman/Arch issue.

when I try to "connect to serial"  in Blueman this is the error I get when i hit more.

Connection Failed: Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blueman/services/meta/SerialService.py", line 29, in connect
    port_id = create_rfcomm_device(Adapter(props['Adapter']).get_properties()['Address'], props['Address'], 1)
  File "_blueman.pyx", line 212, in _blueman.create_rfcomm_device (_blueman.c:1949)
TypeError: expected bytes, dbus.String found

Offline

Board footer

Powered by FluxBB