获取真实IP

This commit is contained in:
zogodo
2019-10-09 22:19:07 +08:00
parent c501a310c7
commit 0d04264da5
4 changed files with 20 additions and 13 deletions

View File

@@ -19,6 +19,14 @@ extern char* wifi_ret;
extern char wifi_status;
typedef struct {
char ip[16];
char gateway[16];
char mask[16];
} IpStatus;
extern IpStatus ip_status;
extern void WifiInit(void);
extern void ApInit(void);
extern void WifiConnect(char* wifi_ssid, char* wifi_key);