* [Bluez-devel] Troubles with mulitple SCO connections (duplex)
@ 2007-04-04 8:24 Markus Adolfsson
2007-04-04 11:40 ` Jose Vasconcellos
0 siblings, 1 reply; 8+ messages in thread
From: Markus Adolfsson @ 2007-04-04 8:24 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 1459 bytes --]
Hi all,
I'd like to establish two SCO connections simultaneously using BlueZ
from my "coordinator" application that in the long run will connect /
mix the two SCO connections to let two headsets hear each other, as well
as letting the master controller-application I'm writing to hear both
headsets...
The app itself is fairly straight forward and I've gotten everything to
work properly besides one little tiny detail - One SCO connection works
fine, but once I connect the second SCO connection, all SCO connections
goes down (without any error from the socket / connect commands)...
Both SCO-connections are still there, the headsets only hear "noise" and
I have the fealing that the two headsets don't send any audio, but that
they _do receive_ on the SCO connections... Strange!
Is this a packet-type issue and if so - how can I set the packet-types
from "within" the BlueZ lib / my app?
Regards,
/Markus Adolfsson
--
------------------------------------------------------------------------
*Markus Adolfsson*
M.Sc.CE. Product Development
Mail: markus.adolfsson@free2move.net
<mailto:markus.adolfsson@free2move.net>
Phone: +46 35 152268 <callto:+4635152268>
Mobile: +46 707 165296 <callto:+46707165296>
*Free2move AB* -- /WIRELESS MADE EASY/
Phone: +46 35 152260 <callto:+4635152260>
Fax: +46 35 152269 <callto:+4635152269>
Web: www.free2move.net <http://www.free2move.net>
Address: Sperlingsgatan 7
SE-30248 Halmstad
Sweden
[-- Attachment #1.2: Type: text/html, Size: 2994 bytes --]
[-- Attachment #2: markus.adolfsson.vcf --]
[-- Type: text/x-vcard, Size: 269 bytes --]
begin:vcard
fn:Markus Adolfsson
n:Adolfsson;Markus
org:Free2move;Product Development
adr:;;Sperlingsgatan 7;Halmstad;;302 48;Sweden
email;internet:markus.adolfsson@free2move.net
title:M.Sc.C.E.
tel;work:+46 35 152268
url:http://www.free2move.net
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Troubles with mulitple SCO connections (duplex)
2007-04-04 8:24 [Bluez-devel] Troubles with mulitple SCO connections (duplex) Markus Adolfsson
@ 2007-04-04 11:40 ` Jose Vasconcellos
2007-04-04 13:46 ` Markus Adolfsson
0 siblings, 1 reply; 8+ messages in thread
From: Jose Vasconcellos @ 2007-04-04 11:40 UTC (permalink / raw)
To: BlueZ development
What you are seeing is normal. The current code only supports one
connection.
It would be better if the existing code simply would fail to open a second
connection to avoid a lot of confusion.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Troubles with mulitple SCO connections (duplex)
2007-04-04 11:40 ` Jose Vasconcellos
@ 2007-04-04 13:46 ` Markus Adolfsson
2007-04-04 14:06 ` Brad Midgley
0 siblings, 1 reply; 8+ messages in thread
From: Markus Adolfsson @ 2007-04-04 13:46 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 1839 bytes --]
Hi Jose,
My spontaneous reaction would be; really?
My code is based on the socket-abstraction in BlueZ and it works fine
for multiple ACL connections, and the SCO-option is only a second
socket-invocation on top of that...? Confusing... There has to be some
way to solve this? Setting SCO packet type to HV1 allows for three
simultaneous SCO connections AFAIK - so this should not be limited in
BlueZ - and if it really is, then why and how do I work around that....
I mean, RF_COMM / ACL sockets work just fine...
Regards,
Markus Adolfsson
Jose Vasconcellos skrev:
> What you are seeing is normal. The current code only supports one
> connection.
> It would be better if the existing code simply would fail to open a second
> connection to avoid a lot of confusion.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
--
------------------------------------------------------------------------
*Markus Adolfsson*
M.Sc.CE. Product Development
Mail: markus.adolfsson@free2move.net
<mailto:markus.adolfsson@free2move.net>
Phone: +46 35 152268 <callto:+4635152268>
Mobile: +46 707 165296 <callto:+46707165296>
*Free2move AB* -- /WIRELESS MADE EASY/
Phone: +46 35 152260 <callto:+4635152260>
Fax: +46 35 152269 <callto:+4635152269>
Web: www.free2move.net <http://www.free2move.net>
Address: Sperlingsgatan 7
SE-30248 Halmstad
Sweden
[-- Attachment #1.2: Type: text/html, Size: 3730 bytes --]
[-- Attachment #2: markus.adolfsson.vcf --]
[-- Type: text/x-vcard, Size: 269 bytes --]
begin:vcard
fn:Markus Adolfsson
n:Adolfsson;Markus
org:Free2move;Product Development
adr:;;Sperlingsgatan 7;Halmstad;;302 48;Sweden
email;internet:markus.adolfsson@free2move.net
title:M.Sc.C.E.
tel;work:+46 35 152268
url:http://www.free2move.net
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Troubles with mulitple SCO connections (duplex)
2007-04-04 13:46 ` Markus Adolfsson
@ 2007-04-04 14:06 ` Brad Midgley
2007-04-04 14:32 ` Markus Adolfsson
0 siblings, 1 reply; 8+ messages in thread
From: Brad Midgley @ 2007-04-04 14:06 UTC (permalink / raw)
To: BlueZ development
Markus
> My spontaneous reaction would be; really?
>
> My code is based on the socket-abstraction in BlueZ and it works fine
> for multiple ACL connections
Marcel says the usb layer needs a rewrite to accommodate this. It has
something to do with resource allocation on usb iirc.
It does work now on systems that use a serial hci connection (mostly
embedded) but that may not help you.
Brad
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Troubles with mulitple SCO connections (duplex)
2007-04-04 14:06 ` Brad Midgley
@ 2007-04-04 14:32 ` Markus Adolfsson
2007-04-11 8:16 ` Markus Adolfsson
0 siblings, 1 reply; 8+ messages in thread
From: Markus Adolfsson @ 2007-04-04 14:32 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 1901 bytes --]
Hi Brad,
Ok -- that does make my life a bit easier ;)
The target-platform for my app is indeed an embedded one with a serial
interface to a BT module, so that's fine... However I'm developing the
app on a "real" computer using an USB dongle, but I'll try to
cross-compile and go for the intended target-platform instead and keep
my fingers crossed...
Thanks all for your input!
/Markus
Brad Midgley skrev:
> Markus
>
>
>> My spontaneous reaction would be; really?
>>
>> My code is based on the socket-abstraction in BlueZ and it works fine
>> for multiple ACL connections
>>
>
> Marcel says the usb layer needs a rewrite to accommodate this. It has
> something to do with resource allocation on usb iirc.
>
> It does work now on systems that use a serial hci connection (mostly
> embedded) but that may not help you.
>
> Brad
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
--
------------------------------------------------------------------------
*Markus Adolfsson*
M.Sc.CE. Product Development
Mail: markus.adolfsson@free2move.net
<mailto:markus.adolfsson@free2move.net>
Phone: +46 35 152268 <callto:+4635152268>
Mobile: +46 707 165296 <callto:+46707165296>
*Free2move AB* -- /WIRELESS MADE EASY/
Phone: +46 35 152260 <callto:+4635152260>
Fax: +46 35 152269 <callto:+4635152269>
Web: www.free2move.net <http://www.free2move.net>
Address: Sperlingsgatan 7
SE-30248 Halmstad
Sweden
[-- Attachment #1.2: Type: text/html, Size: 3867 bytes --]
[-- Attachment #2: markus.adolfsson.vcf --]
[-- Type: text/x-vcard, Size: 269 bytes --]
begin:vcard
fn:Markus Adolfsson
n:Adolfsson;Markus
org:Free2move;Product Development
adr:;;Sperlingsgatan 7;Halmstad;;302 48;Sweden
email;internet:markus.adolfsson@free2move.net
title:M.Sc.C.E.
tel;work:+46 35 152268
url:http://www.free2move.net
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-devel] Troubles with mulitple SCO connections (duplex)
2007-04-04 14:32 ` Markus Adolfsson
@ 2007-04-11 8:16 ` Markus Adolfsson
2007-04-11 8:21 ` Mayank BATRA
0 siblings, 1 reply; 8+ messages in thread
From: Markus Adolfsson @ 2007-04-11 8:16 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 3444 bytes --]
For what it's worth;
After having cross-compiled to my embedded system and leaving the
USB-dongle solution behind, everything now works like a breeze and I now
have a BT device hosting running 2 SCO connections and 3 RF_COMM sockets
simultaneously.
Thanks for your help along the way!
/Markus
Markus Adolfsson skrev:
> Hi Brad,
>
> Ok -- that does make my life a bit easier ;)
>
> The target-platform for my app is indeed an embedded one with a serial
> interface to a BT module, so that's fine... However I'm developing the
> app on a "real" computer using an USB dongle, but I'll try to
> cross-compile and go for the intended target-platform instead and keep
> my fingers crossed...
>
> Thanks all for your input!
> /Markus
>
> Brad Midgley skrev:
>> Markus
>>
>>
>>> My spontaneous reaction would be; really?
>>>
>>> My code is based on the socket-abstraction in BlueZ and it works fine
>>> for multiple ACL connections
>>>
>>
>> Marcel says the usb layer needs a rewrite to accommodate this. It has
>> something to do with resource allocation on usb iirc.
>>
>> It does work now on systems that use a serial hci connection (mostly
>> embedded) but that may not help you.
>>
>> Brad
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Bluez-devel mailing list
>> Bluez-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>>
>
> --
> ------------------------------------------------------------------------
> *Markus Adolfsson*
> M.Sc.CE. Product Development
> Mail: markus.adolfsson@free2move.net
> <mailto:markus.adolfsson@free2move.net>
> Phone: +46 35 152268 <callto:+4635152268>
> Mobile: +46 707 165296 <callto:+46707165296>
>
>
> *Free2move AB* -- /WIRELESS MADE EASY/
> Phone: +46 35 152260 <callto:+4635152260>
> Fax: +46 35 152269 <callto:+4635152269>
> Web: www.free2move.net <http://www.free2move.net>
> Address: Sperlingsgatan 7
> SE-30248 Halmstad
> Sweden
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
--
------------------------------------------------------------------------
*Markus Adolfsson*
M.Sc.CE. Product Development
Mail: markus.adolfsson@free2move.net
<mailto:markus.adolfsson@free2move.net>
Phone: +46 35 152268 <callto:+4635152268>
Mobile: +46 707 165296 <callto:+46707165296>
*Free2move AB* -- /WIRELESS MADE EASY/
Phone: +46 35 152260 <callto:+4635152260>
Fax: +46 35 152269 <callto:+4635152269>
Web: www.free2move.net <http://www.free2move.net>
Address: Sperlingsgatan 7
SE-30248 Halmstad
Sweden
[-- Attachment #1.2: Type: text/html, Size: 7203 bytes --]
[-- Attachment #2: markus.adolfsson.vcf --]
[-- Type: text/x-vcard, Size: 269 bytes --]
begin:vcard
fn:Markus Adolfsson
n:Adolfsson;Markus
org:Free2move;Product Development
adr:;;Sperlingsgatan 7;Halmstad;;302 48;Sweden
email;internet:markus.adolfsson@free2move.net
title:M.Sc.C.E.
tel;work:+46 35 152268
url:http://www.free2move.net
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-04-11 8:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 8:24 [Bluez-devel] Troubles with mulitple SCO connections (duplex) Markus Adolfsson
2007-04-04 11:40 ` Jose Vasconcellos
2007-04-04 13:46 ` Markus Adolfsson
2007-04-04 14:06 ` Brad Midgley
2007-04-04 14:32 ` Markus Adolfsson
2007-04-11 8:16 ` Markus Adolfsson
2007-04-11 8:21 ` Mayank BATRA
2007-04-11 8:36 ` Markus Adolfsson
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.