hash6iron / powadcr

TAP/TZX Digital cassette recorder for 8-bit machines
GNU General Public License v3.0
21 stars 10 forks source link

SSID with a white space in wifi.cfg file is not working #16

Open benitoss opened 2 months ago

benitoss commented 2 months ago

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