Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Detect MTU and Interval during connection?

Is there an easy way to check what the current connection's agreed upon MTU is?

I'm connecting to random devices that all have different intervals and MTUs. I can't be sure that this device supports more than 20 byte read/writes, but so I'd like to check with the softdevice and see what was established at connection.

Likewise, I'd like to know the current connection interval. But I haven't been able to find getter functions for these things.

Seems like it should be obvious, perhaps in a struct somewhere?

Thanks!

Parents Reply Children
No Data
Related