@@ 18,6 18,7 @@ platform_packages =
board = nodemcuv2
framework = arduino
lib_deps =
+ https://github.com/hww3/WiFiManager/#0.16.0-with-hostname
# tzapu/WiFiManager
https://github.com/esp8266/ESPWebServer.git
bblanchon/ArduinoJson@^6.18.4
@@ 147,7 147,7 @@ void wifi_read_custom_params() {
String wifi_get_mac_subset() {
uint8_t mac[6];
- char macStr[6] = { 0 };
+ char macStr[7] = { 0 };
wifi_get_macaddr(STATION_IF, mac);
sprintf(macStr, "%02X%02X%02X", mac[3], mac[4], mac[5]);
return String(macStr);