WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
10 -
set ip backup <addr>
sets a secondary host IP address.
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 IP related advanced functions. Value is a bit mapped flag
register. Default = 0x7.
Bit
Function
0
TCP stack copies RX buffer before sending
1
Bypass Nagle algorithm and use TCP_NODELAY
2
TCP application level single retry enabled
3
RETRY multi - retries 4 times
4
DNS host address caching enabled
5
ARP table caching enabled
6
Reserved
7-31
Reserved
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 use the TCP Server protocol / bit 2 set. To accept both TCP and
UDP use value = 3 (bit 1 and bit 2 set)