ESP8266 Centre + NB
|
结构体 | |
struct | upgrade_server_info |
宏定义 | |
#define | SPI_FLASH_SEC_SIZE 4096 |
#define | LIMIT_ERASE_SIZE 0x10000 |
#define | USER_BIN1 0x00 |
#define | USER_BIN2 0x01 |
#define | UPGRADE_FLAG_IDLE 0x00 |
#define | UPGRADE_FLAG_START 0x01 |
#define | UPGRADE_FLAG_FINISH 0x02 |
#define | UPGRADE_FW_BIN1 0x00 |
#define | UPGRADE_FW_BIN2 0x01 |
#define | UPGRADE_FLAG_IDLE 0x00 |
#define | UPGRADE_FLAG_START 0x01 |
#define | UPGRADE_FLAG_FINISH 0x02 |
类型定义 | |
typedef void(* | upgrade_states_check_callback )(void *arg) |
函数 | |
void | system_upgrade_init () |
void | system_upgrade_deinit () |
bool | system_upgrade (uint8 *data, uint16 len) |
bool | system_upgrade_start (struct upgrade_server_info *server) |
#define SPI_FLASH_SEC_SIZE 4096 |
#define LIMIT_ERASE_SIZE 0x10000 |
#define USER_BIN1 0x00 |
#define USER_BIN2 0x01 |
#define UPGRADE_FLAG_IDLE 0x00 |
#define UPGRADE_FLAG_START 0x01 |
#define UPGRADE_FLAG_FINISH 0x02 |
#define UPGRADE_FW_BIN1 0x00 |
#define UPGRADE_FW_BIN2 0x01 |
#define UPGRADE_FLAG_IDLE 0x00 |
#define UPGRADE_FLAG_START 0x01 |
#define UPGRADE_FLAG_FINISH 0x02 |
typedef void(* upgrade_states_check_callback)(void *arg) |
void system_upgrade_init | ( | ) |
void system_upgrade_deinit | ( | ) |
bool system_upgrade_start | ( | struct upgrade_server_info * | server | ) |