tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
666 stars 219 forks source link

Possibility to add more input fields during AP mode. #7

Closed wdouglas1999 closed 6 years ago

wdouglas1999 commented 6 years ago

Good day. Firstly let me say thank you for the awesome code which you have developed. I would like to use this code in one of my projects but I have the need to enter more data strings like IP address and device name and store them in NVS. Could you please let me know whether this is at all possible and how I could implement it? Thank you.

tonyp7 commented 6 years ago

Hi Douglas,

Would you mean like changing the default AP IP? as in:

https://github.com/tonyp7/esp32-wifi-manager/blob/0d799640da420d1fa54683480ddd53f9258fd15c/wifi_manager/main/wifi_manager.c#L439-L441

wdouglas1999 commented 6 years ago

Hi Tonyp7, Thank you for the reply. No, I mean like additional input fields on the website page to enter the IP settings of a different server. Then store it to nvs and have it available at reboot.