All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@rvs.uni-bielefeld.de>
To: Daryl Van Vorst <daryl@wideray.com>
Cc: "'BlueZ Mailing List'" <bluez-devel@lists.sourceforge.net>,
	"'Max Krasnyansky'" <maxk@qualcomm.com>
Subject: RE: [Bluez-devel] Qualification - L2CA_DisconnectCfm
Date: 13 May 2003 01:48:56 +0200	[thread overview]
Message-ID: <1052783343.1132.159.camel@pegasus.local> (raw)
In-Reply-To: <000701c318d7$e6598e90$1a01010a@baked>

Hi Daryl,

> What happens when you close an L2CAP connection?

if you close() the L2CAP connection, we send a L2CAP_DISCONN_REQ and set
a timeout of 5 seconds. In the case of L2CAP_DISCONN_RSP or the timeout,
we close the L2CAP channel.

Max, please correct me if this is wrong, because I am not 100% sure.

> There is a test (see below) where the IUT sends an L2CAP disconnect request
> but the tester ignores it (doesn't send a disconnect response). To pass the
> test we must at least show an "L2CAP_DisconnectCfm" to the application.
> Indicating that a timeout ocurred is optional.

I don't understand why the application needs to now if the L2CAP channel
is correctly disconnected? We close the L2CAP socket and the rest has to
be done by the kernel. If the link is dead and the other side didn't
response, waiting 60 seconds won't help. Or did you see any advantage of
a blocking close()?

Regards

Marcel




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2003-05-12 23:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10  0:04 [Bluez-devel] Qualification - L2CA_DisconnectCfm Daryl Van Vorst
2003-05-12 22:43 ` Daryl Van Vorst
2003-05-12 23:48   ` Marcel Holtmann [this message]
2003-05-13  0:11     ` Daryl Van Vorst
2003-05-13 18:00       ` Max Krasnyansky
2003-05-13 22:44         ` Marcel Holtmann
2003-05-13 23:11           ` Max Krasnyansky

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=1052783343.1132.159.camel@pegasus.local \
    --to=marcel@rvs.uni-bielefeld.de \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=daryl@wideray.com \
    --cc=maxk@qualcomm.com \
    /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.