mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 14:38:13 +08:00
第一次提交
add:wifi EasyLink 功能 add:wifi连接 add:wifi数据保存
This commit is contained in:
28
TC1/wifi.h
Normal file
28
TC1/wifi.h
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
#ifndef __WIFI_H_
|
||||
#define __WIFI_H_
|
||||
|
||||
|
||||
#include "mico.h"
|
||||
#include "MiCOKit_EXT.h"
|
||||
|
||||
|
||||
enum {
|
||||
WIFI_STATE_FAIL,
|
||||
WIFI_STATE_NOCONNECT,
|
||||
WIFI_STATE_CONNECTING,
|
||||
WIFI_STATE_CONNECTED,
|
||||
WIFI_STATE_NOEASYLINK,
|
||||
WIFI_STATE_EASYLINK,
|
||||
WIFI_STATE_EASYLINKING,
|
||||
};
|
||||
|
||||
|
||||
|
||||
extern char wifi_status;
|
||||
extern void wifi_init(void);
|
||||
extern void wifi_start_easylink(void);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user