
DATA -> the requested command is ready for the data phase.

OKAY -> the requested command completed successfully. The remaining 252 bytes of the response (if present) provide a textual failure message to present to the user.

Payload is expected to be NULL terminated.Ĭ. The payload is printed as-is with no newline at the end. It differs from info in that no formatting is applied. They should be displayed and then step #2 repeats. TEXT -> the remaining 252 bytes are arbitrary. The print format is: "(bootloader) " + InfoMessagePayload + ‘\n’ī. INFO -> the remaining 252 bytes are an informative message (providing progress or diagnostic messages). Additional bytes may contain an (ascii) informative message.Ī. The first four bytes of the response are “OKAY”, “FAIL”, “DATA”, “INFO” or “TEXT”. Host sends a command, which is an ascii string in a single packet no greater than 4096 bytes.Ĭlient response with a single packet no greater than 256 bytes.

