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...
ESP32 Arduino SSID, PASSWORD not update
Re: ESP32 Arduino SSID, PASSWORD not update
Try share all your program, then we might be able to help you
-
- Posts: 8
- Joined: Fri May 11, 2018 5:44 am
Re: ESP32 Arduino SSID, PASSWORD not update
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...
- Attachments
-
- Ref_Image1.JPG (22.49 KiB) Viewed 9443 times
Re: ESP32 Arduino SSID, PASSWORD not update
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.
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.
-
- Posts: 8
- Joined: Fri May 11, 2018 5:44 am
Re: ESP32 Arduino SSID, PASSWORD not update
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));
the issue is solved using malloc.
To convert char array to function pointer...
e.g. arr = (int *)malloc(5 * sizeof(int));
Who is online
Users browsing this forum: No registered users and 50 guests