feat(wifi): Add country code API

internal: a6313782
This commit is contained in:
Espressif Systems
2018-02-13 19:37:38 +08:00
parent 45026e0780
commit d2a8d35487
12 changed files with 22 additions and 10 deletions

20
VERSION
View File

@ -1,14 +1,14 @@
gwen:
crypto: 52dbf63
espnow: 52dbf63
main: 02199b2
minic: 52dbf63
net80211: 02199b2
pp: 94fab61
pwm: 52dbf63
smartconfig:016fc33
wpa: bac4751
wps: 52dbf63
crypto: 9ec59b5
espnow: 9ec59b5
main: 9ec59b5
minic: 9ec59b5
net80211: 9ec59b5
pp: 9ec59b5
pwm: 9ec59b5
smartconfig:9ec59b5
wpa: 9ec59b5
wps: 9ec59b5
gitlab:
espconn: 3a998034

View File

@ -65,6 +65,18 @@ typedef enum {
AUTH_MAX
} AUTH_MODE;
typedef enum {
WIFI_COUNTRY_POLICY_AUTO, /**< Country policy is auto, use the country info of AP to which the station is connected */
WIFI_COUNTRY_POLICY_MANUAL, /**< Country policy is manual, always use the configured country info */
} WIFI_COUNTRY_POLICY;
typedef struct {
char cc[3]; /**< country code string */
uint8_t schan; /**< start channel */
uint8_t nchan; /**< total channel number */
uint8_t policy; /**< country policy */
} wifi_country_t;
/**
* @brief Get the current operating mode of the WiFi.
*

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.