Expand description
McuBoot Protocol Packet Implementation
The module defines traits for packet construction and parsing, packet type constants, and the common packet header format used across all McuBoot packet types.
§Packet Structure
All McuBoot packets follow this format:
- Start byte (0x5A)
- Packet type code (1 byte)
- Length (2 bytes, little-endian)
- CRC16 (2 bytes, little-endian)
- Data payload (variable length)
Modules§
- command
- McuBoot Command Packet Implementation
- data_
phase - McuBoot Data Phase Packet Implementation
- ping
- McuBoot Ping Packet Implementation
Traits§
- Packet
- Trait for packet type identification
- Packet
Construct - Trait for packet construction
- Packet
Parse - Trait for packet parsing