User manual

!
www.rovingnetworks.com Version 1.1 9/20/2012 9
RN-131/171-PICTAIL-UM
The RN-131/RN-171 module is now associated to an access point and is operating in data mode. Use the following steps
to open a telnet session with the device and send it commands:
1. Associate your computer’s Wi-Fi connection with the same access point as the RN-131/RN-171 module.
2. On your computer, open a command line session and type the command:
telnet <address> 2000, where <address> is the IP address of the RN-131/RN-171 module.
For example: telnet 192.168.1.50 2000
2000 is the port number on which the RN-131/RN-171 module listens for telnet session commands.
3. The telnet console should display the echoed response *HELLO*.
4. Anything you type in the telnet console, followed by a <cr>, is echoed on the RN-131/RN-171 module’s console.
Type some random strings and observe the echoing.
5. The PIC18F87J11 connected to the RN-131/RN-171 module can recognize and act on the following commands:
MOD_TON_GRN Turn on module’s green LED.
MOD_TOFF_GRN Turn off module’s green LED.
EXP_TON_LED1 Turn on Explorer Board’s D8 LED.
EXP_TOFF_LED1 Turn off Explorer Board’s D8 LED.
EXP_TON_LED2 Turn on Explorer Board’s D7 LED.
EXP_TOFF_LED1 Turn off Explorer Board’s D7 LED.
Type one of these commands in the telnet console, either by itself or embedded in a longer string, followed by a
<cr>. Observe that you can turn on or off the appropriate LEDs on either the evaluation board or the PIC18
Explorer Board.
You have completed the application demonstration. The next section describes how the software is designed for PIC18
microcontroller.