Module packets

Module packets 

Source
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
PacketConstruct
Trait for packet construction
PacketParse
Trait for packet parsing