Can I use WiFi.gatewayIP() in modemcu?

Hi.

Can I use WiFi.gatewayIP() in modemcu 1.0 (esp8266 12e module)?

thank(:

Generally, the ESP8266WiFi follows the API of the Arduino WiFi library, documenting only the places where it differs in the ESP8266 documentation. Since WiFi.gatewayIP() is part of the WiFi library and the ESP8266 documentation doesn't mention it, I'd guess that you can indeed use this function:

Did you give it a try?