MAX_PAYLOAD_SIZE

const val MAX_PAYLOAD_SIZE: Int = 512(source)

Maximum payload size in bytes (exclusive of header). Enforced by the firmware's de-framer; frames whose announced length exceeds this trigger a resync rather than a buffer overflow.