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
~ 18 ~
set opt password <string> TCP connection password. Provides minimal authentication by requiring
any remote device that connects to send and match a challenge <string>.
When set, all newly opened connections must first send the exact
characters that match the stored password otherwise the WiFly module
will close the connection. When the password is set the WiFly module
sends the string “PASS?” to the remote host. All characters in the string
must be sent in one TCP packet. Max string size is 32 bytes. To disable
the password feature use string=0 which is the default.
5.8. System Parameters
set sys autoconn <value> TCP mode: sets the auto connect timer. This command causes the module
periodically connect to the stored remote host. The timer <value>
determines how often to connect to the stored remote host. Default=0
Value
Description
0
Disable auto connect timer
1
Connect to the stored host IMMEDIATELY upon
power up or wake from sleep state
2-254
Connect to a stored host every <value> number of
seconds
255
Connect to a stored host IMMEDIATELY upon
power up or wake from sleep state and go back to
sleep IMMEDIATELY as soon as TCP connection
is closed
NOTE: To use the auto connect timer, the remote host’ IP address and
port must be stored in the WiFly module using the
set ip host <IP address> and set ip remote <port> commands.
set sys autosleep <value> Sets the auto-sleep timer in UDP mode. If the protocol is set to UDP
ONLY, this timer is used as a quick sleep function. Device will sleep
<value> milliseconds after transmission of the first UDP packet. Setting
value to 0 disables the autosleep timer.
set sys iofunc <value> sets the IO port alternate functions. Bit-mapped value. For more details
see section 10.5
set sys mask <mask> sets the IO port direction mask. Bit-mapped value. For more information
see section 10.5