public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] vhci and RFCOMM
@ 2004-07-26  8:14 Papadopoulos Giannis
  2004-07-26  8:38 ` Marcel Holtmann
  2004-07-27  3:23 ` Virat Gohil
  0 siblings, 2 replies; 3+ messages in thread
From: Papadopoulos Giannis @ 2004-07-26  8:14 UTC (permalink / raw)
  To: bluez-users

Hi!

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??

Papadopoulos Giannis
Computer and Communications Engineering Student
University Of Thessaly (UTH)
http://dop.users.uth.gr/


-------------------------------------------------------
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

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

* Re: [Bluez-users] vhci and RFCOMM
  2004-07-26  8:14 [Bluez-users] vhci and RFCOMM Papadopoulos Giannis
@ 2004-07-26  8:38 ` Marcel Holtmann
  2004-07-27  3:23 ` Virat Gohil
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-07-26  8:38 UTC (permalink / raw)
  To: Papadopoulos Giannis; +Cc: BlueZ Mailing List

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

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

* Re: [Bluez-users] vhci and RFCOMM
  2004-07-26  8:14 [Bluez-users] vhci and RFCOMM Papadopoulos Giannis
  2004-07-26  8:38 ` Marcel Holtmann
@ 2004-07-27  3:23 ` Virat Gohil
  1 sibling, 0 replies; 3+ messages in thread
From: Virat Gohil @ 2004-07-27  3:23 UTC (permalink / raw)
  To: Papadopoulos Giannis; +Cc: bluez-users

Hi, 

> Hi!
> 
<snip>
> 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 #
</snip>

you should create the rfcomm devices, you can creat them as follows.

#mknod /dev/rfcomm0 c 216 0
#mknod /dev/rfcomm1 c 216 0

(for further details read the man pages of mknod)

Regards,

Virat



-------------------------------------------------------
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

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

end of thread, other threads:[~2004-07-27  3:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-26  8:14 [Bluez-users] vhci and RFCOMM Papadopoulos Giannis
2004-07-26  8:38 ` Marcel Holtmann
2004-07-27  3:23 ` Virat Gohil

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