public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] rfcomm connection refused / Host is down  (Again)
@ 2004-03-30 22:02 ALBERT RIBAS GUASCH
  2004-03-30 23:02 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: ALBERT RIBAS GUASCH @ 2004-03-30 22:02 UTC (permalink / raw)
  To: BlueZ Mailing List

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


Tom Chiverton asked if were the devices already paired.What do I need to do to pair the devices?

Oh! one more thing, if I do 

rfcomm -i hci0 bind /dev/rfcomm0 00:c0:1B:05:C8:2A 1

The two devices get binded, but I'm still not capable to connect them!!!!

Can you help me??

Tank you!!!!!!

Albert

Thank you 




-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] rfcomm connection refused / Host is down  (Again)
  2004-03-30 22:02 [Bluez-users] rfcomm connection refused / Host is down (Again) ALBERT RIBAS GUASCH
@ 2004-03-30 23:02 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-03-30 23:02 UTC (permalink / raw)
  To: ALBERT RIBAS GUASCH; +Cc: BlueZ Mailing List

Hi Albert,

do you really think that posting the same message again after 9 hours
makes any difference. Actually I am going to ignore such postings.

> 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

the question is if hcid is running and the PIN helper is working. Run
"hcidump -x" (as root) and show us what happens on connect.

Regards

Marcel




-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-30 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30 22:02 [Bluez-users] rfcomm connection refused / Host is down (Again) ALBERT RIBAS GUASCH
2004-03-30 23:02 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox