WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
11 -
Bit Position
Protocol
0
UDP
1
TCP Server & Client (Default)
2
Secure (only receive packets with IP address
matches the
store host IP)
3
TCP Client only
4
Future Use
set ip remote <value>
sets the remote host port number.
5.7
OPTIONAL Parameters
set opt jointmr <msecs>
Join timer is the time in milliseconds (default=1000) the join function
will wait for the an access point to complete the association process.
This timer is also the timeout for the WPA handshaking process.
set opt replace <char>
replacement character for spaces. The replacement character is
used when entering SSID and pass phrases that include space. This
is used by the WiFly GSX command parser only. Each occurrence of
the replacement character is changed into a space. The default is
“$” (0x24)
set opt deviceid <string>
Configurable Device ID - can be used for storing serial numbers,
product name or other device information. This information is sent
as part of the broadcast hello packet that is sent as a UDP. The
current value can be shown with the “get option” or “show deviceid”
commands. Max string size is 32 bytes. The default is “WiFly-GSX”.
set opt password <string>
TCP connection password. Used to challenge the remote device to
authenticate the connection. When set all incoming connections will
be challenged and the first characters sent must match the stored
password or the connection will be closed. When the password is set
the WiFly module will send the string “PASS?” to the remote
connection. 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 <secs>
TCP mode: sets the auto connect timer. This command causes the
module periodically connect to the host. The timer <secs>
determines how often to connect to the stored remote host. If set to
1, the module will only make one attempt to auto connect upon
power up. If set to 2 or greater auto connect will re-open the
connection after the connection is closed. Default=0 disables.
set sys autosleep <num>
Sets the auto-sleep timer. 0 disables. If the protocol is set to UDP
ONLY, this timer is used as a quick sleep function. Device will sleep
<num> ms after transmission of the first UDP packet.