记住状态

This commit is contained in:
zogodo
2019-10-09 22:44:35 +08:00
parent 41c5da6817
commit 6fad6106d9
3 changed files with 9 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ enum
WIFI_STATE_CONNECTED,
};
#define ELAND_AP_SSID "TC1-AP-MAC"
#define ELAND_AP_SSID "TC1-AP"
#define ELAND_AP_KEY "12345678"
#define ELAND_AP_LOCAL_IP "192.168.0.1"
#define ELAND_AP_DNS_SERVER "192.168.0.1"
@@ -26,6 +26,7 @@ extern char* wifi_ret;
extern char wifi_status;
typedef struct {
int mode; //0:AP, 1:Station
char ip[16];
char gateway[16];
char mask[16];