From: Radha Thiagarajan <rthiaga1@urbana.css.mot.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Re: multi rfcomm/sco connection
Date: Wed, 04 Aug 2004 17:45:11 -0500 [thread overview]
Message-ID: <411166F7.2020500@urbana.css.mot.com> (raw)
In-Reply-To: <1089991775.5119.18.camel@pegasus>
Marcel,
We need clarification from you about two things regarding SCO.
1) We noticed that the SCO module has different behavior when dealing
with BDADDR_ANY as opposed to a specific bluetooth address. If a device
is told to listen for a SCO connection with BDADDR_ANY, and then creates
an outgoing SCO connection to a device using BDADDR_ANY, the connection
succeeds. Later, if an incoming SCO connection is received, the listen
socket will accept the connection (thus producing two SCO connections
over 2 ACL connections to 2 different devices).
This is all fine, but if instead, we bind the listen socket with a
specific device address (instead of BDADDR_ANY) and then try to make the
outgoing SCO connection using the specific address, it will fail
claiming that the address is already in use. This looks like
inconsistent behavior, given that even if we specify BDADDR_ANY and we
only have one interface, both connections will be using the same interface.
So, in short, if BlueZ is asked to use a specific interface for both
incoming and outgoing SCO connections, it will refuse to carry out the
bind calls, but if BDADDR_ANY is used, it will allow both connections.
Therefore, it appears to be a bug - either BlueZ really can't handle
more than one SCO at a time and it is being tricked into doing it, or it
should allow the user to specify the address and not complain.
2) Consider two devices A and B. A uses BlueZ while B does not. Let us
also assume that B can handle more than one SCO per ACL connection. Let
us say that there is a SCO connection between A and B already. Then B
initiates a second SCO connection on the same ACL to A. Looking at the
source for this situation, it appears that the device A will overwrite
the SCO socket values with the new one that was just established (since
it allows only one SCO per ACL). Is this the intended behavior?
Thanks,
Radha
On 07/16/2004 10:29 AM, Marcel Holtmann wrote:
>as I said, between two devices BlueZ supports only one ACL link and one
>SCO link. These links a bi-directional so you can play and capture audio
>data at the same time. The limit to one SCO link is only a per ACL link
>limitation. If you open a second ACL to another device you can also have
>a second SCO link bound to that connection.
>
>Regards
>
>Marcel
>
>
>
next prev parent reply other threads:[~2004-08-04 22:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-18 17:54 [Bluez-devel] multi rfcomm/sco connection ubaldo
2004-06-18 18:15 ` Marcel Holtmann
2004-06-18 18:33 ` ubaldo
2004-06-18 18:37 ` [Bluez-devel] " Marcel Holtmann
2004-06-18 18:42 ` ubaldo
2004-06-18 18:49 ` [Bluez-devel] " Marcel Holtmann
2004-07-16 14:02 ` ubaldo
2004-07-16 15:29 ` [Bluez-devel] " Marcel Holtmann
2004-08-04 22:45 ` Radha Thiagarajan [this message]
2004-08-04 23:35 ` Marcel Holtmann
2004-08-05 15:33 ` Radha Thiagarajan
2004-08-05 17:25 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-07-27 14:56 [Bluez-devel] SCO audio sync ubaldo
2004-07-27 15:06 ` Marcel Holtmann
2004-11-09 14:41 ` [Bluez-devel] Re: multi rfcomm/sco connection ubaldo
2004-11-10 0:52 ` Marcel Holtmann
[not found] <E1CQIAu-0004AO-Dd@sc8-sf-list2.sourceforge.net>
2004-11-06 13:14 ` Suriyan
2004-11-06 13:50 ` Marcel Holtmann
2004-11-06 16:47 ` Lars Grunewaldt
[not found] <20041110041405.3CC331D4758@sc8-sf-uberspam1.sourceforge.net>
2004-11-14 4:30 ` Suriyan
2004-11-14 15:35 ` Marcel Holtmann
2004-11-14 16:16 ` Lars Grunewaldt
2004-11-14 16:34 ` 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=411166F7.2020500@urbana.css.mot.com \
--to=rthiaga1@urbana.css.mot.com \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/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