Connection refused - PSM not supported

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

 



Hi *,

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: 

> ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0044

< ACL data: handle 1 flags 0x00 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0044 result 2 status 0
      Connection refused - 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.

Can someone explain the „PSM not supported“ behaviour and why we don’t see the services? Other Clients, especially IOS work fine here.

cheers,

Matthias


Matthias Schmidt
Senior Architect

diva-e Karlsruhe
Ludwig-Erhard-Allee 20, 76131 Karlsruhe, Deutschland
T: +49 721 92060 822
M: +49 175 2694213
matthias.schmidt@xxxxxxxxxx
www.diva-e.com follow us: twitter, facebook, LinkedIn, Xing

-------------------------------------------------
diva-e | Netpioneer GmbH 
Ludwig-Erhard-Allee 20, 76131 Karlsruhe
HRB: 107521 Handelsregister Mannheim
Geschäftsführung: Marcel Fuhlmann, Stefan Märkle, Axel Jahn

��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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