This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unusual behaviour with specific model host (SM-T580) with nRF52

Hello there,

I am working with a peripheral device that we are testing with many different devices, and have run into a very unusual issue. With a brand new Android tablet (SM-T580) we are unable to connect to our prototype device which uses an nRF52832 with S132 v4.0.2 (SDK 13.1).

In NRF Connect we got this error: Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST

And looking at the debug info from the device it looks like: nRF52_debugInfo.png

What it shows is that the device on connection attempts to negotiate ATT MTU of 249B, but for some reason, the tablet requests a data length of 100 bytes. What? This doesn't happen with any of the other devices I have tried, even devices on old spec (BT 4.0).

It gets weirder, because in the ble_template app provided in the SDK (which does not have an unusual packet length), it still fails with the same error (Error 22 (0x16)): nRF 52 ble template

Here's the kicker, the SM-T580 works fine with S130 (SDK 11) devices with 20B packet size.

All connection attempts were made with nRF Connect.

Any idea what's going on here?

Thanks!

Related