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
~ 35 ~
When the module wakes up from sleep, it takes a certain amount of time (in milliseconds) to initialize the
internal hardware. During this time, any data that is sent to the WiFly module over the uart will not be
processed. You can monitor certain signals that indicate that the module is ready to accept data. These are
described below.
Method
Interface
Description
RTS
transition
RTS pin
Once the WiFly module wakes up, the RTS line goes HIGH. Once the system
is ready, the RTS is driven LOW. This can be monitored by the micro
controller
Monitor
GPIO 4
Alternative
GPIO
functions
Set the alternative functions for GPIO 4, 5 and 6 (Refer section 10.5.1). Once
the module wakes up and connects to an AP, GPIO 4 goes high. This
indicates the module is ready to receive data over the UART. Your micro
controller can monitor GPIO 4
Sensor Power
Sensor power
pin
You can configure the module to output Vbat, or 3.3V or 1.2V on the Sensor
Power pin when it wakes up form sleep indicating it is ready
Once the module is awake, you can open a TCP connection to a remote host in a number of ways described
below. The remote host can be set using the following commands:
set ip host <IP address> OR set dns name <string> // sets up the IP address OR URL of host
set ip remote <port number> // sets up the port number on which the host is listening
save // save settings in config file
reboot // reboots the module so that the settings take effect
Method
Type
Description
Auto connect
Internal RTC
Timer
Connect out to the host at specific time intervals based upon the set sys
autoconn <secs> command
Open
Uart
In command mode, you can issue the open command
Connect on
uart data
Uart mode 2
This mode is designed for the HTML client feature. Use the set uart mode 2
command to automatically connect out to host on uart data
GPIO 5
Alternative
GPIO
functions
Set the alternative functions for GPIO 4, 5 and 6 (Refer section 10.5.1). Set
GPIO 5 HIGH to trigger TCP connection, LOW to disconnect
10.1. System Timers and Auto Connect Timers
The WiFly modules use the Real Time clock to generate timers. The RTC is active even when the WiFly
module is asleep. This makes it possible to put the module to sleep and wake up from sleep based on timer
intervals using timers.