Set IPaddress, gateway and subnet mask in SOFT AP mode
Posted: Mon Mar 21, 2022 2:33 pm
Hi,
I cant find a way to set the IPaddress the gateway and the subnet mask (when in AP mode).
Anyone know how to do it?
NOTE:
In Arduino-ESP32-idf there is a function that do this:
IPAddress local_ip(192, 168, 10, 1);
IPAddress local_mask(255,255,255,0);
IPAddress gateway(192, 168, 10, 1);
WiFi.softAPConfig(local_ip,gateway,local_mask);
so i think that it must be possible do it also in the ESP32-idf official development framework...
Thanks
I cant find a way to set the IPaddress the gateway and the subnet mask (when in AP mode).
Anyone know how to do it?
NOTE:
In Arduino-ESP32-idf there is a function that do this:
IPAddress local_ip(192, 168, 10, 1);
IPAddress local_mask(255,255,255,0);
IPAddress gateway(192, 168, 10, 1);
WiFi.softAPConfig(local_ip,gateway,local_mask);
so i think that it must be possible do it also in the ESP32-idf official development framework...
Thanks