MAX_MTU

const val MAX_MTU: Int = 517

Maximum supported MTU (Maximum Transmission Unit) size in bytes.

This value (517 bytes) is the maximum allowed by the Bluetooth specification starting from Bluetooth 4.2. The effective payload size after ATT protocol overhead is 514 bytes.

Note: Not all devices support the maximum MTU. The actual negotiated MTU depends on both the central and peripheral device capabilities.

See also