MtuChanged
Event indicating that the (Maximum Transfer Unit) MTU has changed.
MTU is the maximum number of bytes that can be sent in a single Attribute Layer packet. GATT protocol may use some of the bytes for its own headers, so the maximum size of the payload is smaller, depending on the operation type.
An Attribute Layer payload may be automatically split into multiple Link Layer packets. The size of the Link Layer packet is 27 bytes by default, but it may be increased using Data Length Extension feature, supported on Android 6+. The size of the Link Layer packet is called the LL MTU and is not available using Android API.
Parameters
mtu
The new MTU.