|
|
void | start () |
| |
|
void | setObserver (SwUpdateObserver *newObserver) |
| |
|
virtual void | iterate ()=0 |
| |
|
void | setUrl (const char *newUrl) |
| |
|
bool | isStarted () |
| |
|
bool | isFinished () |
| |
|
bool | isAborted () |
| |
|
void | useBeta () |
| |
|
void | setSkipCert () |
| |
|
bool | isRetryAllowed () |
| |
|
const char * | getUrl () const |
| |
|
const char * | getNewVersion () const |
| |
|
const char * | getChangelogUrl () const |
| |
|
bool | isSecurityOnly () const |
| |
|
void | setSecurityOnly () |
| |
|
|
| SwUpdate (SuplaDeviceClass *sdc, const char *newUrl, Supla::SwUpdateMode mode) |
| |
|
void | notifyProgress (uint32_t downloadedBytes, uint32_t totalBytes) |
| |
|
void | notifyFinished (bool success, const char *reason=nullptr) |
| |
|
void | notifyFinished (SwUpdateResult result, const char *reason=nullptr) |
| |
|
|
bool | beta = false |
| |
|
bool | skipCert = false |
| |
|
bool | securityOnly = false |
| |
|
bool | started = false |
| |
|
bool | finished = false |
| |
|
bool | abort = false |
| |
|
SuplaDeviceClass * | sdc = nullptr |
| |
|
SwUpdateObserver * | observer = nullptr |
| |
|
char * | updateUrl = nullptr |
| |
|
char * | newVersion = nullptr |
| |
|
char * | changelogUrl = nullptr |
| |
|
bool | retryAllowed = false |
| |
|
Supla::SwUpdateMode | mode = Supla::SwUpdateMode::NotSet |
| |
|
char | url [SUPLA_MAX_URL_LENGTH] = {} |
| |
The documentation for this class was generated from the following files:
- src/supla/device/sw_update.h
- src/supla/device/sw_update.cpp