WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
5 -
2.4
Status Indictors
PIO 4, 5 and 6 are active high and can be connected to external LEDs to provide network, connection
and data status.
3
Configuration
3.1
Entering Command Mode
Upon power up, the device will be in data mode. To enter command mode, exactly the three
characters
$$$
must be sent. The device will respond with
CMD
.
While in command mode, the device will accept ASCII bytes as commands.
To exit command mode, send
exit<cr>.
The device will respond with “EXIT”.
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 communications settings should match the settings used when RN-131g
connects, for example: the default is 9600 baudrate, 8 bits, No Parity, 1 stop bit, and hardware flow
control disabled.
Run your favorite terminal emulator, Roving Networks provides a free one, Teraterm, at
http://www.rovingnetworks.com/support/teraterm.zip
.
Type
$$$
on in the terminal emulator. You should see “
CMD
”
returned to you. This will verify that
your cable and comm. settings are correct. Most valid commands will return an “
AOK
”, response,
and invalid ones will return an
“ERR”
description.
To exit command mode, type
“exit“<cr>.
NOTE:
You can enter command mode locally over the UART interface at any time when not
connected, and also when connected if the appropriate settings are enabled.
Remote configuration using ADHOC mode
Using adhoc mode to configure the device eliminates the need for the module to be associated with a
network access point. In adhoc mode the module creates it own “on demand” network that you can
connect to via your computer like you would to any other network.
To enable adhoc mode via hardware set
PIO9
high (3.3V) at power up. On the RN-134 PIO9 is on
the J1 jumper block. When the module powers up with PIO9 set high, the WiFly module creates an
adhoc network with the following
SSID:
WiFly-GSX-XX where XX is the final two bytes of the devices MAC address
Condition
PIO6=Red LED
PIO5=Yellow LED
PIO4=Green LED
ON solid
Not Associated
Connected over TCP
Fast blink
Rx/Tx data transfer
No IP address
Slow blink
Associated, No
Internet
IP address OK
OFF
Associated, Internet
OK