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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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 <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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 <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>