Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
rBootHttpUpdate Class Reference
Inheritance diagram for rBootHttpUpdate:
HttpClient

Public Member Functions

void addItem (int offset, String firmwareFileUrl)
 
void start ()
 
void switchToRom (uint8 romSlot)
 
void setCallback (otaUpdateDelegate reqUpdateDelegate)
 
void setDelegate (otaUpdateDelegate reqUpdateDelegate)
 

Protected Member Functions

void onTimer ()
 
virtual void writeRawData (pbuf *buf, int startPos)
 
void applyUpdate ()
 
void updateFailed ()
 

Protected Attributes

Vector< rBootHttpUpdateItemitems
 
Timer timer
 
int currentItem
 
rboot_write_status rBootWriteStatus
 
uint8 romSlot
 
otaUpdateDelegate updateDelegate