All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] does flush_to in l2cap setsockopt currently do anything?
Date: Wed, 30 Mar 2005 01:11:06 +0200	[thread overview]
Message-ID: <1112137866.9016.164.camel@pegasus> (raw)
In-Reply-To: <ef9938ec05032915072ee95a9@mail.gmail.com>

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

      reply	other threads:[~2005-03-29 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1112137866.9016.164.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.