mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
feat(lib): set the connection to the open router mechanism when pwd is set
This commit is contained in:
@ -419,6 +419,13 @@ config ESP8266_WIFI_NVS_ENABLED
|
|||||||
help
|
help
|
||||||
Select this option to enable WiFi NVS flash
|
Select this option to enable WiFi NVS flash
|
||||||
|
|
||||||
|
config ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET
|
||||||
|
bool "Connent open router when wifi password is set"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
When this option is enabled, ESP8266 will connect to open router even if wifi password is set, otherwise
|
||||||
|
ESP8266 will not connect to open router when wifi password is set.
|
||||||
|
|
||||||
config ESP8266_WIFI_DEBUG_LOG_ENABLE
|
config ESP8266_WIFI_DEBUG_LOG_ENABLE
|
||||||
bool "Enable WiFi debug log"
|
bool "Enable WiFi debug log"
|
||||||
default n
|
default n
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
gwen:
|
gwen:
|
||||||
core: 743c778
|
core: 158ee68
|
||||||
net80211: 72ecd98
|
net80211: 72ecd98
|
||||||
pp: 5b48c0d
|
pp: 5b48c0d
|
||||||
wpa: 743c778
|
wpa: 743c778
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -20,6 +20,7 @@
|
|||||||
#include "phy.h"
|
#include "phy.h"
|
||||||
|
|
||||||
const size_t _g_esp_wifi_ppt_task_stk_size = CONFIG_WIFI_PPT_TASKSTACK_SIZE;
|
const size_t _g_esp_wifi_ppt_task_stk_size = CONFIG_WIFI_PPT_TASKSTACK_SIZE;
|
||||||
|
const bool _g_esp_wifi_connect_open_router_when_pwd_is_set = CONFIG_ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET;
|
||||||
|
|
||||||
esp_err_t esp_wifi_init_internal(const wifi_init_config_t *config);
|
esp_err_t esp_wifi_init_internal(const wifi_init_config_t *config);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user