User Manual

Getting Started
2013 Microchip Technology Inc. DS50002183A-page 21
Once the FTDI drivers are installed, the COM port is automatically assigned based on
the active connection.
2.4 MODULE CONFIGURATION
The RN131/171 module operates in two modes:
Data mode (default)
Command mode
2.4.1 Data Mode
In Data mode, the RN131/171 module is essentially a data pipe. When the module
receives data over Wi-Fi, it strips the TCP/IP headers and trailers, and passes the user data
to the UART. When data is written to the UART, the module constructs the TCP/IP packet
and sends it out over Wi-Fi. Thus, the entire process of sending/receiving data to the host
is transparent to the end application/user microcontroller.
FIGURE 2-3: APPLICATION INTERFACE FOR DATA AND COMMAND MODES
2.4.2 Command Mode
By default, the RN131/171 module is in Data mode. Sending an escape sequence $$$
causes the module to enter the Command mode. Once in Command mode, module can
be configured using simple ASCII commands. To exit Command mode and return to the
Data mode, type exit <cr>. Figure 2-3 shows an application interface for Data and
Command modes.
Basic configuration requires the wireless network access point’s name (SSID) and the
authentication password. The RN131/171 module can associate with only one network
at a time. It is recommended to begin evaluation by configuring the RN131/171 module
using an open access point to simplify the setup.
The following two methods are used to configure the RN131/171 module:
1. Over the UART, that is connected to a computer/laptop or to a microcontroller
2. Through Wi-Fi using Ad hoc networking
Terminal emulator is required to type the commands and to monitor the transactions.