Skip to content

File UploadProtocol.h

FileList > Firmware > Libraries > SimGateway > UploadProtocol.h

Go to the source code of this file

The Gateway uploader's USB contract (#366) — states, phases, results and payload layouts of the UPL_* messages. More...

  • #include <stdint.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .

Detailed Description

The messages ride the calibration channel's envelope (AA 53 4B 43, TYPE, SEQ, LEN-exact, CRC16); their type codes and NACK reasons are in AxisCal.h (CAL_T_UPL_*, CAL_NACK_BUSY…). The client streams an image, the Gateway stages and verifies it, then flashes a board's bootloader over CAN through PanelBridge — and finishes on its own if the client goes away. Behaviour: FirmwarePlan/07-simgateway-api.md § Uploader; messages: FirmwarePlan/03-uart-usb-hid-protocol.md.

Every value is a named enum or constexpr so the client sync can read it (#346).

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/SimGateway/UploadProtocol.h