fix a compiler bug;
added getWanIp procedure to Robot1.