>> 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 <[email protected]>
http://www.xgarreau.org
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 :(
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel