ota升级的库中,结构体upgrade_server_info中pespconn的作用?

leeshine
Posts: 63
Joined: Wed Dec 31, 2014 4:59 pm

ota升级的库中,结构体upgrade_server_info中pespconn的作用?

Postby leeshine » Sat Feb 28, 2015 4:51 pm

struct upgrade_server_info {
uint8 ip[4];
uint16 port;

uint8 upgrade_flag;

uint8 pre_version[8];
uint8 upgrade_version[8];

uint32 check_times;
uint8 *url;

upgrade_states_check_callback check_cb;
struct espconn *pespconn;
};
这个结构体体中已经有ip,port,pespconn这个结构体又是什么作用?需要赋哪些值?

Who is online

Users browsing this forum: No registered users and 77 guests