Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The client → boards datagram should have the following format:

Update ID:

Code Block
uint8 id = 6 // Use 6 here as the datagram ID to avoid conflicts 
uint16 data_size // Size of the protobuf (in n bytes)
uint8[n] data // The protobuf (located in the protos folder in the bootloader project: update_id.proto or update_name.proto)

Update name:

Code Block
uint8 id = 7 // Use 7 here as the datagram ID to avoid conflicts 
uint16 data_size // Size of the protobuf (in n bytes)
uint8[n] data // The protobuf (located in the protos folder in the bootloader project: update_id.proto or update_name.proto)

...

The client → boards datagram should have the following format:

Code Block
uint8 id = 78 // Use 78 here as the datagram ID to avoid conflicts 
uint16 data_size // Size of the protobuf (in n bytes)
uint8[n] data // The protobuf (located in the protos folder in the bootloader project: flash_application_code.proto)

...