* [Bluez-devel] does flush_to in l2cap setsockopt currently do anything?
@ 2005-03-29 23:07 Albert Huang
2005-03-29 23:11 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Albert Huang @ 2005-03-29 23:07 UTC (permalink / raw)
To: BlueZ Mailing List
Hi all,
I was poking through the sources while trying to find an easy way to
set the ACL automatic flush timeout with an l2cap socket.
Does setsockopt(s, SOL_L2CAP, L2CAP_OPTIONS, ...) cause the underlying
ACL automatic flush timeout to change? It doesn't look like flush_to
is being used in net/bluetooth/l2cap.c:setsockopt
Is there an easier way of doing it short of extracting the underlying
ACL connection handle and then sending an HCI
Write_Automatic_Flush_Timeout command packet to a separate HCI socket?
Regards,
Albert
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] does flush_to in l2cap setsockopt currently do anything?
2005-03-29 23:07 [Bluez-devel] does flush_to in l2cap setsockopt currently do anything? Albert Huang
@ 2005-03-29 23:11 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-29 23:11 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Albert,
> I was poking through the sources while trying to find an easy way to
> set the ACL automatic flush timeout with an l2cap socket.
>
> Does setsockopt(s, SOL_L2CAP, L2CAP_OPTIONS, ...) cause the underlying
> ACL automatic flush timeout to change? It doesn't look like flush_to
> is being used in net/bluetooth/l2cap.c:setsockopt
it is doing nothing at the moment.
> Is there an easier way of doing it short of extracting the underlying
> ACL connection handle and then sending an HCI
> Write_Automatic_Flush_Timeout command packet to a separate HCI socket?
May you wanna look at the cmd_info() part of hcitool.c.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-29 23:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-29 23:07 [Bluez-devel] does flush_to in l2cap setsockopt currently do anything? Albert Huang
2005-03-29 23:11 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox