mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
station连接成功关ap
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
|
||||
#ifndef __USER_WIFI_H_
|
||||
#define __USER_WIFI_H_
|
||||
|
||||
|
||||
#include "mico.h"
|
||||
#include "micokit_ext.h"
|
||||
|
||||
|
||||
enum {
|
||||
WIFI_STATE_FAIL,
|
||||
WIFI_STATE_NOCONNECT,
|
||||
@@ -17,13 +14,10 @@ enum {
|
||||
WIFI_STATE_EASYLINKING,
|
||||
};
|
||||
|
||||
|
||||
|
||||
extern char wifi_status;
|
||||
extern void wifi_init(void);
|
||||
extern void ap_init(void);
|
||||
extern void wifi_start_easylink(void);
|
||||
extern void wifi_connect(char* wifi_ssid, char* wifi_key);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user