Page 1 of 1

ESP32 Arduino SSID, PASSWORD not update

Posted: Tue May 29, 2018 12:17 pm
by senthil313
i change the ssid and password through web server , i received and stored flash memory.Its all ok.
then move new ssid to real ssid and password. but it wont accept.

For the access point mode ssid password not update.
In Station mode static IP not update ...

const char* ssid ="esp"
const char*password="12345"

Give any example conversion for char to const pointer for ssid update...

Re: ESP32 Arduino SSID, PASSWORD not update

Posted: Sun Jun 03, 2018 8:41 pm
by Agree007
Try share all your program, then we might be able to help you ;)

Re: ESP32 Arduino SSID, PASSWORD not update

Posted: Mon Jun 04, 2018 5:19 am
by senthil313
Reference.rar
(3.25 KiB) Downloaded 627 times
find the attachment.

i have to change the ssid,password through web page...
Then receive ssid & password stored in flash memory...
reset the board then read ssid & password selected memory location...
its all ok...
after assign Wifi.softAP(APssid,APpassword);
It takes password as the APssid...
password as the APpassword...

initally i made a mistake for the length (less than 8) of ssid & password...
Now i change the length for both ssid & password (above 8 characters)...

kindly give solution..its very urgent...

Re: ESP32 Arduino SSID, PASSWORD not update

Posted: Mon Jun 04, 2018 9:16 pm
by dmaxben
I have encountered this once before...using Arduino, the SSID and password seemed to be "permanently" burned in and would not change by uploading a new sketch.

Try doing a complete force-erase manually using esptool.py.

Then reflash your program using the Arduino IDE. That should clear any existing WiFi settings that might get goofed by an Arduino sketch.

Re: ESP32 Arduino SSID, PASSWORD not update

Posted: Thu Jun 07, 2018 10:04 am
by senthil313
thanks for your reply...

the issue is solved using malloc.
To convert char array to function pointer...

e.g. arr = (int *)malloc(5 * sizeof(int));