User manual

WiFly GSX
www.rovingnetworks.com
WiFlyGSX-um 7/16/2010
809 University Avenue Los Gatos, CA 95032 Tel (408) 395-6539 info@RovingNetworks.com
~ 14 ~
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 sensor <mask> Bitmask value that determines which sensor pins to sample when sending
data using the UDP broadcast packet, or the HTTP auto sample function.
set opt format <value> settings for HTTP client/web server value is a bitmapped register. See
Section 13 web server modes.
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. 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 <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.