REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
loader::FirmwareFlasher Class Reference

Actual "frontend" for flashing. More...

#include <flasher.h>

Inheritance diagram for loader::FirmwareFlasher:
Collaboration diagram for loader::FirmwareFlasher:

Public Member Functions

int init (JsonObjectConst msg_in, JsonObject &msg_out)
 
int stream (JsonObjectConst msg_in, JsonObject &msg_out)
 
int abort (JsonObjectConst msg_in, JsonObject &msg_out)
 
int complete (JsonObjectConst msg_in, JsonObject &msg_out)
 
void status (JsonObject &msg_out)
 

Additional Inherited Members

- Static Public Member Functions inherited from utils::HeapSingleton< FirmwareFlasher >
static FirmwareFlasher & get ()
 

Detailed Description

Actual "frontend" for flashing.

This code is proof-of-concept like: It works but it is horribly slow due to the protocol overhead.

TODO: Transfer firmware image with direct stream access (API is now present here) or via side channel such as a HTTP (not https) URL where this teensy downloads it.

Definition at line 56 of file flasher.h.


The documentation for this class was generated from the following files: