If the configured SSID (on the wifi.cfg file) contains a white space, WiFi connection never happens.
But it works if in the powadcr.cpp, I substitute the line
strcpy(ssid, (sdm.getValueOfParam(CFGWIFI[1].cfgLine,"ssid")).c_str());
by
strcpy(ssid, "My SSID");
So the error is inside the library when it gets the parameter value in the getValueOfParam function.
If the configured SSID (on the wifi.cfg file) contains a white space, WiFi connection never happens. But it works if in the powadcr.cpp, I substitute the line strcpy(ssid, (sdm.getValueOfParam(CFGWIFI[1].cfgLine,"ssid")).c_str()); by strcpy(ssid, "My SSID");
So the error is inside the library when it gets the parameter value in the getValueOfParam function.
Thanks