Re: [Bluez-devel] Disconnections are not being detected.

Marcel Holtmann
2004-08-21T10:10:55Z

Hi Xavier,

> >> 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) ...

you are right. It should fill in dcid and scid. The remote device is
broken. Blame SE about that. I still don't know where the command reject
came from :(