Return-Path: Message-ID: <452FBCA5.5010500@free.fr> Date: Fri, 13 Oct 2006 18:19:49 +0200 From: Fabien Chevalier MIME-Version: 1.0 To: BlueZ development References: <452E84DA.9090307@free.fr> <452E99E8.6070406@vasmac.com> <452EF9E8.6020304@xmission.com> In-Reply-To: <452EF9E8.6020304@xmission.com> Subject: Re: [Bluez-devel] [PATCH] Updated sco flow control feature Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Brad, please find below a few additionnal notes > Jose > >> The problem I'm running into now is with dynamic isochronous >> allocation. By default my driver sets interface 1 to use alternative 0 >> (i.e. no bandwidth). When the SCO is opened, this is changed to >> alternative 2. All this works great. It's when the SCO is closed or >> a second SCO is opened that causes problems as the bandwidth >> needs to be reallocated. > > You're encountering something we need to address anyway for multiple sco > connections. I haven't had a very clear understanding of the alt > setting. It seems that we were setting it to 2 and leaving it there but > maybe it is actually going between 0 and 2 dynamically. > Alternate settings are used to have an isochronous USB endpoint working at the appropriate bandwidth. Isochronous endpoints in USB have a dedicated allocated bandwidth, so the bluetooth stack should select the proper alternate setting, given the number of SCO connections opened, and the bandwidth allocated to each one. The table below sums up which alternate configuration must be used given the number of sco channels in use. Nr of 8 bits SCO Nr of 16 bits SCO Alt. config. to use 0 0 0 1 0 1 2 0 2 3 0 3 0 1 2 0 2 4 0 3 5 Cheers, Fabien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel