Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Public Member Functions | |
void | initialize () |
System initialisation. More... | |
bool | isReady () |
Check if system ready. More... | |
void | restart () |
Restart system. More... | |
void | setCpuFrequency (CpuFrequency freq) |
Set the CPU frequency. More... | |
CpuFrequency | getCpuFrequency () |
Get the CPU frequency. More... | |
bool | deepSleep (uint32 timeMilliseconds, DeepSleepOptions options=eDSO_RF_CAL_BY_INIT_DATA) |
Enter deep sleep mode. More... | |
void | onReady (SystemReadyDelegate readyHandler) |
Set handler for system ready event. More... | |
void | onReady (ISystemReadyHandler *readyHandler) |
Set handler for system ready event. More... | |
void | applyFirmwareUpdate (uint32_t readFlashOffset, uint32_t targetFlashOffset, int firmwareSize) |
Apply a firmware update. More... | |