All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Max number of RFCOMM connections?
@ 2007-04-22 18:47 José Pedro Saraiva
  2007-04-22 19:28 ` Loreno Oliveira
  0 siblings, 1 reply; 9+ messages in thread
From: José Pedro Saraiva @ 2007-04-22 18:47 UTC (permalink / raw)
  To: bluez-users


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

Hi all, can someone please enlight me on the following?

What is the maximum number of RFCOMM connections for each bluetooth dongle
with BlueZ?

Thanks in advance

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- 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] 9+ messages in thread

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-22 18:47 [Bluez-users] Max number of RFCOMM connections? José Pedro Saraiva
@ 2007-04-22 19:28 ` Loreno Oliveira
  2007-04-22 22:21   ` Manuel Naranjo
  0 siblings, 1 reply; 9+ messages in thread
From: Loreno Oliveira @ 2007-04-22 19:28 UTC (permalink / raw)
  To: BlueZ users


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

I believe the maximum number of allowed connections relates to the number of
ports available to connect to using rfcomm.
Thus, my guess is 30.

http://people.csail.mit.edu/albert/bluez-intro/x92.html#rfcomm-and-tcp

Regards,

Loreno

On 4/22/07, José Pedro Saraiva <nocive@gmail.com> wrote:
>
> Hi all, can someone please enlight me on the following?
>
> What is the maximum number of RFCOMM connections for each bluetooth dongle
> with BlueZ?
>
> Thanks in advance
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- 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] 9+ messages in thread

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-22 19:28 ` Loreno Oliveira
@ 2007-04-22 22:21   ` Manuel Naranjo
  2007-04-22 22:36     ` Loreno Oliveira
  0 siblings, 1 reply; 9+ messages in thread
From: Manuel Naranjo @ 2007-04-22 22:21 UTC (permalink / raw)
  To: BlueZ users

I'm sorry, that's not right. There's a maximum of 7 ACL connections per 
bluetooth dongle, according to the specs of the BT SIG. And RFCOMM is 
implemented over ACL, so you have a maximum of 7 simultaneous rfcomm 
connections.
> I believe the maximum number of allowed connections relates to the 
> number of ports available to connect to using rfcomm.
> Thus, my guess is 30.
>
> http://people.csail.mit.edu/albert/bluez-intro/x92.html#rfcomm-and-tcp
>
> Regards,
>
> Loreno
>
>
>     Hi all, can someone please enlight me on the following?
>
>     What is the maximum number of RFCOMM connections for each
>     bluetooth dongle with BlueZ?
>
>     Thanks in advance
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-22 22:21   ` Manuel Naranjo
@ 2007-04-22 22:36     ` Loreno Oliveira
  2007-04-22 22:41       ` Manuel Naranjo
  0 siblings, 1 reply; 9+ messages in thread
From: Loreno Oliveira @ 2007-04-22 22:36 UTC (permalink / raw)
  To: BlueZ users


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

I totally agree with you, but I thought the question was about the maximum
number of RFCOMM connections.
When I said 30 I considered scenarios where there could be more than one
RFCOMM connection between the same two ACL-connected devices...

Actually, I have never implemented such scenario. I agree I am wrong if
bluetooth doesn't allow to establish such a set of simultaneous
connections...

Loreno

On 4/22/07, Manuel Naranjo <naranjo.manuel@gmail.com> wrote:
>
> I'm sorry, that's not right. There's a maximum of 7 ACL connections per
> bluetooth dongle, according to the specs of the BT SIG. And RFCOMM is
> implemented over ACL, so you have a maximum of 7 simultaneous rfcomm
> connections.
> > I believe the maximum number of allowed connections relates to the
> > number of ports available to connect to using rfcomm.
> > Thus, my guess is 30.
> >
> > http://people.csail.mit.edu/albert/bluez-intro/x92.html#rfcomm-and-tcp
> >
> > Regards,
> >
> > Loreno
> >
> >
> >     Hi all, can someone please enlight me on the following?
> >
> >     What is the maximum number of RFCOMM connections for each
> >     bluetooth dongle with BlueZ?
> >
> >     Thanks in advance
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- 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] 9+ messages in thread

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-22 22:36     ` Loreno Oliveira
@ 2007-04-22 22:41       ` Manuel Naranjo
  2007-04-23  4:25         ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Manuel Naranjo @ 2007-04-22 22:41 UTC (permalink / raw)
  To: BlueZ users

Yes you are right, the question is quite tricky.
Cheers
> I totally agree with you, but I thought the question was about the 
> maximum number of RFCOMM connections.
> When I said 30 I considered scenarios where there could be more than 
> one RFCOMM connection between the same two ACL-connected devices...
>
> Actually, I have never implemented such scenario. I agree I am wrong 
> if bluetooth doesn't allow to establish such a set of simultaneous 
> connections...
>
> Loreno
>
>     bluetooth dongle, according to the specs of the BT SIG. And RFCOMM is
>     implemented over ACL, so you have a maximum of 7 simultaneous rfcomm
>     connections.
>     > I believe the maximum number of allowed connections relates to the
>     > number of ports available to connect to using rfcomm.
>     > Thus, my guess is 30.
>     >
>     >
>     http://people.csail.mit.edu/albert/bluez-intro/x92.html#rfcomm-and-tcp
>     >
>     > Regards,
>     >
>     > Loreno
>     >
>     >
>     >     Hi all, can someone please enlight me on the following?
>     >
>     >     What is the maximum number of RFCOMM connections for each
>     >     bluetooth dongle with BlueZ?
>     >
>     >     Thanks in advance
>     >
>
>
>     -------------------------------------------------------------------------
>     This SF.net email is sponsored by DB2 Express
>     Download DB2 Express C - the FREE version of DB2 express and take
>     control of your XML. No limits. Just data. Click to get it now.
>     http://sourceforge.net/powerbar/db2/
>     <http://sourceforge.net/powerbar/db2/>
>     _______________________________________________
>     Bluez-users mailing list
>     Bluez-users@lists.sourceforge.net
>     <mailto:Bluez-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/bluez-users
>
> I'm sorry, that's not right. There's a maximum of 7 ACL connections per
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-22 22:41       ` Manuel Naranjo
@ 2007-04-23  4:25         ` Marcel Holtmann
  2007-04-23 11:59           ` Manuel Naranjo
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2007-04-23  4:25 UTC (permalink / raw)
  To: BlueZ users

Hi Manuel,

> Yes you are right, the question is quite tricky.

the answer is quite simple. Per ACL link between two devices you can
have 30 RFCOMM connections and another 30 one initiated by the other
device. Every piconet can have 7 ACL links and so you can do the math by
yourself.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-23  4:25         ` Marcel Holtmann
@ 2007-04-23 11:59           ` Manuel Naranjo
  2007-04-23 16:09             ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: Manuel Naranjo @ 2007-04-23 11:59 UTC (permalink / raw)
  To: BlueZ users

Marcel
> the answer is quite simple. Per ACL link between two devices you can
> have 30 RFCOMM connections and another 30 one initiated by the other
> device. Every piconet can have 7 ACL links and so you can do the math by
> yourself.
>   
I'm a bit confused :S. I thought you could only open 7 ACL on each 
device. So according to you I can get 7 ACL and then open up to 60 
RFCOMM over it right?. I guess the bandwidth will be divided between all 
those connections mhh it will be definitely to slow :D.
Thanks,
Manuel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-23 11:59           ` Manuel Naranjo
@ 2007-04-23 16:09             ` Marcel Holtmann
  2007-04-24  2:29               ` José Pedro Saraiva
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2007-04-23 16:09 UTC (permalink / raw)
  To: BlueZ users

Hi Manuel,

> > the answer is quite simple. Per ACL link between two devices you can
> > have 30 RFCOMM connections and another 30 one initiated by the other
> > device. Every piconet can have 7 ACL links and so you can do the math by
> > yourself.
> >   
> I'm a bit confused :S. I thought you could only open 7 ACL on each 
> device. So according to you I can get 7 ACL and then open up to 60 
> RFCOMM over it right?. I guess the bandwidth will be divided between all 
> those connections mhh it will be definitely to slow :D.

actually the bandwidth or 1 Mbit or 3 Mbit in case of EDR will also
divided between the 7 ACL links. And yes, the bandwidth will be shared.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Max number of RFCOMM connections?
  2007-04-23 16:09             ` Marcel Holtmann
@ 2007-04-24  2:29               ` José Pedro Saraiva
  0 siblings, 0 replies; 9+ messages in thread
From: José Pedro Saraiva @ 2007-04-24  2:29 UTC (permalink / raw)
  To: BlueZ users


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

Thanks all for the fast feedback and my apologies if my question wasn't
specific enough =)
I have one more doubt, though.

Knowing that each hci device suports 7 ACL, do SDP queries and hci scans
count as ACL when performed, even momentarely?

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- 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] 9+ messages in thread

end of thread, other threads:[~2007-04-24  2:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 18:47 [Bluez-users] Max number of RFCOMM connections? José Pedro Saraiva
2007-04-22 19:28 ` Loreno Oliveira
2007-04-22 22:21   ` Manuel Naranjo
2007-04-22 22:36     ` Loreno Oliveira
2007-04-22 22:41       ` Manuel Naranjo
2007-04-23  4:25         ` Marcel Holtmann
2007-04-23 11:59           ` Manuel Naranjo
2007-04-23 16:09             ` Marcel Holtmann
2007-04-24  2:29               ` José Pedro Saraiva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.