[Bluez-users] rfcomm connection refused / Host is down

ALBERT RIBAS GUASCH
2004-03-30T15:02:25Z

Hi!

I'm using the BlueZ stack in kernel 2.4.24, and I've
got an usb dongle and I try to connect to an
RS232-bluetooth attached to a robot's serial port.

So, I do hciconfig and I get
hci0:
Type: USB
BD Address: 00:0A:3A:50:20:15 ACL MTU: 192:8 SCO
MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:8280 acl:233 sco:0 events:233 errors:0
TX bytes:3096 acl:93 sco:0 commands:45 errors:0

When I do an hcitool -i hci0 inq, I can find the
RS232 adapter, but on doing
rfcomm -i hci0 connect /dev/rfcomm0 00:c0:1B:05:C8:2A 1

I get a message with:
Can't connect RFCOMM socket: Connection refused
or either:
Can't connect RFCOMM socket: Host is down

Can anybody help me??

Thank you!!!

Albert

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net