RN-131G
rn-131-um.pdf 5/14/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 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 your 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 serial port at any time when not
connected, and also when connected if the appropriate settings are enabled.
Over the air, Remote configuration
Once the module has associated and if TCP SERVER is enabled (the default) the device will be
listening for connections on port 2000.
Using Windows XP or Linux or any other TCP command line client or program, you can access
remote configuration.
Example: (windows command line) telnet 10.10.10.149 2000
Response “*HELLO*”
You can now enter command mode and configure the module.
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