Return-Path: Message-ID: From: "Albert Huang" To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] set/read flush timeout In-Reply-To: <44123BB2.5090707@fillibach.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8601_18648878.1142231972170" References: <441211DA.4060600@fillibach.de> <44123BB2.5090707@fillibach.de> Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 13 Mar 2006 01:39:32 -0500 ------=_Part_8601_18648878.1142231972170 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You'll need to read the Bluetooth spec for this, look for the read_automatic_flush_timeout part of the HCI section. Build a command packet similar to how it's done for writing, and use the rparam field to read the results. If you're confused, take a look at how the other read commands work. -albert On 3/10/06, Kosta Welke wrote: > > Albert Huang wrote: > > You need to actually set the flush timeout value... notice that timeout > > is never set, and argv[2] is never used... > > Okai, consider this my entry to "stupidest post on this list" :) > > Anyway, can you tell me how to read the flush timeout? > > Thanks in advance, > Kosta > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_8601_18648878.1142231972170 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You'll need to read the Bluetooth spec for this, look for the read_automatic_flush_timeout part of the HCI section.  Build a command packet similar to how it's done for writing, and use the rparam field to read the results.  If you're confused, take a look at how the other read commands work.

-albert

On 3/10/06, Kosta Welke <ko= sta@fillibach.de> wrote:
Albert Huang wrote:
> You need to actually set the flush timeout valu= e... notice that timeout
> is never set, and argv[2] is never used...=

Okai, consider this my entry to "stupidest post on this list&q= uot; :)

Anyway, can you tell me how to read the flush timeout?

Thank= s in advance,
Kosta


-----------------------------------------= --------------
This SF.Net email is sponsored by xPML, a groundbreaking = scripting language
that extends applications into web and mobile media. Attend the live we= bcast
and join the prime developer group breaking into this new coding t= erritory!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720= &dat=3D121642
_______________________________________________Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/list= info/bluez-devel

------=_Part_8601_18648878.1142231972170-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel