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
~ 19 ~
set sys printlvl <value> Controls debug print messages. This configures the debug messages
printed by the WiFly module on the UART. Default=1. Please refer
section 10.6 on Setting Debug Print levels.
Value
Description
0
Quiet mode. No messages printed when module wakes
up or powers up.
1
All status messages
2
Only critical NETWORK AP connection level status is
output, "Associated!" or "Disconnect from <ssid>"
4
DHCP and IP address status information. Once the
configuration has been checked; this can then be turned
off so that these messages do not interfere with the
data.
0x4000
New scan format output
0x10
Enables uart heartbeat message. See section 10.6.2 for
more details
set sys output <value> <mask> sets output GPIO pins to HIGH or LOW. This is a bit-mapped value.
Optional mask only sets a subset of pins.
For example, to toggle GPIO8 the commands are:
set sys mask 0x21f0 //set GPIO8 as output
set sys output 0x0100 0x0100 //drives GPIO8 HIGH
set sys output 0x0000 0x0100 //drives GPIO8 LOW
set sys sleep <value> sets the sleep timer. The sleep timer is the time in seconds after which the
module goes to sleep. This timer is disabled during an open TCP
connection. When the TCP connection is closed, the module counts down
and puts the module in sleep state based on the value (in seconds). Setting
the value= 0 disables the sleep counter and the module will not go into
sleep based on this counter.
NOTE: Be sure to set the wake timer if not using an external wake up
signal before issuing the sleep timer or the module will never wake up.
See section 10.1 for more details on using system timers
set sys trigger <value> The WiFly modules can wake up from sleep state using the sensor input 0,
1, 2 and 3. This command sets the sensor input(s) to wake on (0-3). This
is a bit-mapped value. Setting the value=0 disables wake on sensor
inputs.