User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 6
- 8 analog inputs (14 bits, 1.2 V)
- Real-time clock for wakeup and time stamping/data logging; auto-sleep and
auto-wakeup modes
• Network support:
- Supports Soft Access Point (AP), ad hoc, and infrastructure networking
modes
- Push-button WPS mode for easy network configuration
- On-board TCP/IP stack
- Over the air firmware upgrade (FTP)
- Secure Wi-Fi authentication via WEP, WPA-PSK (TKIP), and WPA2-PSK
(AES)
- Configuration over UART or wireless interfaces using simple ASCII com-
mands
- Built in networking applications: DHCP client, DNS client, ARP, ICMP ping,
FTP client, TELNET, HTTP, UDP, and TCP
1.2 CONFIGURATION
The WiFly module has two modes of operation: data mode and command mode. In
data mode, the module can accept incoming connections or initiate outgoing connec-
tions. To configure parameters and/or view the current configuration, you must put the
module into command mode (also called configuration mode).
1.2.1 Entering Command Mode
By default, the module is in data mode after power up. Sending the escape sequence
$$$ causes the module to enter command mode. You must send $$$ together quickly
with no additional characters before or after. You must not send a carriage return (<cr>)
or line feed after the $$$ to enter command mode. The module replies with CMD to indi-
cate it is in command mode. Once in command mode, you can configure the WiFly
device using simple ASCII commands; each command ends with a carriage return
<cr>. Most valid commands return AOK; invalid ones return an ERR description. To exit
command mode, send exit <cr>. The module responds with EXIT, indicating that it has
exited command mode and entered data mode.
You can view various parameters, such as the SSID, channel, IP address, serial port,
and other settings, and configure them in command mode. You send commands to the
module through the UART or via remotely via telnet. When using the UART interface,
the communications settings should match the WiFly module’s stored settings. The
Note: There is a 250-ms time buffer before and after the $$$ escape sequence.
If characters are sent before or after the escape sequence within this 250-
ms interval, the WiFly module treats them as data and passes them over
the TCP or UDP socket, and the module will not enter command mode.