supla-device
Loading...
Searching...
No Matches
Supla::Device::SwUpdate Class Referenceabstract
Collaboration diagram for Supla::Device::SwUpdate:

Public Member Functions

void start ()
 
virtual void iterate ()=0
 
void setUrl (const char *newUrl)
 
bool isStarted ()
 
bool isFinished ()
 
bool isAborted ()
 
void useBeta ()
 
void setSkipCert ()
 
bool isCheckUpdateAndAbort () const
 
void setCheckUpdateAndAbort ()
 
const char * getUrl () const
 
const char * getNewVersion () const
 
bool isSecurityOnly () const
 
void setSecurityOnly ()
 

Static Public Member Functions

static SwUpdateCreate (SuplaDeviceClass *sdc, const char *newUrl)
 

Protected Member Functions

 SwUpdate (SuplaDeviceClass *sdc, const char *newUrl=nullptr)
 

Protected Attributes

bool beta = false
 
bool skipCert = false
 
bool securityOnly = false
 
bool started = false
 
bool checkUpdateAndAbort = false
 
bool finished = false
 
bool abort = false
 
SuplaDeviceClasssdc = nullptr
 
char * updateUrl = nullptr
 
char * newVersion = nullptr
 
char url [SUPLA_MAX_URL_LENGTH] = {}
 

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