I want to get the IP address through the LUA code. I have an example code that works but I get the IP of the LAN interface.
local hote, _ = socket.dns.toip(socket.dns.gethostname())
How can I get the IP from another Wi-Fi interface? is it possible to choose the interface?