Search found 3 matches

by JeetD27
Fri Jun 21, 2019 1:48 pm
Forum: ESP32 Arduino
Topic: Modify the IP address in WiFi_AP mode
Replies: 3
Views: 14669

Re: Modify the IP address in WiFi_AP mode

Hi boarchuz, This one works too, but I had to update the 'gateway' and 'subnet' in the same way. IPAddress IP = IPAddress (10, 10, 2, 6); // curly braces IPAddress gateway = IPAddress (10, 10, 2, 8); // not curly braces IPAddress NMask = IPAddress (255, 255, 255, 0); // not curly braces Thank You fo...
by JeetD27
Thu Jun 20, 2019 1:57 pm
Forum: ESP32 Arduino
Topic: Modify the IP address in WiFi_AP mode
Replies: 3
Views: 14669

Re: Modify the IP address in WiFi_AP mode

Hi, I got this solved. Instead of the circular brackets for the address in the 'IP Address IP' statement, I just used curly braces. So my code remained the same, just the address was IPAddress IP = {10, 10, 1, 1}; // curly braces I am now getting the serial monitor to print the correct modified IP a...
by JeetD27
Wed Jun 19, 2019 10:52 pm
Forum: ESP32 Arduino
Topic: Modify the IP address in WiFi_AP mode
Replies: 3
Views: 14669

Modify the IP address in WiFi_AP mode

Hi, I'm trying to modify the IP address in the ESP32. I'm using it in the Access Point mode over WiFi. In the serial monitor, it's showing the IP address as '1.0.0.0' instead of the one that I have defined. If I remove the statement, 'WiFi.softAPConfig()', then I get the default '192.168.4.1' IP add...