Skip to content

File Uploader.h

FileList > Firmware > Libraries > SimGateway > Uploader.h

Go to the source code of this file

The Gateway's firmware uploader (#366) — stages an image the client streams over USB, then flashes a board's bootloader over CAN through PanelBridge , on its own.More...

  • #include <stdint.h>

Namespaces

Type Name
namespace Uploader

Classes

Type Name
struct Io
How the uploader reaches the client and PanelBridge .

Detailed Description

Library-internal: SimGateway.cpp feeds it the client's UPL_* frames, every line PanelBridge sends the host, and a tick from loop(); the uploader answers through the callbacks in Uploader::Io. Portable C++ — no Arduino, no globals of the caller's — so it can be exercised off-target.

Contract: FirmwarePlan/07-simgateway-api.md § Uploader, UploadProtocol.h, BootProtocol.h.

Copyright:

GPL-2.0-only — see Firmware/LICENSE


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