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
~ 17 ~
5.7. Optional Parameters
set opt jointmr <msecs> Join timer is the time in milliseconds 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. Default is 1000.
set opt format <value> settings for HTTP client/web server value is a bitmapped register. See
section on web server modes for more details.
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 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”.
Bit Position
Function
0
Automatically send HTML header based
broadcast interval.
1
Send users BINARY data (converted to ASCII
hex )
2
Sample the GPIO and ADC pins and format to
ASCII hex
3
Appends &id= < value>, where value is the
device ID string set with set opt device <string>
4
Appends the following key value pairs to the
HTTP message: &rtc=<time>, &mac=<mac
addr>, &bss= <mac addr of AP>,
&bat=<battery voltage>, &io=<GPIO in
HEX>, &wake=<wake reason>,
&seq=<sequence number>, where time is real
time clock value in message as 32 bit HEX value
in format aabbccddeeff, sequence number is a
rolling counter of how many web posts have been
sent