I'm using the ESP8266WiFi library on a NodeMCU, running the arduino bootloader in the arduino software (Windows 10 app version).
I'm trying to load the SSID and password from SD-card (this part is successfull).
My problem this far is when i use the Wifi library it looks like this:
Wifi.begin(const char*, const char*);
Since it takes 2 const parameters i cannot change it later. Is there anyway i can add SSID and PASSWORD to my sketch without having to recompile it. (I have to send it to people who does not know how to compile and flash an arduino)
I'm not attached to the ESP8266WiFi library, i'm not attached to SD-card, other solutions are welcome.
SD-reader works as planned, WiFi works as planned with a static password and SSID.