ESP8266_RTOS_SDK v1.4.0

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
upgrade_server_info Struct Reference
System APIs » Upgrade APIs

## Data Fields
struct sockaddr_in | sockaddrin
upgrade_states_check_callback | check_cb
uint32 | check_times
uint8 | pre_version [16]
uint8 | upgrade_version [16]
uint8 * | url
void * | pclient_param
uint8 | upgrade_flag

## Field Documentation

upgrade_states_check_callback check_cb

callback of upgrading

uint32 check_times

time out of upgrading, unit : ms

uint8 pre_version[16]

previous version of firmware

struct sockaddr_in sockaddrin

socket of upgrading

uint8 upgrade_flag

true, upgrade succeed; false, upgrade fail

uint8 upgrade_version[16]

the new version of firmware

uint8* url

the url of upgrading server

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

- include/espressif/upgrade.h