Local Configuration Using a Serial Port
Connect the Bluetooth adapter to your computer’s serial port. (The RN-240M may require a null-modem cable, i.e., with
DB9 pins 2 and 3 swapped; the RN-240F requires a straight cable). If your computer does not have a serial port, you can
use a USB-to-serial cable such as the RN-USB-SERIAL to connect the Bluetooth adapter to your computer.
With the Bluetooth adapter connected and powered on, run a terminal emulator and open the COM port to which the serial
interface or serial USB is connected.
The terminal emulator’s communication settings should be the default serial port settings of the Bluetooth adapter:
115,200 Kbps, 8 bits, no parity, 1 stop bit.
Remote Configuration Using Bluetooth
Before performing remote configuration using Bluetooth, you must first pair the Bluetooth device with your computer. For
PCs running Windows, click Bluetooth devices in the system tray at the bottom right of your computer screen. Select Add
a Bluetooth device and follow the on-screen instructions. For Mac OS-X, click the Bluetooth icon, select Set up Bluetooth
device, and follow the on-screen instructions.
NOTE: You can only configure remotely if the bootup configuration timer (default 60 seconds) has not expired. This timer
is set to 0 (remote configuration disabled) for master mode and auto-connect slave mode so that data can immediately flow
between 2 adapters for cable replacement.
Enter Command Mode
Launch a terminal emulator and make sure that the adapter’s default settings are selected. Figure 3 shows the serial port
settings dialog box for TeraTerm (open this dialog box by choosing Setup > Serial Port).
Figure 3. Serial Port Settings in TeraTerm
Type $$$ into the terminal emulator. It should return the string CMD, which indicates that your connection and terminal
settings are correct. See Figure 4.
When you enter a valid command, the adapter returns AOK. It returns ERR for an invalid command and ? for
unrecognized commands. Type h <cr> to see a list of commands, and d <cr> to view a summary of the adapter’s current
settings. To return to data mode, type --- <cr> or reset the device and re-connect.
Kommentare zu diesen Handbüchern