User Manual
Getting Started
2014 Microchip Technology Inc. DS50002325A-page 21
2.4 COMMAND MODE VS. DATA MODE
The Bluetooth device operates in two modes: Data mode (default) and Command
mode. Upon power-up, the device is in Data mode. While in Data mode, the module is
essentially a data pipe. When the module receives data from a remote Bluetooth device
over a serial port profile (SPP) connection, it strips the Bluetooth headers and trailers
and passes the user data to the UART. When data is written to the UART, the module
constructs the Bluetooth packet and sends it over the Bluetooth SPP connection. Thus,
the entire process of sending/receiving data to the host is transparent to the end micro-
processor. Figure 2-2 illustrates the Bluetooth communication pipe.
FIGURE 2-2: DATA & COMMAND MODES
The default configuration for the Bluetooth device are as follows:
• Bluetooth Slave mode
• Keyboard Default Authentication mode (no pin code required)
• Serial port 115,200 Kbps baud rate, 8 bits, no parity, 1 stop bit
• Serial port flow control disabled
• Low-power mode off.
The device is configurable if set into Command mode and ASCII commands are sent
over a serial port or the Bluetooth link. Once the configuration parameters are changed,
parameter values persist until it is changed or perform a factory reset.
Terminal emulator application/program on PC is required to complete the setup.
Note: User can only configure the Bluetooth module in two ways: locally using
host computer’s USB port and via Bluetooth.
Note: Depending on the operating system, the users can opt to use either the
TeraTerm (Windows OS) or CoolTerm (Mac OS-X) terminal emulator pro-
grams.