public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Papadopoulos Giannis <ipapadop@uth.gr>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] vhci and RFCOMM
Date: Mon, 26 Jul 2004 10:38:05 +0200	[thread overview]
Message-ID: <1090831085.31693.73.camel@pegasus> (raw)
In-Reply-To: <1090829679.4104bd6fbc168@webmail.uth.gr>

Hi Papadopoulos,

> I am trying to create an RFCOMM connection between 2 virtual adapters in my
> machine..
> 
> I' ve created the adapters and a connection between them...
> 
> Everything is OK, but I can't create an RFCOMM connection between them..
> 
> Terminal 1:
> mordor:/home/dop # hcitool dev
> Devices:
>         hci0    7F:00:00:01:00:0A
>         hci1    7F:00:00:01:00:0B
> mordor:/home/dop # hcitool -i 7F:00:00:01:00:0A cc 7F:00:00:01:00:0B
> mordor:/home/dop # rfcomm -i 7F:00:00:01:00:0A listen /dev/rfcomm0
> Waiting for connection on channel 1
> Can't open RFCOMM device: No such file or directory
> mordor:/home/dop #
> 
> Terminal2:
> dop@mordor:~> rfcomm -i 7F:00:00:01:00:0B connect /dev/rfcomm1 7F:00:00:01:00:0A
> Can't open RFCOMM device: No such file or directory
> 
> What am I doing wrong??

first, don't use "hcitool cc ...". This command is never needed and it
is only there for testing purpose. Who said that you should use it?

Your problem is that you didn't created the RFCOMM device nodes.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-07-26  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26  8:14 [Bluez-users] vhci and RFCOMM Papadopoulos Giannis
2004-07-26  8:38 ` Marcel Holtmann [this message]
2004-07-27  3:23 ` Virat Gohil

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=1090831085.31693.73.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=ipapadop@uth.gr \
    /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