diff --git a/platformio.ini b/platformio.ini index a927bef..fdb31f5 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 diff --git a/src/IRISKit.cpp b/src/IRISKit.cpp index 0121f73..ed8a161 100644 --- a/src/IRISKit.cpp +++ b/src/IRISKit.cpp @@ -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");