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
~ 6 ~
3. Configuration
3.1. Entering Command Mode
There are two modes in the WiFly module, namely data mode and command mode. In data mode, the
module is ready to either accept incoming connections or initiate outgoing connections. To configure the
parameters and/or to view the current configuration, the module must be put into command mode (also
called configuration mode). At any given time, the module will either be in command mode or in data
mode.
Upon power up, the device will be in data mode. To enter command mode, exactly the escape sequence (set
to three characters, $$$ by default) must be sent. The device will respond with CMD indicating it is in
command mode.
NOTE: There is no carriage return (<cr>) after the $$$ to enter command mode.
For example: To enter command mode from data mode, you need to send
$$$ //The module will respond with CMD indicating it is in command mode.
$$$<cr> //The module may not enter command mode
NOTE: There is a 250ms buffer before and after the escape sequence. If any characters are sent before or
after the escape sequence within this interval of 250ms, the WiFly module will treat it as data and pass it
over the TCP or UDP socket. It will not enter command mode.
While in command mode, the device will accept ASCII bytes as commands. Each command ends with a
carriage return <cr>. To exit command mode, send exit<cr>. The device will respond with EXIT
indicating that it has exited command mode and switched into data mode.
Parameters, such as the SSID, channel, IP address, Serial Port settings, and all other settings can be viewed
and configured in command mode.
ASCII characters can be sent through a terminal emulator connected to the UART or via Telnet. When
using the UART interface, communications settings should match the stored settings used by the WiFly
module. The default is 9600 baudrate, 8 bits, No Parity, 1 stop bit, and hardware flow control disabled.
Please DO NOT use HyperTerminal. Use TeraTerm as your terminal emulator. TeraTerm can be
downloaded from our website: http://www.rovingnetworks.com/support