public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Xavier GARREAU" <x.garreau@prim-time.fr>
To: "Marcel Holtmann" <marcel@holtmann.org>, "Vlad" <vkorolev@nist.gov>
Cc: <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Disconnections are not being detected.
Date: Sat, 21 Aug 2004 10:02:44 +0200	[thread overview]
Message-ID: <003f01c48755$3dfe6a70$0301a8c0@zazoumobile> (raw)
In-Reply-To: 1093073294.3544.12.camel@notepaq

>> 1093025241.319200 > ACL data: handle 0x0006 flags 0x02 dlen 16
>>     L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0000 result 2 status 0
>> 1093025241.320195 < ACL data: handle 0x0006 flags 0x02 dlen 10
>>     L2CAP(s): Command rej: reason 0


> actually that is not quite right. The server (phone) sends back a
> connect response with PSM not supported error status. And we then
> send a command reject for that. This is really stupid. What kernel
> version do you use and what kind of hardware is this? Can you
> reproduce it with the latest 2.4 or 2.6 kernel?

I guess the command reject is due to scid and dcid being both set to 0 by
the remote device. So bluez doesn't know who it's to talking to (as we can
have several cid on one ACL link) ...

I may be wrong but that sounds like an appropriated behaviour to me.

BR,
-- 
Xavier Garreau <xavier@xgarreau.org>
http://www.xgarreau.org

  reply	other threads:[~2004-08-21  8:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20 18:47 [Bluez-devel] Disconnections are not being detected Vlad
2004-08-21  7:28 ` Marcel Holtmann
2004-08-21  8:02   ` Xavier GARREAU [this message]
2004-08-21 10:10     ` Marcel Holtmann
2004-08-27  0:17       ` [Bluez-devel] " Vlad
2004-08-27 11:33         ` Marcel Holtmann

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='003f01c48755$3dfe6a70$0301a8c0@zazoumobile' \
    --to=x.garreau@prim-time.fr \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    --cc=vkorolev@nist.gov \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox