linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] set/read flush timeout
@ 2006-03-10 23:55 Kosta Welke
  2006-03-11  2:37 ` Albert Huang
  0 siblings, 1 reply; 4+ messages in thread
From: Kosta Welke @ 2006-03-10 23:55 UTC (permalink / raw)
  To: bluez-devel

Hi!

I'm trying to do VoIP over PAN, and thus need to set (and read) the ACL 
flush timeout. I tried modifying Albert Huang example code, but it does 
not seem to work. Could someone give me a small hint what is wrong?

http://lastpageofthe.net/setflush.c

Disclamer: I'm a complete noob when it comes to HCI requests, so please 
forgive this "Help! Fix my problem!"-Mail. On the positive side, as soon 
as it works, I want to put it into hcitool.

Yours,
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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] set/read flush timeout
  2006-03-10 23:55 [Bluez-devel] set/read flush timeout Kosta Welke
@ 2006-03-11  2:37 ` Albert Huang
  2006-03-11  2:53   ` Kosta Welke
  0 siblings, 1 reply; 4+ messages in thread
From: Albert Huang @ 2006-03-11  2:37 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

You need to actually set the flush timeout value... notice that timeout is
never set, and argv[2] is never used...

Regards,
Albert

On 3/10/06, Kosta Welke <kosta@fillibach.de> wrote:
>
> Hi!
>
> I'm trying to do VoIP over PAN, and thus need to set (and read) the ACL
> flush timeout. I tried modifying Albert Huang example code, but it does
> not seem to work. Could someone give me a small hint what is wrong?
>
> http://lastpageofthe.net/setflush.c
>
> Disclamer: I'm a complete noob when it comes to HCI requests, so please
> forgive this "Help! Fix my problem!"-Mail. On the positive side, as soon
> as it works, I want to put it into hcitool.
>
> Yours,
> 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=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

[-- Attachment #2: Type: text/html, Size: 1841 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] set/read flush timeout
  2006-03-11  2:37 ` Albert Huang
@ 2006-03-11  2:53   ` Kosta Welke
  2006-03-13  6:39     ` Albert Huang
  0 siblings, 1 reply; 4+ messages in thread
From: Kosta Welke @ 2006-03-11  2:53 UTC (permalink / raw)
  To: bluez-devel

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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] set/read flush timeout
  2006-03-11  2:53   ` Kosta Welke
@ 2006-03-13  6:39     ` Albert Huang
  0 siblings, 0 replies; 4+ messages in thread
From: Albert Huang @ 2006-03-13  6:39 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

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 <kosta@fillibach.de> 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=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

[-- Attachment #2: Type: text/html, Size: 1792 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-13  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10 23:55 [Bluez-devel] set/read flush timeout Kosta Welke
2006-03-11  2:37 ` Albert Huang
2006-03-11  2:53   ` Kosta Welke
2006-03-13  6:39     ` Albert Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).