void OTA_printStatus()
Prints the status of OTA.
uint8_t OTA_getProgressPercentage()
Get OTA progress in percentage.
flashOtaStatus_et
Definition: lib_ota.h:32
@ OTA_STATUS_READY
Definition: lib_ota.h:33
@ OTA_STATUS_END_FAILED
Definition: lib_ota.h:38
@ OTA_STATUS_SUCCESS
Definition: lib_ota.h:34
@ OTA_STATUS_MAX
Definition: lib_ota.h:43
@ OTA_STATUS_BEGIN_FAILED
Definition: lib_ota.h:36
@ OTA_STATUS_DOWNLOAD_FAILED
Definition: lib_ota.h:41
@ OTA_STATUS_WRITE_FAILED
Definition: lib_ota.h:37
@ OTA_STATUS_SET_PARTITION_FAILED
Definition: lib_ota.h:39
@ OTA_STATUS_GET_PARTITION_FAILED
Definition: lib_ota.h:35
@ OTA_STATUS_TIMEDOUT
Definition: lib_ota.h:40
@ OTA_STATUS_FAILED_UNKOWN_REASON
Definition: lib_ota.h:42
bool OTA_inProgress()
Check if OTA is in progress.
firmUpdateType_et
Definition: lib_ota.h:51
@ OTA_UPDATE_TYPE_NONE
Definition: lib_ota.h:52
@ OTA_UPDATE_TYPE_MAX
Definition: lib_ota.h:55
@ OTA_UPDATE_TYPE_WEB
Definition: lib_ota.h:54
@ OTA_UPDATE_TYPE_LOCAL
Definition: lib_ota.h:53
bool OTA_start(firmUpdateType_et updateType_e)
Start OTA firmware update process.
OTA status.
Definition: lib_ota.h:64
flashOtaStatus_et status_e
Definition: lib_ota.h:66
esp_err_t error
Definition: lib_ota.h:65
uint8_t previousPartition_u8
Definition: lib_ota.h:67