WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 9/16/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 14 ~
5.6.
IP Parameters
set ip address <addr>
sets the IP address of the WiFly GSX module. If DHCP is turned on, the
IP address is assigned and overwritten during association with the access
point. IP addresses are “.” delimited. Note this is different from the RN-
111b module which is space delimited!
Example: “set ip a 10.20.20.1”
set ip backup <addr>
sets a secondary host IP address. If the primary host IP is not reachable
the module will try the secondary IP address if set.
set ip dchp <value>
enable/disable DHCP mode. If enabled, the IP address, gateway, netmask,
and DNS server are requested and set upon association with access point.
Any current IP values are overwritten.
DHCP Cache mode can reduce the time it takes the module to wake from
deep sleep thus saving power. In cache mode, the lease time is checked
and if not expired, the module uses the previous IP settings. If the lease
has expired the module will attempt to associated and use DHCP to get the
IP settings. DHCP cached IP address does not survive a power cycle or
reset.
Mode
Protocol
0
DHCP OFF, use stored static IP address
1
DHCP ON, get IP address and gateway from AP
2
Auto-IP, generally used with Adhoc networks
3
DHCP cache mode, Uses previous IP address if
lease is not expired (lease survives reboot)
4
Reserved for future use
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 ( 42 total )
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