ESP32_RTOS_SDK V1.1.0

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
upgrade_info Struct Reference
System APIs » OTA APIs

## Data Fields

struct server_info | s_if
bool | upgrade_flag
uint32 | check_times
upgrade_states_check_callback | check_cb

## Field Documentation

upgrade_states_check_callback check_cb

check back function ,if user defined it ,it will be called whether OTA success or failed immediate

uint32 check_times

OTA time(ms) set by user

struct server_info s_if

remote server info

bool upgrade_flag

upgrade flag need be checked in upgrade check callback func ,false OTA failed ,true OTA success

The documentation for this struct was generated from the following file:

- include/espressif/upgrade.h