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

Public Member Functions

void addItem (int offset, String firmwareFileUrl)
 
void start ()
 
__forceinline bool isProcessing ()
 
__forceinline TcpClientState getConnectionState ()
 

Protected Member Functions

void onTimer ()
 
virtual void writeRawData (pbuf *buf, int startPos)
 
uint32_t writeFlash (char *data, uint32_t pos, int size)
 
void applyUpdate ()
 
void updateFailed ()
 

Protected Attributes

Vector< HttpFirmwareUpdateItemitems
 
Timer timer
 
int currentItem
 
uint32_t pos