
Chapter 1 – Introduction
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 6
Changing Configuration
Parameters, such as the Bluetooth Name, Service Name, Class of Device, and Serial Port settings can be
viewed and configured. This can be done locally through the serial port UART or from a remote Bluetooth RF
link. To configure the SocketWireless Bluetooth device, the device must be in command mode by issuing
+++. While in command mode, the SocketWireless Bluetooth device will accept ASCII bytes as commands.
You can use the developer board and the RS-232 cable to connect to a PC and pass ASCII characters
through the terminal to the SocketWireless Bluetooth device. The communications settings should match the
settings used when the SocketWireless Bluetooth device connects. For example, the defaults are:
9600bps
8 bits
No Parity
1 stop bit
Hardware flow control enabled.
Once you change these parameters, you have the option to store them permanently in the non-volatile
memory.
Run your favorite terminal emulator, HyperTerminal, or other program.
• Type AT on your screen and follow it with a carriage return <cr>. You should see "OK" returned to
you. This will verify that your cable and communications settings are correct. When the
SocketWireless device is not connected to another Bluetooth device, you can type the AT commands
directly into the SocketWireless' UART; e.g., you do not have to type +++ to change from data to
command mode.
• Now you can enter any of the AT commands discussed in the following sections. Follow these
commands by <cr>. Valid commands will return an "OK" or a valid response. Invalid commands will
reply ERROR.
• To return to data mode, type ATMD. You can now pass or receive data from a remote connected
Bluetooth device.
Notes:
• If you change communications parameter settings, remember to change your terminal or emulator
communications settings to correspond to the newly created parameter settings.
• AT commands will not echo back to the terminal.
WARNING:
Refrain from streaming ASCII or binary data into the UART when the SocketWireless device does not
have a Bluetooth RF connection established while in command mode. This may overrun the UART
SocketWireless buffer and will not allow you to make a Bluetooth connection. When the
SocketWireless is in the command parser mode, it is looking for valid AT commands followed by
<cr>.
The command ATSW25 may be used to ignore UART data while unconnected. The DCD will indicate
when a connection is made.
Additional Information about the Use of HyperTerminal
Occasionally, we have noticed an unconventional communication operation when using HyperTerminal in
conjunction with a PC using the Windows BTW Bluetooth stack and virtual Comm ports. For example,
communications may work only in one direction. This will require closing both HyperTerminal programs and
starting both HyperTerminal sessions again.
If you experience a Comm error with the BTW Bluetooth stack while connecting to the serial port profile cable
icon, select View from the Menu Bar and click on Refresh to update the service connection. It is
recommended to use Refresh to update local discovered devices and services to eliminate any "caching" of
parameters in memory.
Comentarios a estos manuales