lan-ip

xod-dev/esp8266-mcu/lan-ip

Gets a local IP address
lan-ip
@/lan-ip
Gets a local IP address
INET@/esp8266-mcu-inet
An internet connection
lan-ip
INET
IP
IPxod/net/ip-address
The IP address
To use the node in your project you should have the xod-dev/esp8266-mcu library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

C++ implementation

node {
    void evaluate(Context ctx) {
        auto inet = getValue<input_INET>(ctx);
        emitValue<output_IP>(ctx, (typeof_IP)inet.wifi->localIP());
    }
}