3.3.5.1 Network Info Getting
NetInfo IndoorTouch.NetEthGetInfo();
The function returns the static class IndoorTouch.NetInfo:
static public class NetInfo { public boolean active; public boolean dhcpUsed; public String ip; public String mask; public String dns1, dns2; public String gateway; }
- Active – network is active (cable connected)
- DhcpUsed – address is static/dynamic via DHCP
- ip
- mask
- dns1
- dns2 – may/may not be included.
gateway
If a system error occurs, the method will return null.