User's Manual
WiFly GSX
www.rovingnetworks.com WiFlyRN171-um 2/23/2011
809 University Avenue • Los Gatos, CA 95032 •Tel (408) 395-6539 •info@RovingNetworks.com
~29~
There are 2 timers that can be used to put the module to sleep, and perform a wake up.If the sleep timer is
enabled, the module will automatically go into deep sleep low power mode once the timer counts down to 0.
The sleep timer is disabled if the module has an IP connection, or the module is in COMMAND mode.
The sleep timer (which is the time the WiFly is awake) is a 32 bit number of seconds so it can be as high as
1.19 million hours.
The wake timer (which is the time the WiFly is asleep) is a 22 bit number of seconds so the maximum
sleeping time is 1165 hours.
The sleep timer is set with :set sys sleep <time> time=decimal in seconds.
The wake timer will bring the module out of deep sleep.
The wake timer is set with: set sys wake <time> time=decimal in seconds.
For example, if you wanted the module to wake up, join a network and be available to accept TCP
connections for 30 seconds every 2 minutes you would set the timers as such
setwlanssidmy_net
setwlan passphrase my_pass
set sys sleep 30
set sys wake 90
save
reboot
The above diagram shows the transitions between the Sleep state and Awake state based on the sleep and
wake timers.