|
AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
|
#include <ota.hpp>


Public Member Functions | |
| State () | |
| State (JsonObject jsonObj) | |
| State (const Announce &ann) | |
| JsonObject | addTo (JsonObject &&jsonObj) const |
| size_t | jsonObjectSize () const |
Public Member Functions inherited from painlessmesh::protocol::PackageInterface | |
| virtual | ~PackageInterface ()=default |
Public Attributes | |
| TSTRING | md5 |
| TSTRING | hardware = "ESP8266" |
| TSTRING | role |
| size_t | noPart = 0 |
| size_t | partNo = 0 |
| bool | broadcasted = false |
| bool | compressed = false |
| TSTRING | ota_fn = "/ota_fw.json" |
| std::shared_ptr< Task > | task |
Data related to the current state of the node update
This class is used by the OTA algorithm to keep track of both the current version of the software and the ongoing update.
The firmware md5 uniquely identifies each firmware version
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
|
inlinevirtual |
Implements painlessmesh::protocol::PackageInterface.
| bool painlessmesh::plugin::ota::State::broadcasted = false |
| bool painlessmesh::plugin::ota::State::compressed = false |
| TSTRING painlessmesh::plugin::ota::State::hardware = "ESP8266" |
| TSTRING painlessmesh::plugin::ota::State::md5 |
| size_t painlessmesh::plugin::ota::State::noPart = 0 |
| TSTRING painlessmesh::plugin::ota::State::ota_fn = "/ota_fw.json" |
| size_t painlessmesh::plugin::ota::State::partNo = 0 |
| TSTRING painlessmesh::plugin::ota::State::role |
| std::shared_ptr<Task> painlessmesh::plugin::ota::State::task |