[soc] optimized wifimanager params
This commit is contained in:
@@ -18,8 +18,8 @@ platform = espressif8266
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
upload_speed = 115200
|
||||
upload_port = COM5
|
||||
monitor_port = COM5
|
||||
upload_port = /dev/ttyUSB0
|
||||
monitor_port = /dev/ttyUSB0
|
||||
board_build.flash_mode = dout
|
||||
build_flags =
|
||||
-Wno-unused-function
|
||||
|
||||
@@ -130,11 +130,11 @@ void setup() {
|
||||
} else {
|
||||
INFOLN("iriskit settings not loaded, set it from WifiManager");
|
||||
server_address =
|
||||
new WiFiManagerParameter("server_address", "Server Address", "", URL_SHORT_MAX);
|
||||
new WiFiManagerParameter("server_address", "Server Address", "iris.irext.net", URL_SHORT_MAX);
|
||||
credential_token =
|
||||
new WiFiManagerParameter("credential_token", "Credential Token", "", CREDENTIAL_MAX);
|
||||
password =
|
||||
new WiFiManagerParameter("password", "User Password", "", PASSWORD_MAX);
|
||||
new WiFiManagerParameter("password", "User Password", "", PASSWORD_MAX, "type='password'");
|
||||
|
||||
if (NULL == server_address || NULL == credential_token || NULL == password) {
|
||||
ERRORLN("not enough memory to create settings");
|
||||
|
||||
Reference in New Issue
Block a user