ESP32 - Cannot connect to Wifi after Password change

Hello,

I've got a strange issue with esp32.
I'm using the library WiFi.h

I put two extract of my program below :

</>
#include <WiFi.h>
AsyncWebServer server(80);

const char *Wifi_Name = "emetteur1324";
const char *Wifi_Password = "Password123";

WiFi.softAP(Wifi_Name, Wifi_Password, WifiChannel, false, 4) == false
IPAddress local_ip(192, 168, 1, 1);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
WiFi.softAPConfig(local_ip, gateway, subnet);'
</>

It works very well until I change the password by uploading a new program. In this case, impossible to connect myself to the ESP32. Even if I use another device to try to connect the esp32.
If I change Wifi_Name, it works again very well. And if I put the old Wifi-Name, the device works well also.

Have you encountered this issue ?

Thanks for your help,
Antonin

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.