WiFly Serial Adapter
www.rovingnetworks.com
wifly-serial-um 6/30/2010
809 University Avenue
•
Los Gatos, CA 95032
•
Tel (408) 395-6539
•
~ 11 ~
set ip dhcp 0
// Turn off DHCP
Step 3: Set the wake up and sleep conditions. In this mode the sleep and wake timers are used to conserver
battery. Since we don’t know when the remote host will connect, the module should to occasionally wake
up and listen for the remote host. The trade of with these timers is the longer you sleep the better battery
performance but the longer the latency the remote host sees when connecting. WARNING: do not set the
sleep timer below 5 seconds or it will be impossible to get into command mode to reprogram this mode
without it going back to sleep.
set sys wake 20
// Wake after 20 seconds
set sys sleep 10
// Go to sleep after 10 seconds
save
// Save configuration
reboot
// restart using the new configuration
At this point you could test this configuration using telnet on a computer sharing the same network to
connect to the WiFly serial adapter.