Re: Connection refused - PSM not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthias,

On Thu, Feb 25, 2016, Matthias Schmidt wrote:
> I’m trying with a Nexus 4 ( Android 5.1.1 ) Phone using Bluepixel’s
> BLEScanner to browse the Services/Charateristics provided by Bluez
> 5.37 / ARM and
> our own Python/DBUS Code.
> 
> Alas, i don’t get any information displayed.
> 
> Two things which pop into my eyes while reading throug the dump are:
> 
> a) A connect request using the PSM(1) of SDP get’s turned down:

SDP is a BR/EDR protocol. It doesn't exist for LE (which I assume
you're using since you say you use something called BLEScanner). So
that's why you get PSM not supported.

> b) The Nexus refuses to raise the MTU to 517:
> 
> < ACL data: handle 1 flags 0x00 dlen 7
>     L2CAP(d): cid 0x0042 len 3 [psm 31]
>       ATT: MTU req (0x02)
>         client rx mtu 517
> > ACL data: handle 1 flags 0x02 dlen 9
>     L2CAP(d): cid 0x0040 len 5 [psm 31]
>       ATT: Error (0x01)
>         Error: Request not supported (6)
>         MTU req (0x02) on handle 0x0000
> 
> According to my interpretation of the spec this could happen and
> should not cause the connection to fail.

How is it failing? A disconnection isn't necessarily a failure - it
could just be a timeout happening.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux