Skip to content

Commit 8745cb9

Browse files
zy20220224YiluMao
authored andcommitted
change wifi info, support const of wifi auth mode
This is also to fix the build issue
1 parent 30e4f51 commit 8745cb9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/amp_adapter/include/aos_network.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ typedef enum {
8080
AOS_NETWORK_SHAREMODE_AUTHTYPE_INVALID
8181
} AOS_NETWORK_SHAREMODE_AUTHTYPE_E;
8282

83+
typedef enum {
84+
AOS_WIFI_AUTH_OPEN = 0,
85+
AOS_WIFI_AUTH_WEP,
86+
AOS_WIFI_AUTH_WPA_PSK,
87+
AOS_WIFI_AUTH_WPA2_PSK,
88+
AOS_WIFI_AUTH_WPA_WPA2_PSK,
89+
AOS_WIFI_AUTH_WPA2_ENTERPRISE,
90+
AOS_WIFI_AUTH_MAX
91+
} aos_wifi_auth_mode_t;
92+
8393
typedef struct {
8494
void (*cb)(int status, void *);
8595
int wifi_state;

0 commit comments

Comments
 (0)