public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] multiple rfcomm listen
@ 2008-03-19  6:50 ichane
  2008-03-19 14:24 ` Manuel Naranjo
  0 siblings, 1 reply; 3+ messages in thread
From: ichane @ 2008-03-19  6:50 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 360 bytes --]

Hi, there:

Can "rfcomm listen" accept multiple connections from rfcomm clients? I have tried two rfcomm listen as following:

>rfcomm listen 0 1 &
>rfcomm listen 0 2 &

Use another two PCs as rfcomm clients to connect. 1st rfcomm client can connect to rfcomm server but
2nd rfcomm client can not connect to rfcomm server.

Thanks for helps,

chane

[-- Attachment #1.2: Type: text/html, Size: 1297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
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] multiple rfcomm listen
  2008-03-19  6:50 [Bluez-users] multiple rfcomm listen ichane
@ 2008-03-19 14:24 ` Manuel Naranjo
  2008-03-19 15:42   ` ichane
  0 siblings, 1 reply; 3+ messages in thread
From: Manuel Naranjo @ 2008-03-19 14:24 UTC (permalink / raw)
  To: BlueZ users

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

Chane,
> Can "rfcomm listen" accept multiple connections from rfcomm clients? I
> have tried two rfcomm listen as following:
> >rfcomm listen 0 1 &
> >rfcomm listen 0 2 &
rfcomm listen can listen to up to 7 concurrent connections, but not all
the connections to the same port (rfcomm# node). You should do:
rfcomm listen 0 1 &
rfcomm listen 1 2 &

And when the connection is established you will get:
/dev/rfcomm0
/dev/rfcomm1




[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
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] multiple rfcomm listen
  2008-03-19 14:24 ` Manuel Naranjo
@ 2008-03-19 15:42   ` ichane
  0 siblings, 0 replies; 3+ messages in thread
From: ichane @ 2008-03-19 15:42 UTC (permalink / raw)
  To: BlueZ users

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

Hi there:

Sorry for the typo. I did use different rfcomm# to listen:

>rfcomm listen 0 1 &
>rfcomm listen 1 2 &

But 2nd rfcomm client failed to connect as I mentioned earlier.

I wonder if it's USB dongle's problem which is the slave to two masters.
If there is no "role switch",  rfcomm listen should be the slave of 
connecting
rfcomm clients (master).  Can it  be the potential problem (sync) for a 
slave to the
 multiple masters ?

Thanks a lot,

Chane
----- Original Message ----- 
From: "Manuel Naranjo" <manuel@aircable.net>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Sent: Wednesday, March 19, 2008 10:24 PM
Subject: Re: [Bluez-users] multiple rfcomm listen


> Chane,
>> Can "rfcomm listen" accept multiple connections from rfcomm clients? I
>> have tried two rfcomm listen as following:
>> >rfcomm listen 0 1 &
>> >rfcomm listen 0 2 &
> rfcomm listen can listen to up to 7 concurrent connections, but not all
> the connections to the same port (rfcomm# node). You should do:
> rfcomm listen 0 1 &
> rfcomm listen 1 2 &
>
> And when the connection is established you will get:
> /dev/rfcomm0
> /dev/rfcomm1
>
>
>
>


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


--------------------------------------------------------------------------------


> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 



[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
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:[~2008-03-19 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-19  6:50 [Bluez-users] multiple rfcomm listen ichane
2008-03-19 14:24 ` Manuel Naranjo
2008-03-19 15:42   ` ichane

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