public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: ALBERT RIBAS GUASCH <albert.ribas@estudiants.urv.es>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] rfcomm connection refused / Host is down  (Again)
Date: Wed, 31 Mar 2004 00:02:37 +0200	[thread overview]
Message-ID: <8d7248bf39.8bf398d724@estudiants.urv.es> (raw)

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

             reply	other threads:[~2004-03-30 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 22:02 ALBERT RIBAS GUASCH [this message]
2004-03-30 23:02 ` [Bluez-users] rfcomm connection refused / Host is down (Again) Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d7248bf39.8bf398d724@estudiants.urv.es \
    --to=albert.ribas@estudiants.urv.es \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox