static IP (not for the config portal) #22
-
Hello. Is it possible to use this while setting a static IP address within the code? I would like the config portal to not show the option to set a static IP address while using the one that is configured within the code from a formula that derives it from the mac address and a special number (I am using this to build a Artnet device, the Artnet manufacturer requires this). Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To use static IP, you have to use the following function in your code ESP_WiFiManager_Lite/src/ESP_WiFiManager_Lite.h Lines 1020 to 1040 in 2244ae0 before Certainly, to have those static IPs (staIP, GW, SN, DNS1, DNS2, etc) , you either
|
Beta Was this translation helpful? Give feedback.
-
Thanks again! |
Beta Was this translation helpful? Give feedback.
To use static IP, you have to use the following function in your code
ESP_WiFiManager_Lite/src/ESP_WiFiManager_Lite.h
Lines 1020 to 1040 in 2244ae0