User manual
WiFly GSX/EZX
www.rovingnetworks.com WiFly-RN-UM 11/9/2011
809 University Avenue • Los Gatos, CA 95032 • Tel (408) 395-6539 • info@RovingNetworks.com
~ 15 ~
set ip flags <value> Set TCP/IP functions. Value is a bit mapped register. Default = 0x7.
Bit
Function
0
TCP connection status. See note below
1
Bypass Nagle algorithm and use TCP_NODELAY
2
TCP retry enabled (total of 96 packet retries)
3
UDP RETRY (attempts retry if no ACK from
UDP)
4
DNS host address caching enabled
5
ARP table caching enabled
6
UDP auto pairing enabled
7
Add 8 byte timestamp to UDP or TCP packets
NOTE: When the link to an associated to an access point is lost while a
TCP connection is active, the TCP connection can be left in hung or
inconsistent state. In some cases, the TCP connection will not recover. In
version 2.20 and later, if the link to the access point is regained within 60
seconds, the TCP connection will survive.
With version 2.20 we have changed the operation of bit0 in the “ip flags”
register. Previously this bit specified the TCP copy function, but controls
the TCP socket function while associated on a network.
If bit 0 is set (default = 0x7) TCP connections are kept open when
the connection to the access point is lost.
If bit 0 is cleared (by setting “set ip flags 0x6” for example) then
when the connection to the access point is lost and TCP is
connected, the connection will be closed.
set ip gateway <addr> sets the gateway IP address, If DHCP is turned on, the gateway IP address
is assign and overwritten during association with the access point.
set ip host <addr> sets the remote host IP address. This command is used for making
connections from the WiFly module to a TCP/IP server at the IP address
<addr>.
set ip localport <num> sets the local port number.
set ip netmask <value> sets the network mask. If DHCP is turned on, the net mask is assign and
overwritten during association with the access point.
set ip protocol <value> sets the IP protocol. Value is a bit mapped setting. To connect to the
WiFly GSX module over TCP/IP such as Telnet the device must have the