Expand description
Implements the Tockloader protocol.
TockOS applications are loaded with tockloader
.
This speaks to the TockOS bootloader using a specific
protocol. This crate implements that protocol so
that you can write future tockloader compatible bootloaders
in Rust!
Modules§
Structs§
- Command
Decoder - The
ComandDecoder
takes bytes and gives youCommand
s. - Command
Encoder - The
CommandEncoder
takes aCommand
and gives you bytes. - Response
Decoder - The
ResponseDecoder
takes bytes and gives youResponses
s. - Response
Encoder - The
ResponseEncoder
takes aResponse
and gives you bytes.
Enums§
- Baud
Mode - Command
- Commands supported by the protocol. A bootloader will decode these and a flash tool will encode them.
- Error
- Response
- Reponses supported by the protocol. A bootloader will encode these and a flash tool will decode them.