I'm new to Arduino programming. I want to make my esp8266 get static IP based on gateway.
I mean if gateway is 192.168.0.1 then it should get 192.168.0.15 as static IP. And if gateway is 192.168.1.1 then it should get 192.168.1.15 as IP.
I'm new to Arduino programming. I want to make my esp8266 get static IP based on gateway.
I mean if gateway is 192.168.0.1 then it should get 192.168.0.15 as static IP. And if gateway is 192.168.1.1 then it should get 192.168.1.15 as IP.