esp8266-fastled-webserver icon indicating copy to clipboard operation
esp8266-fastled-webserver copied to clipboard

option to set static ip.

Open ghost opened this issue 7 years ago • 0 comments

Hi, all my IoT gadget are on a closed seperated network with no dhcp server.

i've set static ip in: WiFi.h

// config static IP IPAddress ip(192,xx,xx, x); // where xx is the desired IP Address IPAddress gateway(1x, x, x, x); // set gateway to match your network IPAddress subnet(255, 255, x, x); //

and before wifi.begin(); add: WiFi.config(ip, gateway, subnet);

including it as an option would be great :) Thanks.

ghost avatar Jan 30 '18 08:01 ghost