Updates the app with a later version from a remote update server. Before using this plugin, users should read both
Users may also find this Youtube video helpful, look for the red label "Expert" series 1. Running a remote update server on Nide-RED helpful
H4P_RemoteUpdate rupd(...
This plugin is a "singleton" - there may be only one single instance of it in the app. It may be instantiated as any name the user chooses, prefix all API calls below with than name.
h4/rupd/both
// start FSS update, followed by FW update processh4/rupd/fw
// start firmware update processh4/rupd/fs
// start file sytem image update process
stop
/ start
have no effect
// Constructor
//
// url remote server format "http://host:port/path/?a=b..." port, path, query all optional
// e.g. "http://myserver.local/update"
H4P_RemoteUpdate(const string& url="");
//
void both(); // start FSS update, followed by FW update process
void fs(); // start firmware update process
void fw(); // start file sytem image update process
Many of the sketches in the XTRAS folder show H4P_RemoteUpdate
in use.
(c) 2021 Phil Bowles [email protected]