User manual
RN-52-EK-UG
www.rovingnetworks.com Version 1.0 1/27/13 page 10
Advanced Information
Once connected, the device is in data mode allowing data to flow in both directions. For config-
uration and programming, the device must be in command mode. See “Enter Command Mode”
on page 7 for more information.
Figure 1-7 shows some pairing/connecting examples.
FIGURE 1-7: PAIRING/CONNECTING WITH THE BLUETOOTH ADAPTER
5.4.3 CONNECTING
To establish a Bluetooth connection, open the adapter’s COM port from your application or a ter-
minal emulator. When the COM port is open, the adapter’s red LED flashes. The device remains
connected until you close the COM port or remove power from the board.
5.5 Security Modes
The Bluetooth adapter supports authentication. If the local or remote Bluetooth device has
authentication enabled, you must enter a pin code the first time you attempt to connect. The pin
code is a series of numbers or characters from 1 to 16 characters in length. The default pin code
is 1234.
After you enter the pin code, the Bluetooth devices compare them. If they match, a link key is
generated and stored. Usually, but not always, the remote device stores the link key. For subse-
quent connections, the devices compare link keys. If they are correct, you do not need to re-enter
the pin code.
If the remote device is a PC or PDA, the user generally is prompted to enter this pin code. To
remove the stored link key on the remote device, you typically “unpair” or remove the device from
the Bluetooth manager. You can change the pin code to remove the link key on the Bluetooth
adapter, forcing a new pin code exchange to occur upon subsequent connection attempts.
Note: Only one client can connect to a slave device at a time. As a master, the device can
make multiple connections, but only in a point-to-point, serialized fashion. Roving
Networks devices do not currently support multi-point master mode.
Note: Only one master can connect to the Bluetooth adapter at a time.