RN-131G
rn-131-um.pdf 5/14/2009
www.rovingnetworks.com
Phone 408-395-6539
- 9 -
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. This 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. ( this is the default setting )
Bit Value
Protocol
0
UDP (receive from ANY IP)
1
TCP Client
2
UDP (only receive from Host IP)
3
HTTP (future use)
set ip remote <value>
sets the remote host port number.
5.5
SYSTEM Parameters
set sys autoconn <secs>
TCP mode: sets the auto connect timer. The auto connect timer
will attempt to connect to the stored remote host IP every <secs>
seconds. If set to once the module will only make one attempt to
auto connect. This command can be used to have the module
periodically connect to the host. 0 is the default and disables auto
connect.
set sys autosleep <num *10ms>
UDP mode: sets the auto-sleep timer. 0 disables.
set sys iofunc <value>
sets the IO port alternate functions. Bit-mapped value. For more
details see section 8.7
set sys mask <mask>
sets the IO port direction mask. Bit-mapped value. For more
information see section 8.6
set sys printlvl <value>
sets numerous print functions. 0 = quuiet 1 = connect
information Default is 1.
set sys output <value> <mask>
sets output PIO pins to HIGH or LOW. Bit-mapped value.
Optional mask only sets a subset of pins.
set sys sleep <secs>
sets the sleep timer. 0 disables.
NOTE: If not using Sensor pins to wake the module, be sure to set
the wake timer before issuing the sleep timer or the module will
not wake up.
See section 8.2 for more details on using system timers
set sys trigger <value>
sets the sensor input(s) to wake on (1-4). Bit-mapped value. 0
disables.
set sys wake <secs>
sets the auto wake timer. 0 disables. See section 8.2 for more
details on using system timers