public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Suriyan" <suriyan@netgadgets.co.th>
To: <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Re: multi rfcomm/sco connection
Date: Sun, 14 Nov 2004 11:30:52 +0700	[thread overview]
Message-ID: <003101c4ca02$b9f20d90$6f04a8c0@ZBOX> (raw)
In-Reply-To: 20041110041405.3CC331D4758@sc8-sf-uberspam1.sourceforge.net

Hi Marcel,

I just found the way to work with three headsets over only one
Bluetooth dongle by a few hardcoded to BlueZ:-

1. force alternate setting of USB interface number 1, isochronous
    endpoint to 5 (3 voice channels with 16 bit encoding)

when three SCO channels connected (by run three hsplay consecutively)
I found each incoming SCO HCI frame size up to 144 bytes (as I known
previously one voice channel with 16-bit encoding SCO HCI frame size
equals 48 bytes so that three channels 48 * 3 = 144 bytes)

This mean one HCI frame to transmit/receive for each SCO channel
over USB isochronous endpoint when three SCO channels were
connected have frame size equals 144 bytes + 3 bytes header
(handle and size) but I not sure this is CSR specific since Bluetooth
HCI USB transport specification (H:2) have not details in this point,
define only suggested Max Packet Size of each USB frame for transport
SCO HCI frame.

This cause I must do the second step,

2. bypass checking (skb->len > hdev->sco_mtu) in function
    hci_send_sco(...) [hci_core.c] and (len > conn->mtu) in
    function sco_send_frame(...) [sco.c]
    *** I just think, this step maybe change by hciconfig tool. ***

Next step, I would like to fixed to dynamicaly change the alternate setting
by looking for previous thread "question about hci_usb endpoint
selection..." as you known in notify() cannot call usb_set_interface()
since always in_interrupt() so that I would like to purpose to add ioctl()
into hci_usb driver to do this or do you have others better approach?

Last, I found new problem when three SCO channels were connected
ACL links (RFCOMM) that also connected to three Headset for control have
very long response time (sometime up to 10 seconds or more to appear
after I pressed a button on Headset). What are the sources of this problem?
- Bandwidth limitation of Bluetooth and theirs packet type?
- Implementation of Bluetooth firmware on USB dongle?
- Implementation of USB stack on Linux?
- Implementation of BlueZ stack?

Regards

Suriyan.




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

       reply	other threads:[~2004-11-14  4:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20041110041405.3CC331D4758@sc8-sf-uberspam1.sourceforge.net>
2004-11-14  4:30 ` Suriyan [this message]
2004-11-14 15:35   ` [Bluez-devel] Re: multi rfcomm/sco connection Marcel Holtmann
2004-11-14 16:16     ` Lars Grunewaldt
2004-11-14 16:34       ` 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
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
  -- strict thread matches above, loose matches on Subject: below --
2004-06-18 17:54 [Bluez-devel] " 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
2004-08-04 23:35                 ` Marcel Holtmann
2004-08-05 15:33                   ` Radha Thiagarajan
2004-08-05 17:25                     ` 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='003101c4ca02$b9f20d90$6f04a8c0@ZBOX' \
    --to=suriyan@netgadgets.co.th \
    --cc=bluez-devel@lists.sourceforge.net \
    /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