bluesmrf.pdf

Schemat podłączenia modułu bluetooth BTM 330.

Tutaj są inne przykłady połączen modułów i komendy do nich.Niestety innych producentów ale może okazać się przydatne...


Bluetooth? Commands
For the Following Multi-Tech Products
Embedded SocketWireless? Bluetooth? Module (MTS2BTSMI)
MultiConnect? Serial-to-Bluetooth Adapter (MTS2SBTA-R)
External Wireless MultiModem ? EDGE with Bluetooth Interface (MTCBA-E-B)
External Wireless MultiModem ? GPRS with Bluetooth Interface (MTCBA-G-B)
External Wireless MultiModem ? CDMA with Bluetooth Interface (MTCBA-C-B)

AT Commands
Reference Guide

Copyright and Technical Support
Bluetooth AT Commands
Reference Guide
Products:
Embedded SocketWireless? Bluetooth? Module (MTS2BTSMI)
MultiConnect? Serial-to-Bluetooth Adapter (MTS2SBTA-R)
External Wireless MultiModem? EDGE with Bluetooth Interface (MTCBA-E-B)
External Wireless MultiModem? GPRS with Bluetooth Interface (MTCBA-G-B)
External Wireless MultiModem? CDMA with Bluetooth Interface (MTCBA-C-B)
PN S000360E Revision E
Copyright
This publication may not be reproduced, in whole or in part, without prior expressed written permission from
Multi-Tech Systems, Inc. All rights reserved. Copyright (C) 2004-6, by Multi-Tech Systems, Inc.
Multi-Tech Systems, Inc. makes no representations or warranties with respect to the contents hereof and
specifically disclaim any implied warranties of merchantability or fitness for any particular purpose. Furthermore,
Multi-Tech Systems, Inc. reserves the right to revise this publication and to make changes from time to time in
the content hereof without obligation of Multi-Tech Systems, Inc. to notify any person or organization of such
revisions or changes.
Revisions
Revision Level
A
B
C
D
E

Date
08/26/04
11/09/04
04/04/05
07/25/05
01/24/06

Description
Initial release.
Update the product name.
Add Bluetooth Adapter to the cover page.
Updated for Bluetooth commands version 2.8.1.1.0.
New cover with products listed and trademarks/registered
trademark symbols added.

Trademarks
MultiModem and the Multi-Tech logo are registered trademarks of Multi-Tech Systems, Inc.
SocketWireless and MultiConnect are trademarks of Multi-Tech Systems, Inc.
Bluetooth is a registered trademark of Bluetooth.

World Headquarters
Multi-Tech Systems, Inc.
2205 Woodale Drive
Mounds View, Minnesota 55112
Phone: 763-785-3500 or 800-328-9717
Fax: 763-785-9874
Technical Support
Country
France:
India:
U.K.:
U.S. and Canada:
Rest of the World:
Internet Address:

By Email
support@multitech.fr
support@multitechindia.com
support@multitech.co.uk
support@multitech.com
support@multitech.com
http://www.multitech.com

By Phone
(33) 1-64 61 09 81
91 (124) 6340778
(44) 118 959 7774
(800) 972-2439
(763) 717-5863

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

2

Table of Contents

Table of Contents
Chapter 1 - Introduction..............................................................................................................................................5
Overview ...................................................................................................................................................................5
Notes about Byte Gaps and Data Latency ............................................................................................................5
Changing Configuration...........................................................................................................................................6
Additional Information about the Use of HyperTerminal ........................................................................................6
Chapter 2 - AT Commands ..........................................................................................................................................7
Introduction...............................................................................................................................................................7
Command and Response Formats........................................................................................................................7
General Purpose I/O..............................................................................................................................................7
Attention Command .................................................................................................................................................7
AT Attention Command Prefix .............................................................................................................................7
Get/Set SocketWireless Information Commands ..................................................................................................8
VER,ver1 Get Firmware Version .........................................................................................................................8
SI,n Get Status Information .................................................................................................................................8
Set SocketWireless Name........................................................................................................................................9
SN, & lt; name & gt; Set the SocketWireless Name .........................................................................................................9
Write Memory Locations........................................................................................................................................10
SW, & lt; n & gt; Write to an S Register..........................................................................................................................10
Security ...................................................................................................................................................................14
SP, & lt; newvalue & gt; , & lt; oldvalue & gt; Set Personal Identification Number (PIN) .............................................................14
OP,PIN Overwrite PIN .......................................................................................................................................14
Class of Device (COD)............................................................................................................................................14
SC, & lt; value & gt; Change Class of Device ................................................................................................................14
Service Name ..........................................................................................................................................................14
SSN, & lt; value & gt; Set Service Name........................................................................................................................14
Read Memory Locations ........................................................................................................................................15
SR, & lt; n & gt; Read an S Register ..............................................................................................................................15
Inquiry Commands .................................................................................................................................................15
UCL Clear Unit ..................................................................................................................................................15
DI, & lt; number & gt; , & lt; cod & gt; Number of Devices ...........................................................................................................15
IL Repeat Last Inquiry Performed......................................................................................................................15
Connect/Disconnect Commands ..........................................................................................................................16
SMA, & lt; bd address & gt; , & lt; profile & gt; Set Master Default Bluetooth Address/Profile for Slave ......................................16
MACLR Clears Stored Slave Address in Master ...............................................................................................16
DM, & lt; BT_Address & gt; , & lt; UUID & gt; Connect as Master ...............................................................................................16
DL Dials Last .....................................................................................................................................................16
LAST Display Last Connected...........................................................................................................................17
DS Dial as Slave................................................................................................................................................17
DH Dial Hang up/Disconnect .............................................................................................................................17
Command/Data Modes...........................................................................................................................................18
Fast Data Mode ...................................................................................................................................................18
Command Mode or Slow Data Mode...................................................................................................................18
+++ Put SocketWireless into Command Mode when Bluetooth Connected ......................................................18
SESC, & lt; nn & gt; Set Escape ASCII Character .........................................................................................................18
MD Put SocketWireless into Data Mode............................................................................................................18
MF Put SocketWireless into Fast Data Mode ....................................................................................................19
Utilities ....................................................................................................................................................................20
UCL Cancel Command......................................................................................................................................20
URST Reset ......................................................................................................................................................20
FRST Factory Reset..........................................................................................................................................20
STORE, & lt; index & gt; , & lt; string & gt; Store Registers for Users .........................................................................................20
READ, & lt; index & gt; Read Contents from ATSTORE Index ......................................................................................20
Park and Sniff (Connected Slave) .........................................................................................................................21
PARK & lt; integer value & gt; , & lt; integer value & gt; Park Mode ............................................................................................21
XPARK Exit Park Mode .....................................................................................................................................21
SNIFF, & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; ............................................................21
SSNIFF, & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; Set Sniff.........................................21
CSNIFF Clear Sniff Mode ..................................................................................................................................21
XSNIFF Exit Sniff Mode.....................................................................................................................................21
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

3

Table of Contents
Pairing .....................................................................................................................................................................22
PAIR & lt; BT Address & gt; Pair to Bluetooth Address..................................................................................................22
UPAIR Unpair ....................................................................................................................................................22
APAIR Address of Last Paired...........................................................................................................................22
Set Maximum Power Level.....................................................................................................................................22
SPF, & lt; value & gt; , & lt; sign & gt; Set Max TX Power Level..................................................................................................22
LSTO, & lt; integer value & gt; Link Supervisory Timeout ..............................................................................................23
Class 1 Module Power Consumption....................................................................................................................23
Chapter 3 - Factory Default Power-Up Settings......................................................................................................24
Chapter 4 - Examples................................................................................................................................................25
Example of a Master Discovery / Connection Sequence ....................................................................................25
From Power Up and No Connection....................................................................................................................25
To Get out of Data Mode and Check Status ........................................................................................................25
Example of a Slave Command Sequence.............................................................................................................26
From Power Up ...................................................................................................................................................26
Get Out of Data Mode and Check Status ............................................................................................................26
Chapter 5 - Response Codes....................................................................................................................................27
Appendix A - AT Command Summary Table ..........................................................................................................30
Appendix B - Glossary, Acronyms, and Abbreviations .........................................................................................32
Index............................................................................................................................................................................33

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

4

Chapter 1 - Introduction

Chapter 1 - Introduction
Overview
This document describes the protocol used to control and configure the Multi-Tech Systems, Inc. SocketWireless
Bluetooth device. The protocol is similar to the industry standard Hayes AT protocol used in telephone modems
due to the fact that both types of devices are connection oriented. Appropriate AT commands have been
provided to make the module perform the two core actions of a Bluetooth device, which are make/break
connections and inquiry. Additional AT commands are also provided to perform ancillary functions.
Just like telephone modems, the serial module powers up into an unconnected state and will respond to inquiry
and connection requests. Then, just like controlling a modem, the host or client can issue AT commands, which
map to various Bluetooth activities. The command set is extensive enough to allow a host to make connections
that are authenticated, encrypted, or not encrypted. The SocketWireless Bluetooth device can be configured,
commanded, and controlled through the local serial port or over the Bluetooth RF connection.

Important Notes:

o To provide the best firmware architecture, design, and future profile support, the code is not 100%
backward compatible with regard to certain AT commands and responses.
o The CSR (Cambridge Silicon Radio) BC02 chipset in this module is memory-resource limited; therefore,
it is recommended that you do NOT fully implement the AT protocol similar to an AT modem.

Notes about Byte Gaps and Data Latency
Because of the way Bluetooth is designed and operates, random byte gaps of 5 ms to 20 ms are common.
Packet size will vary from transmission to transmission.
Although the serial bandwidth operates up to 920K, effective data throughput in fast streaming mode is
approximately 200Kbp. Effective data throughput in regular data mode is 60Kbps. The reason for the slower
speed in regular mode is due to the AT parser, which looks at each character for ASCII valid command
scripts in the regular mode's data stream.
The SocketWireless RX has very limited buffering, so if you do not use hardware flow control and are
transmitting further distances, you will quickly overflow the 50 byte buffer because of RF retransmissions,
etc.
When a Bluetooth connection is made, the SocketWireless device goes into regular data mode per the
power-up factory default settings. This enables the user to remotely configure the SocketWireless settings
via a remote RF Bluetooth connection. Basically, you can setup the SocketWireless device so no commands
are required to be sent from the embedded side of the device. This will prevent any software embedded
firmware development or testing for legacy systems.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

5

Chapter 1 - Introduction

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 ATMC.
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.

o

Type AT on your screen and follow it with a carriage return & lt; cr_lf & gt; . 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 ATMC to change from data mode to command
mode.

o

Now you can enter any of the AT commands discussed in the following sections. Follow these
commands by & lt; cr_lf & gt; . Valid commands will return an " OK " or a valid response. Invalid commands will
reply ERROR.

o

To return to data mode, type ATMD. You can now pass or receive data from a remote connected
Bluetooth device.

Notes:
o If you change communications parameter settings, remember to change your terminal or emulator
communications settings to correspond to the newly created parameter settings.
o 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 & lt; cr_lf & gt; .
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.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

6

Chapter 2 - AT Commands

Chapter 2 - AT Commands
Introduction
Command and Response Formats
1.
2.

3.

All commands have the following format: command & lt; cr & gt; . Where cr represents carriage return 0x0D.
Valid commands respond with & lt; cr,lf & gt; OK & lt; cr,lf & gt; or & lt; cr,lf & gt; ERROR & lt; cr,lf & gt; . Where lf represents line feed
0x0A. The only exceptions are ATSW20 and ATURST, which do not reply.
a. Another exception occurs when setting baud rate, commanding a CPU reset, or Factory Reset.
All response data, after the command response, has the following format & lt; cr,lf & gt; data & lt; cr,lf & gt; .

General Purpose I/O
The send I/O pins for the DTR and the DSR can be configured as inputs or outputs. They are referred to in
this document as follows:
6 = DTR = PIO (6)
7 = DSR = PIO (7)

Attention Command
AT Attention Command Prefix
The prefix AT must precede every command. The remainder of the command line contains commands for
the SocketWireless. The command line must end with a carriage return line feed:
& lt; cr & gt; = & lt; 0x0d carriage return & gt;
Example:
Type: AT & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Notes:
o
If using HyperTerminal, the check box should be disabled. Send line ends with line feeds; if not, the
commands will not be submitted correctly.
o
AT Commands can be in upper or lower case. The only exception to this is the SocketWireless
Personal Identification alphanumeric Number (PIN), which is case sensitive. In other words, it must
always be in upper case or always be in lower case.
o
All commands are typed exactly as shown
& lt; cr & gt; = & lt; 0x0d carriage return & gt;
& lt; cr_lf & gt; = & lt; 0x0d carriage return & gt; & lt; 0x0a line feed & gt;
o
AT commands will not echo back to the terminal.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

7

Chapter 2 - AT Commands

Get/Set SocketWireless Information
Commands
VER,ver1 Get Firmware Version
Example:
Type:
Reply:

ATVER,ver1 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; Ver 2.8.1.1.0 & lt; cr_lf & gt;

Notes:
o Make sure this version number matches this document version before proceeding.
o (ver1 is case sensitive; use lower case).Get/Set SocketWireless Information

SI,n Get Status Information
Information can be obtained directly from the SocketWireless Bluetooth device. This information is
important when managing a connection list of devices in a local area.
n
1 Asks my SocketWireless for its product ID code (SocketWireless Bluetooth address ID).
2 Asks my SocketWireless for its local/friendly name.
3 Get current status of my SocketWireless.
(0 = master, 1 = slave, 2 = idle),(0 = disconnected, 1 = connected)
4 Get Service Name
5 Get Class of Device (COD). Setting is undefined from factory.
6 Get ATSW24 status {responseType, authMode, autoSCO, minorFilter}
See section on defaults for power up only.
7 Get ATSW25 status {connectMode, comMode, unConnectedUartMode, Service}
See page 9 for details - defaults for power up only.
8 Get SocketWireless UART baud rate, parity, and number of stop bits in (HEX)
"0027,0000,0000" which is not set but defaults to 9600 bps.
9 Get autoConnect Masters stored Slaves Bluetooth address & profile in (HEX) or, if never
used, replies "Not Set!"
10 Get Slaves scan interval and window in (HEX) "0400,0200,0400,0200" respectively (number
of time slots)
11 Get PIO(5) pulse rate in (HEX) 04B0 = 1200msec.
12 Get SocketWireless escape character setting in (HEX) 2B = "+"
13 Get Inquiry and Masters timeout in seconds (HEX) 0014,003C
14 Get SocketWireless maximum transmit power level. Defaulted to max value in (HEX) 0F =
15dBm. Recommend settings of (*15dBm, *12dBm, 4dBm, and 0dBm) (*) - Class 1
SocketWireless only.
15 Password Lock Code Status: 00 - Default normal, 01 - UART only, 02 - UART and RF.
(HEX)00
16 Not Available
17 Get Sniff settings 0000,0000,0000,0000 (Hex) or Not Set!
18 Get link supervisory timeout setting (HEX) 04 (default), Integer 2-41
Examples:
Type:
Reply:

ATSI,1 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 112233445566 & lt; cr_lf & gt;

Type:
Reply:

ATSI,2 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; SocketWireless & lt; cr_lf & gt;

Type:
Reply:

ATSI,3 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 1,0 & lt; cr_lf & gt; // 1 = slave, 0 = unconnected

Type:
Reply:

ATSI,4 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; COM0 & lt; cr_lf & gt;

Type:
Reply:

ATSI,5 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00000000 & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

8

Chapter 2 - AT Commands
Type:
Reply:

ATSI,6 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0,0,0,0 & lt; cr_lf & gt;

Type:
Reply:

ATSI,7 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0,1,0,0 & lt; cr_lf & gt; // 1 = data/command mode

Type:
Reply:

ATSI,8 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0027,0000,0000 & lt; cr_lf & gt;

Type:
Reply:
or
Reply:

ATSI,9 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; Not Set! & lt; cr_lf & gt;

Type:
Reply:

ATSI,10 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0400,0200,0400,0200 & lt; cr_lf & gt; // HEX values

Type:
Reply:

ATSI,11 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 04B0 & lt; cr_lf & gt;

Type:
Reply:

ATSI,12 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 2B & lt; cr_lf & gt;

Type:
Reply:

ATSI,13 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 003C,003C & lt; cr_lf & gt; // HEX value

Type:
Reply:

ATSI,14 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; default & lt; cr_lf & gt; // or HEX value if changed

Type:
Reply:

ATSI,15 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00 & lt; cr_lf & gt;

Type:
Reply:

ATSI,17 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; Not Set! & lt; cr_lf & gt; // or HEX values if set

Type:
Reply:

ATSI,18 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 04 & lt; cr_lf & gt;

// HEX values

& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00A09606E8EF,1101 & lt; cr_lf & gt;

// HEX value
// HEX value

// HEX value

// HEX value

Set SocketWireless Name
SN, & lt; name & gt; Set the SocketWireless Name
Sets the SocketWireless friendly name (15 alphanumeric characters MAX).
When another Bluetooth device performs a Discovery, this will be the name that is passed to that
device. Please take note, unlike the name, the SocketWireless Bluetooth address is fixed (48 bit) at
the factory and is unique to every Bluetooth device manufactured.
Example:
Type:
Reply:

ATSN,MYSOCKETWIRELESS_0123456 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

9

Chapter 2 - AT Commands

Write Memory Locations
SW, & lt; n & gt; Write to an S Register
The S registers refer to memory locations used for configuration.
The S commands are used to assign values to various registers stored in nonvolatile memory.
& lt; n & gt;
20, & lt; baudrate & gt; , & lt; parity & gt; , & lt; stopbits & gt; , & lt; store & gt;
UART Settings
Baud Rates:
1200 - 921.6Kbps (see table below).
Flow Control:
Always enabled and shorting CTS/RTS together if not used.
Parity:
0 = PARITY_NONE,
1 = PARITY_ODD,
2 = PARITY_EVEN,
Stop Bits:
0 = STOP_ONE,
1 = STOP_TWO,
Store Parameters: 0 = Do Not Store
1 = Store Parameters in Flash
Example:
Type:
ATSW20,39,0,0,1 & lt; cr & gt;
// 9600 8,N,1 store in flash
Reply: This unique Command does not reply with "OK" or "ERROR" because of
internal UART data processing limitations and response timing.
Notes:
o
Factory default is: 9600 8, N, 1 hardware flow control RTS/CTS enabled.
You cannot change the number of data bits from 8.
o
To reconfigure SocketWireless to the default factory settings, apply 3.3vdc on
PIO#4 during initial power up for 1sec.
Baud Rate
same
1200
2400
4800
9600
19.2k
38.4k
57.6k
115.2k
230.4k
460.8k
921.6k

ASCII Value
0
5
10
20
39
79
157
236
472
944
1887
3775

Error
1.73%
1.73%
1.73%
-0.82%
0.45%
-0.18%
0.03%
0.03%
0.03%
-0.02%
0.00%

21, & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt;
Page Scan Interval and Window for Slave device not connected in time slots (N).
ATSW21,psInterval,psWindow,isInterval,isWindow
// factory default is {1024,512,1024,512}
Warning: Setting these will affect the inquiry and connection time. You could
inadvertently set the scan interval too long and the window to short on the slave for a
master connect request. Unless your application is battery powered slave and power
conservation it is critical leave at the factory default settings. The minimum Window
allowed by the Bluetooth spec is 11.25msec. If you set isWindow = 0 the Slave device will
not be discovered by any Master but you can still use the Slaves BT address and connect
directly to it from a remote Master.
Page scan interval,
Range 0x0012 to 0x1000,
Time = N * 0.625msec,
Range = 11.25msec to 2560msec,
If set to 0 then page scanning is turned off
Example:
Type:
ATSW21,4096,18,4096,18 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Requires a reset for the settings to go into effect.
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

10

Chapter 2 - AT Commands

Continued: SW, & lt; n & gt; Write to an S Register
22, & lt; PIO# & gt; , & lt; state & gt; , & lt; store & gt;
Set PIO State/Configure state of PIO:
2 = PIO(2) Hard coded as output only (indicates a Bluetooth connection)
3 = PIO(3) (1 = Output, 0 = Input) defaults as input (user definable).
(0 = Input only). Set as output to set flow control.
4 = PIO(4) (0 = Input only)
This is used for resetting factory defaults on power up and breaking out of Fast
Data mode while Bluetooth is connected and also if strobed will auto connect to last
paired or last connected device. (triple purpose) PIO.
5 = PIO(5) (1 = Output) Hard coded as an output only. Pin J36 on the SocketModem.
Strobes at 1 cycle per second indicating slave or master inquiry in process.
6 = PIO(6) (1 = Output, 0 = Input) defaults as input (user definable). Pin J40 on
SocketModem.
7 = PIO(7) (0 = Input only) & gt; 1msec. defaults as input (user definable). Pin J37 on
SocketWireless.
CAUTION: This has to be done before using PIOs as outputs. Inputting 3.3Vdc
into a PIO assigned as output will permanently damage the module.
Store Parameters:
0 = Do not store
1 = Store Parameters in Flash
Example:
Type : ATSW22,3,0,1 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
23, & lt; PIO# & gt; , & lt; value & gt; , & lt; store & gt;
Set PIO Logic
2 = PIO(2), (0 = off,0v) or(1 = on,+V) (Reserved: Indicates BT connection)
3 = PIO(3), (0 = off,0v) or(1 = on,+V) (user definable): Set high will disable flow control.
4 = PIO(4), (0 = off,0v) or(1 = on,+V) Reserved Triple Purpose: (Resetting factory
defaults on power up or dropping into command mode at anytime, auto
connects to last paired or last connected device)
5 = PIO(5), (0 = off,0v) or(1 = on,+V) (Strobes 1/sec. for Slave indication or performing
a Master inquiry)
6 = PIO(6), (0 = off,0v) or(1 = on,+V) (user definable)
7 = PIO(7), (0 = off,0v) or(1 = on,+V) (user definable)
Store Parameters:
0 = Do not store
1 = Store Parameters in Flash
Example:
Type: ATSW23,3,1,1 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
24, & lt; value & gt; , & lt; value & gt; , & lt; value & gt; , & lt; value & gt;
Power Up Default Settings
Change power up responseType, security, audio, and filter modes
ATSW24,responseType, authMode, autoSCO, minorFilter
//set defaults on power up
reponseType
0: Long Response

authMode
0: no authorization

1: Short Response

1: Authorization
required

autoSCO
0: no automatic SCO
connect
1: SCO connect upon
SocketWireless
connect

minorFilter
0: no minor COD filter
1: minor filter on COD

2: No response except
for events: inquiry, etc.)

Factory default is ATSW24,0,0,0,0
authMode = authentication security mode {56bit encryption is automatically enabled when
"1" is selected and the default PIN = "default"} UART will reply LINK,BTaddress before the
CONNECT,BTaddress.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

11

Chapter 2 - AT Commands

Continued: SW, & lt; n & gt; Write to an S Register
Default filter = 00000000 // no filter, finds all devices.
ATSW24,responseType, authMode, autoSCO, minorFilter
// definitions
ATSW24,long response, no security,no SCO,no minor filter
// settings
Example:
Type: ATSW24,0,0,0,0 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Note: Requires a software or hardware reset for change to take effect.
Set AT command Response in SHORT, LONG or NONE form. Default is LONG FORM
0 = LONG Form, 1 = SHORT FORM, 2 = NONE.
Verbalize Result Codes Summary Table:
Reference Appendix A in the back
0 = Long form
1 = Short form
OK
00
CONNECT
01
RING
NO CARRIER
03
ERROR
04
NO DIALTONE
BUSY
NO ANSWER
SCO CONNECT
09
SCO FAILED
SCO
11
DISCONNECT
DONE
12

2 = None

Explanation
Command is correct and has been completed
Connection established
Incoming ring detected
No connection or lost the carrier
Bad command
Dial tone not detected in S7 seconds
Busy tone detected
See ATD . . .@. . .
(Audio)SCO connection established
(Audio)SCO connection failed
(Audio)SCO disconnected
Inquiry Complete

25, & lt; value & gt; , & lt; value & gt; , & lt; value & gt;
Auto Connecting Modes
Change power up Connect, Security, audio, and filter modes
ATSW25,connectMode, dataMode, unConnectUartMode //set defaults on power up
connectMode
0: Slave
1: Autoconnect Master
2: Idle Mode
3: Slave Undiscoverable

comMode
0: *Fast Data
1: Data
2: Command

unConnectUartMode
0: allow data to pass
1: ignore UART while unconnected
***

Service
0: SPP
1: DUN
2: Headset

Factory default is ATSW25,0,1,0,0
comMode = 0 (Fast Data Mode)
In a Master unit during a manual inquiry "ATDI" and/or connection request, the module
connects in slow data mode not fast. This occurs because the capability to issue AT
commands is needed; and, in fast data mode, the AT command parser is turned off.
In idle mode the module is neither slave or master and draws 1.6mA of current, but you
cannot communicate over the Bluetooth link in this state; you can communicate only
through the TX & RX hardware UART.
You cannot perform an Autoconnect and set the service flag = to 1: DUN. The service
selection for ATSMA,{slave address},UUID takes care of this for the Master.
Warning: The only way to communicate to the module after setting it in Fast Data Mode
and setting ignore UART while unconnected is to apply 3.3Vdc on PIO(4) during initial
power up for 1 sec. These settings are used if you have no control over the source of
streaming data into the module or you do not know when the module has made a
Bluetooth connection and you do not plan to send any AT commands.
ATSW25,connectMode,dataMode,unConnectUartMode,Service
// definitions
ATSW25,slave,data mode,allow data to pass,SPP
// settings
Example:
Type:
ATSW25,0,0,0,0 & lt; cr & gt; //Slave connects in fast data mode
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Note:
Requires a software or hardware reset for change to take effect.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

12

Chapter 2 - AT Commands
Continued: SW, & lt; n & gt; Write to an S Register
26, & lt; value & gt; , & lt; value & gt;
,old PIN, Lock or unlock
Lock User Definable Settings
Use this command to prevent unauthorized local & remote changing of settings...
ATSW26,PIN,LOCK or unlock
// where lock = 0 : unlocked, 1 : locked
Example:
Type:
ATSW26,default,1 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Notes:
o PIN for this command is the same for authentication PIN = "default"
o Factory default is unlocked user settings. This will also lock the password from
changing.
27, & lt; value & gt;
Set LED Pulse Rate on PIO(5)
Example:
Type:
ATSW27,1200 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;

//1200 msec. factory default

Notes:
Integer decimal value can range from 1 msec. to 60,000 msec. Use to indicate slave
mode operation and inquiry in process. Duty cycle remains 50%.
28, & lt; iTimeout & gt; , & lt; mTimeout & gt;
Inquiry Timeouts
iTimeout = Inquiry Time (in seconds)
mTimeout = Master connect request timeout (in seconds)
Example:
Type:
ATSW28,20,60 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;

// factory default

Note:
Integer decimal value can range from 1 sec. to 60,000 sec. Does NOT require a reset for
command to take effect.
29,PIN, & lt; value & gt;
Set PIN Lock Code
Maximum alphanumeric characters (16) includes spaces. Case sensitive. This command
enables ATOP in the next section
0 - Normal operation this is disabled (factory default)
1 - Allow command through UART only
2 - Allow command through UART and over RF Link
Example:
Type:
ATSW29,default,1 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

13

Chapter 2 - AT Commands

Security
SP, & lt; newvalue & gt; , & lt; oldvalue & gt; Set Personal Identification Number (PIN)
Set PIN, Max alphanumeric characters (16) includes spaces. A PIN is case sensitive.
Factory default PIN = default
Example:
ATSP,newPIN,oldPIN
Type:
ATSP,1234567890123456,default & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Note:
Be careful when entering a new PIN. There is no way to obtain PIN status after it is changed. If
the PIN is changed after two units have already been authenticated and connected, you will have to
perform a software or hardware reset for the devices to use the new PINs. If not, the two units will
still connect using the old stored PIN.

OP,PIN Overwrite PIN
Set Overwrite PIN to enter a new PIN without entering the old PIN first. Maximum alphanumeric
characters: 16 including spaces. A PIN is case sensitive.
Example:
Type:
Reply:

ATOP,1234 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

Note:
This command is used in conjunction with ATSW29 command.

Class of Device (COD)
SC, & lt; value & gt; Change Class of Device
A Change Class of Device (COD) requires exactly 8 16-bit hex values (0 thru F) based on the
Bluetooth COD specification names published and maintained by the Bluetooth SIG.
Factory default is 00000000 - undefined since this is set by the user based on the final OEM
device installed in.
Example:
Type:
Reply:

ATSC,00020114 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

Note:
Requires a software or hardware reset for change to take effect.

Service Name
SSN, & lt; value & gt; Set Service Name
Set the Bluetooth Service Name. Maximum of 16 alphanumeric characters. Factory default is
COM0.
ATSSN,1234567890123456
Example:
Type:
Reply:

ATSSN,COM0 & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

Note:
Requires a software or hardware reset for change to take effect.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

14

Chapter 2 - AT Commands

Read Memory Locations
SR, & lt; n & gt; Read an S Register
The S registers refer to memory locations used for configuration.
21, & lt; PIO# & gt;
2 = PIO(2) (0 = off,0v) (1 = on,+V) (Reserved: Indicates BT connection)
3 = PIO(3) (0 = off,0v) (1 = on,+V) (dual purpose, also user definable)
4 = PIO(4) (0 = off,0v) (1 = on,+V) (Reserved: Triple Purpose)
5 = PIO(5) (0 = off,0v) (1 = on,+V) (Strobes 1/sec. for Slave indication)
6 = PIO(6) (0 = off,0v) (1 = on,+V) (user definable)
7 = PIO(7) (0 = off,0v) (1 = on,+V) (user definable)
Example:
Type:
ATSR21,3 & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 1 & lt; cr_lf & gt; or & lt; cr_lf & gt; 0 & lt; cr_lf & gt;

Inquiry Commands
Inquiry commands are used to discover all SocketWireless Bluetooth devices (within range) that match the Class of
Device (COD). If the COD is not known, it is best to use 00000000.
00000000 allows discovery of all devices. You cannot be in the default slave mode and perform the inquiry command.
Only a Master or SocketWireless device in idle mode can perform an inquiry.

UCL Clear Unit
It is recommended that the Clear Unit command be executed before performing an Inquiry command; an
Inquiry command will place the SocketWireless device in idle mode. See also Utilities.

DI, & lt; number & gt; , & lt; cod & gt; Number of Devices
This command signals the SocketWireless that the numbers, letters, and commas that follow are all part of a
SocketWireless number for which it should search. The number represents how many devices to find. COD
is the class of the device for which to search.
An " OK " is returned immediately following this command. " DONE " will appear after all devices have been
found or a 20 second timeout has occurred while searching for the number of devices specified.
Returns the following:
& lt; bd_Address 12chars & gt; , & lt; cod 8chars & gt; , & lt; name 16chars & gt;
Example Master:
Type:
ATDI,1,00000000 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 00A0961F2023,00000000,SocketWireless & lt; cr_lf & gt; DONE & lt; cr_lf & gt;
Note:
The request for name is a separate command string from the other two so depending if the RF link is
marginal the name may come back blank.

IL Repeat Last Inquiry Performed
Example Master:
Type:
ATIL & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 00A0961F2023,00000000,SocketWireless & lt; cr_lf & gt; DONE & lt; cr_lf & gt;
or
Reply: & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;
// If inquiry not previously performed.
Note:
ATDI command string previously used is stored in Flash

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

15

Chapter 2 - AT Commands

Connect/Disconnect Commands
SMA, & lt; bd address & gt; , & lt; profile & gt; Set Master Default Bluetooth Address/Profile for
Slave
Set Master
This command will set a specific Bluetooth Slave address and service profile into the Master device so on
power up the Master will automatically search and connect to a unique Slave device in Fast data mode. The
below example is for SPP profile service which is 1101.
Example Master:
Type:
ATSMA,00A0961F904F,1101 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Reset module for change to take effect.
Execute ATSW25,1,0,0,0 "Master default . . ." before using the above command if still in slave mode.

MACLR Clears Stored Slave Address in Master
Example:
Type:
Reply:

ATMACLR & lt; cr & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;

DM, & lt; BT_Address & gt; , & lt; UUID & gt; Connect as Master
This command is used to connect one SocketWireless device to another. Doing this enables data
transmission bi-directionally. When performing this command, the reply is critical so as to understand where
the connection process is. A connection can take several seconds, so when making a connection, if it is not
already connected, an "OK" will be sent back immediately. Don't mistake this for a connection being
complete. A completed connection will return "CONNECT,123456789012" sometime after the command is
sent, typically & lt; 4 seconds. PIO(2) will go high and stay high. Pin 29 on the SocketModem will turn on and
stay on while a Bluetooth connection is established.
The command gives the Slave address and the type of profile to which it will connect. When connecting as a
MASTER, use a valid Bluetooth Slave address and end with a valid UUID from the table below. You must be
in Master mode to connect to a remote Slave device. This command will not work while still in Slave mode.
Example Master:
Type:
ATDM,112233445566,UUID & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; CONNECT,00A0961D9C37 & lt; cr_lf & gt; // example of a successful connection to a
slave or & lt; cr_lf & gt; NO ANSWER & lt; cr_lf & gt;
or
& lt; cr_lf & gt; LINK,00A0961D9C37 & lt; cr_lf & gt;
// if security is enabled
& lt; cr_lf & gt; CONNECT,00A0961D9C37 & lt; cr_lf & gt;
UUID Table
Profile Name
Serial Port (SPP)
Dial-up Network (DUN)

UUID
1101
1103

DL Dials Last
Connects to the last successful Slave Bluetooth address connection over SPP unless the ATDM command
was executed; then the UUID from the ATDM command will be used.
Example:
Type:
ATDL & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; CONNECT,123456789012 & lt; cr_lf & gt; or
Reply:
& lt; cr_lf & gt; ????? & lt; cr_lf & gt;
Note:
Need to be in idle mode to execute the command.
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

16

Chapter 2 - AT Commands

LAST Display Last Connected
Displays the LAST connected Bluetooth device address.
Example:
Type:
ATLAST & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 000000000000 & lt; cr_lf & gt; or
// Nothing stored
Reply:
& lt; cr_lf & gt; 123456789012 & lt; cr_lf & gt;
// last connected device
Note: Unless the device was paired the address will be lost if power cycled.

DS Dial as Slave
This command is used to connect one SocketWireless device to another. Doing this will enable data
transmission bi-directionally. When performing this command, the reply is critical so as to understand
where the connection process is. A connection can take several seconds, so when making a connection, if
it is not already connected, an "OK" will be sent back immediately. Don't mistake this for a connection
being complete. A completed connection will return "CONNECT" sometime after the command was sent,
usually & lt; 10 seconds and typically 2 seconds. PIO(2) will go high and stay high. Pin J29 of the
SocketModem will turn high and stay high while connected.
The command places the SocketWireless device in Slave mode where it is waiting for a connection to
occur from a Master.
Example Slave:
Type:
ATDS & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; CARRIER & lt; cr_lf & gt;
or
& lt; cr_lf & gt; CONNECT,00A0961F008F & lt; cr_lf & gt;

DH Dial Hang up/Disconnect
This command will issue a " disconnect " to the SocketWireless.
Example:
Type:
Reply:

ATDH & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt;

Note:
If you send this command over the RF link to a remote Slave the Slave will disconnect and go into Idle
mode not Slave mode by design.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

17

Chapter 2 - AT Commands

Command/Data Modes
Fast Data Mode
The advantage of this mode is that the data being sent does not have to be evaluated or processed for AT
commands and will allow for faster, effective data throughput of around 200Kbps. To verify that you are in fast data
mode, type +++ & lt; cr & gt; . It will pass directly through the UART because the AT Command parser is off, or else the
+++ & lt; cr & gt; will be accepted because the AT Command parser is still on; it then returns "OK".
The drawback to this is that once in fast data mode there are limited ways to get out of it; i.e., CPU reset, power
down, or strobe PIO4 on the SocketWireless. On the previous 4Mbit legacy modules, the escape character was fixed
and set to "ATMC". ATMC is no longer implemented.

Command Mode or Slow Data Mode
The Command Mode or Slow Data Mode will slow down the throughput when the SocketWireless looks for the AT
commands. One way to allow minimal overhead transmission burden is to perform all configuration commands, and
then place the SocketWireless into the fast data mode.
The different operation modes are explained in the table below:

+++ Put SocketWireless into Command Mode when Bluetooth Connected
This sequence is used to force the SocketWireless device into the command state. If the device has been
placed in Fast Data Mode, this command will have no affect and the typed command will be treated as
data. When using this command, allow at least 100ms delay before sending the next AT command.
If successful, an "OK" is returned. If already in data or fast data mode or already connected, nothing is
returned. When the connection has been lost, a "NO CARRIER" occurs.
Example:
Type:
Reply:

+++ & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt;

SESC, & lt; nn & gt; Set Escape ASCII Character
Set Escape ASCII character where integer nn is the ASCII decimal character & lt; 256 or non-extended ascii
characters.
Example:
Type:
ATSESC,43 & lt; cr & gt;
// 43 = 2B(hex) = "+" ASCII character
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;
Note:
You do not need to perform a reset; the command stores permanently.

MD Put SocketWireless into Data Mode
This sequence is used to force the SocketWireless device into Data Mode. In order for this to have an
effect, the SocketWireless device has to be CONNECTED.
If successful, an "OK" is returned or else "NO CARRIER". A "NO CARRIER" also occurs when the
connection has been lost.
Example:
Type:
ATMD & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

18

Chapter 2 - AT Commands

MF Put SocketWireless into Fast Data Mode
This sequence is used to force the SocketWireless device into fast data mode. Once in Fast Data Mode,
all commands are treated as data, and the only way to get out of this mode is to reset power on the
SocketWireless device or strobe PIO(4) while connected.
If successful an "OK" is returned, or nothing will be returned if already in fast data mode and connected
else "No Carrier" if the Bluetooth RF link is not established.
Example:
Type:
Reply:

ATMF & lt; cr & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
// if connected command is accepted
or
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt;
// not connected command is rejected

Note About Byte Gaps and Data Latency
The way Bluetooth is designed and operates random byte gaps of 5 msec to 20 msec are common. Packet
size will vary from transmission to transmission. The faster the UART speed the smaller the byte gap delay.
Effective data payload throughput in fast streaming mode is approximately 200Kbps and 60Kbps in regular
data mode when the AT parser looks at each character for ASCII valid command scripts in the data stream.
The SocketWireless RX has very limited buffering so if you do not use hardware flow control and are
transmitting further distances, you will quickly overflow the buffer because of RF retransmissions, etc.
When a Bluetooth connection is made, the SocketWireless goes into regular data mode per the power-up
factory default settings. This enables you to remotely configure the SocketWireless settings via a remote RF
Bluetooth connection. Basically, you can setup the SocketWireless so no commands are required to be sent
from the embedded side of the SocketWireless UART. This will prevent any software embedded firmware
development or testing for legacy systems.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

19

Chapter 2 - AT Commands

Utilities
Important Note: The following reset commands can be sent through the UART or over the Bluetooth RF connection.

UCL Cancel Command
The UCL command tells the SocketWireless device to cancel inquiry or connect request commands.
Then it places the SocketWireless device in idle mode. The Cancel command can come in handy for a
quick exit from commands if there are no devices in the area and you do not want to wait 60 seconds
for an automatic timeout.
You cannot cancel a command while connected.
Example:
Type:
ATUCL & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;

URST Reset
The RST command tells the SocketWireless device to perform a software reset on the CPU
Example:
Type:
ATURST & lt; cr & gt;
Reply:
This unique Command does not reply with "OK" or "ERROR" because of internal UART
data processing limitations and response timing.

FRST Factory Reset
Resets the SocketWireless back to factory defaults. Allow 5 seconds for the SocketWireless to read
and write to FLASH.
Example:
Type:
ATFRST & lt; cr & gt;
Reply:
This unique Command does not reply with "OK" or "ERROR" because of internal UART
data processing limitations and response timing.

STORE, & lt; index & gt; , & lt; string & gt; Store Registers for Users
The Store command is permanent storage for the user for ID's, address, etc.
0: Location 0 Up to 16 alphanumeric characters
1: Location 1 Up to 16 alphanumeric characters
Example:
Type:
ATSTORE,0,1234567890123456 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;

READ, & lt; index & gt; Read Contents from ATSTORE Index
The READ from index locations are:
0: Location 0 Up to 16 alphanumeric characters
1: Location 1 Up to 16 alphanumeric characters
Example:
Type:
ATREAD,0 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 1234567890123456 & lt; cr_lf & gt; or & lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Note:
Nothing stored will return blank.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

20

Chapter 2 - AT Commands

Park and Sniff (Connected Slave)
PARK & lt; integer value & gt; , & lt; integer value & gt; Park Mode
PARK,maxIntval,minIntval
Example:
Type:
ATPARK,1000,11 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Allow 7 seconds for the slave to drop its average current draw from 45mA to 3mA and go into PARK.
Any UART traffic will cause the Slave to go back to full operation within 5msec of the first character for 7
seconds before going back into PARK mode without subsequent data. The Slave will remain connected
to the Master because the SocketWireless module supports only one connection.
Note:
Both units are required to support park. A Park request is sent from both Master and Slave to go into
effect only during an active Bluetooth connection. The order does not matter.

XPARK Exit Park Mode
Exit Park Mode: Initiated from Master to Remote Slave.
The ATXPARK command tells the SocketWireless to exit the park mode.
Example:
Type:
ATXPARK & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Unit will immediately exit park.

SNIFF, & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt;
Sniff for Slave device connected in time slots (N). Time = N * 0.625msec.
ATSNIFF,maxIntval,minIntval,attempt,timeout
Example:
Type:
ATSNIFF,1600,160,10,160 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Manually enabled sniff results in an always-connected slave using only 2mA average current when no
data is sent. .
Important Note: It takes about 7 seconds before the current drops after the connection is established.
Parameters are lost after connection is dropped.

SSNIFF, & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; , & lt; integer value & gt; Set Sniff
Set/Store Sniff for Slave device connected in time slots (N). Time = N * 0.625msec,
ATSSNIFF,maxIntval,minIntval,attempt,timeout
Example:
Type:
ATSSNIFF,1600,160,10,160 & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Stores parameters permanently in Flash and auto starts Sniff after connection is established.

CSNIFF Clear Sniff Mode
Clear Sniff stored values above.
Example:
Type:
ATCSNIFF & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

XSNIFF Exit Sniff Mode
Exit Sniff mode
The ATXSNIFF tells the SocketWireless to exit and stop "sniffing" RF signals.
Example:
Type:
ATXSNIFF & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

21

Chapter 2 - AT Commands

Pairing
PAIR & lt; BT Address & gt; Pair to Bluetooth Address
Pair: The command tells the SocketWireless in Master mode to Pair to a specific Bluetooth address.
Example:
Type:
ATPAIR,00A0961F008F & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; NO ANSWER & lt; cr_lf & gt; or & lt; cr_lf & gt; PAIRED,FAILED & lt; cr_lf & gt; or
& lt; cr_lf & gt; PAIRED,123456789012 & lt; cr_lf & gt; // Successful
Note:
Paring Timeout is 30 seconds. Need to be in Idle mode first.
Security PINs are exchanged.

UPAIR Unpair
Un Pair: The command tells the SocketWireless to Un Pair from the Bluetooth stored address.
Example:
Type:
ATUPAIR & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
Notes:
o Use the command ATLAST to view the stored address after pairing.
o Paring is not the same as a connection; you will not see an inquiry or a connect indication.
o Un Pair can be set while in Master, Slave, or Idle mode.
o You will need to reset or cycle power to clear paired address or to pair to a new device.

APAIR Address of Last Paired
Address of Last Paired
Example:
Type:
ATAPAIR & lt; cr & gt;
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; 123456789012 & lt; cr_lf & gt; or
& lt; cr_lf & gt; 000000000000 & lt; cr_lf & gt;
// Blank
Note:
The Slave's UART will send "LINK,BTaddress" for every secured connection. Also, the Master's UART
will send the same output even if a security flag is enabled.

Set Maximum Power Level
SPF, & lt; value & gt; , & lt; sign & gt; Set Max TX Power Level
Set Max TX Power Level: This command sets the maximum transmit power in (dBm)
Recommended values: 15, 12, 4, and 0 dBm.
Factory default is 15 dBm max for Class 1.
First value = integer from 20 to 0. Second value (sign) = (+) or (-)
Class 1 Power Table
15 dBm
11 dBm
7 dBm
3 dBm
-1 dBm
-5 dBm
-9 dBm
Class 1: 0 dBm to +20 dBm
Note:
This value does not include gains associated with the external antenna (2 dBm). The firmware uses the
highest value in the power table that is less than or equal to the requested max transmit power number
above.
Example:
Type:
ATSPF,4,+ & lt; cr & gt;
// +4dBm
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or if & gt; (+15) or & lt; (-20) & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

22

Chapter 2 - AT Commands

LSTO, & lt; integer value & gt; Link Supervisory Timeout
Link Supervisory Timeout: The command tells the SocketWireless to drop the connection if the units
cannot handshake for x amount of time in seconds. Factory default is approximately 4 seconds.
Integer value from 2 to 41
Example:
Type:
ATLSTO,20 & lt; cr & gt;
// Sets timeout to approximately 20 seconds
Reply:
& lt; cr_lf & gt; OK & lt; cr_lf & gt; or & lt; cr_lf & gt; ERROR & lt; cr_lf & gt;
Note:
If timeout is set to a duration that is too short, you may inadvertently drop the connection prematurely if
the RF link margin is poor.

Class 1 Module Power Consumption
Idle Mode ? 1.6mA average, neither Slave or Master.
Slave connected ? 25mA average.
or
Use the command ATSNIFF,1600,160,10,160. Results ? 2mA average, slave connected when no data sent.
Slave not connected ? 45mA average (factory default).
or
ATSW21,4096,18,4096,18 settings will result in the Slave not connected ? 1mA average.
Master not connected ? 1.6mA. However, when a Master is not in use, it is better to turn off the power
completely and draw zero current (0mA).
Master inquiry ? 60mA for the first couple of seconds before it connects to the Slave.
Master Connected ? 25mA? (too difficult to measure).
If you perform a remote Bluetooth RF "ATDH" disconnect command from any Master to the Slave, the Slave will
go into idle mode. You will have to either send a command to the Slave through its local UART or cycle power on
to have it come back up in Slave mode. This was designed as if you were communicating to the local UART on
the Slave. Typically a Slave never sends a commanded disconnect; only the Master does this. In this mode, you
can devise some clever power-saving features; i.e., leaving the Slave in idle mode until another event triggers
the SocketWireless to go back into Slave discoverable mode. It is important to remember a device in Idle Mode
is not discoverable, which has some security advantages. The same type of benefits can be achieved by
controlling the time when the SocketWireless is turned off/on again.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

23

Chapter 3 - Factory Default Power-Up Settings

Chapter 3 - Factory Default PowerUp Settings
AT command Response Form = Long Form
Bluetooth Service Profile = Serial Port Profile (SPP)
Device Role = Slave
Baud Rate = 9600bps
Data bits = 8 bits
Parity = None
Stop bits = 1 bit
Hardware flow control RTS/CTS = Enabled
Power Mode = Never go into deep sleep mode
Country/Region Code = North America and Europe
Module Type = Multi-Tech SocketWireless
Name of Device (local name) = Multi-Tech SocketWireless
My SocketWireless status = 1,0 {slave disconnected}
Service Name = COM0
Power up default (ATSW24) settings = 0,0,0,0
Power up default (ATSW25) settings = 0,1,0,0
Lock user definable settings (ATSW26) = False
LED pulses on/off (ATSW27) = 1200msec
Set password lock bit (ATSW29) = 00 (HEX)
Major & Minor Class Of Device (COD) = 00000000 {undefined}
Security PIN and Encryption Disabled
Default PIN = "default" caps sensitive
Page Scan Interval = 0x400 {1024 time slots}
Page Scan Window = 0x200 {512 time slots}
Inquiry Scan Interval = 0x400 {1024 time slots}
Inquiry Scan Window = 0x200 {512 time slots}
Timeout Connection Parameters
ATDI Dial Inquiry timeout = 20 seconds
ATDM Master Connect Request = 60 seconds
(need to perform ATUCL to cancel last command to halt sooner or set ATSW28 to a different value)
Pairing timeout = 30 seconds
Timeout for lost of Bluetooth connection = 4 seconds
Class1 SocketWireless Max transmit power = 15dbm
Notes:
Applying 3.3Vdc on PIO(4) for 1 sec. during initial power up will change the variable settings listed above back to
the factory defaults. Note: This does not apply to the MultiConnect Adapter.
Another option is to use the software command ATFRST & lt; cr & gt; . The only exceptions to the variable settings
changing back to factory defaults at power-up is the name of device (friendly name) and the PIN; these will not
change back if you had altered the factory default.
Allow approximately 5 seconds for the SocketWireless to reconfigure.
Miscellaneous Note:
Retries for over-the-air RF-guaranteed data packet is set for indefinite.

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

24

Chapter 4 - Examples

Chapter 4 - Examples
Example of a Master Discovery /
Connection Sequence
From Power Up and No Connection
1.

Perform an Inquiry to obtain BT_Address (unless it is already known).
Sent : ATUCL & lt; cr & gt;
// Clears SocketWireless state and places in Idle
Mode
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Sent : ATDI,1,00000000 {Class of Device} & lt; cr & gt;
// Looks for only one device
Reply: & lt; cr_lf & gt; 00A0961F2023,00000104,SOCKETWIRELESS & lt; cr_lf & gt;
& lt; cr_lf & gt; DONE & lt; cr_lf & gt;

2.

Perform a Master Connect over SPP using the BT_Address.
Sent : ATDM, 00A0961F2023,1101 & lt; cr & gt;
// SPP connection
Reply: & lt; cr_lf & gt; CONNECT,00A0961F008F & lt; cr_lf & gt; // Returns Slave BT address, SocketWireless is in
Data Mode

3.

Place SocketWireless into Fast Data Mode.
Sent : ATMF & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;

4.

// Places SocketWireless in Fast Data Mode

Send Data.

Note:
When sending commands from the Slave and the Slave connects in Fast Data Mode (ATSW25/or issuing
ATMF), all valid AT commands sent through the Slave's UART will be interpreted and responded to by the
Master as if it were the local Slave. Basically, in this configuration, from the Slave end you can obtain status and
configure from the remote Master. This is a unique feature that may be useful in some applications but can
confuse the user if you think you are talking to the local Slave UART.

To Get out of Data Mode and Check Status
1.
2.
3.
4.

Delay at least 50 milliseconds.
Go into Command Mode.
Sent : +++ & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Check Status, perform a Disconnect ...
Sent : AT & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;
Or send any AT Command example:
Sent : ATSI,1 & lt; cr & gt;
Reply: & lt; cr_lf & gt; 00A0961F2023 & lt; cr_lf & gt;

// Default escape sequence of characters

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

25

Chapter 4 - Examples

Example of a Slave Command Sequence
From Power Up
1.
2.
3.

Perform an inquiry and search for Slave Bluetooth device with a PC or other embedded unit.
Send a connection request from PC or embedded device to the Slave.
Wait for a connection
Reply: & lt; cr_lf & gt; CONNECT,{SLAVE ADDRESS} & lt; cr_lf & gt;
// SPP Connected
4. Send Data.
Note:
This command sequence assumes the SocketWireless is in factory default in which it automatically comes up
and is connectable as a Slave from a Master request.

Get Out of Data Mode and Check Status
1.
2.

Delay at least 50 milliseconds.
Check Status, perform a Disconnect ...etc.
Sent : AT & lt; cr & gt;
Reply: & lt; cr_lf & gt; OK & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

26

Chapter 5 - Response Codes

Chapter 5 - Response Codes
No. Command

Verbalization Long Response

Verbalization Short Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; Ver 2.8.0.0.12 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; SocketWireless AT & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00A09608F513 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; SocketWireless & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 1,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; COM0 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00000000 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0,0,0,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0,1,0,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0027 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; Not Set! & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0400, 0400, 0200 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 04B0 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 2B & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 003C,003C & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; default & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 00 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

& lt; cr_lf & gt; 20,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 52,00 & lt; cr_lf & gt; Ver 2.8.1.1.0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 16,SocketWireless AT & lt; cr_lf & gt;
& lt; cr_lf & gt; 14,00A09608F513 & lt; cr_lf & gt;
& lt; cr_lf & gt; 53,10,SocketWireless & lt; cr_lf & gt;
& lt; cr_lf & gt; 17,1,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 18,COM0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 19,00000000 & lt; cr_lf & gt;
& lt; cr_lf & gt; 20,0,0,0,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 21,0,1,0,0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 22,0027 & lt; cr_lf & gt;
& lt; cr_lf & gt; 23,NOT SET! & lt; cr_lf & gt;
& lt; cr_lf & gt; 24,0400, 0400, 0200 & lt; cr_lf & gt;
& lt; cr_lf & gt; 25,04B0 & lt; cr_lf & gt;
& lt; cr_lf & gt; 68,2B & lt; cr_lf & gt;
& lt; cr_lf & gt; 69,003C,003C & lt; cr_lf & gt;
& lt; cr_lf & gt; 71,default & lt; cr_lf & gt;
& lt; cr_lf & gt; 73,00 & lt; cr_lf & gt;
92,Not Set! & lt; cr_lf & gt;
93,04 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 45,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 47,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 48,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 49,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 49,00 & lt; cr_lf & gt;

AT
ATVER,ver1
ATSI,0
ATSI,1
ATSI,2
ATSI,3
ATSI,4
ATSI,5
ATSI,6
ATSI,7
ATSI,8
ATSI,9
ATSI,10
ATSI,11
ATSI,12
ATSI,13
ATSI,14
ATSI,15
ATSI,17
ATSI,18
ATSW20,5,0
ATSW20,10,0
ATSW20,20,0
ATSW20,39,0
ATSW20,79,0
ATSW20,157,0
ATSW20,236,0
ATSW20,472,0
ATSW20,944,0
ATSW20,1887,0
ATSW20,3775,0
ATSW21,X,X,X,X
ATSW22,2
ATSW22,3
ATSW22,4
ATSW22,5
ATSW22,6
ATSW22,7
ATSW23,3,1,0
ATSW23,6,1,0
ATSW24,0,0,0,0
ATSW24,0,0,0,1
ATSW24,0,0,1,0
ATSW24,0,0,1,1
ATSW24,0,1,0,0
ATSW24,0,1,0,1
ATSW24,0,1,1,0
ATSW24,0,1,1,1
ATSW24,1,0,0,0
ATSW24,1,0,0,1
ATSW24,1,0,1,0
ATSW24,1,0,1,1
ATSW24,1,1,0,0
ATSW24,1,1,0,1
ATSW24,1,1,1,0
ATSW24,1,1,1,1
ATSW25,0,0,0,0
ATSW25,0,0,0,1
ATSW25,0,0,1,0
ATSW25,0,0,1,1

& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 34,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

27

Chapter 5 - Response Codes
No. Command
62
62
63
64
65
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
103
104
105
106
107
108
109
110
111
112
113

ATSW25,0,1,0,0
ATSW25,0,1,0,1
ATSW25,0,1,1,0
ATSW25,0,1,1,1
ATSW25,1,0,0,0
ATSW25,1,0,0,1
ATSW25,1,0,1,0
ATSW25,1,0,1,1
ATSW25,1,1,0,0
ATSW25,1,1,0,1
ATSW25,1,1,1,0
ATSW25,1,1,1,1
ATSW25,0,2,0,0
ATSW25,0,2,0,1
ATSW25,0,2,1,0
ATSW25,0,2,1,1
ATSW25,1,2,0,0
ATSW25,1,2,0,1
ATSW25,1,2,1,0
ATSW25,1,2,1,1
ATSW25,2,2,0,0
ATSW25,2,2,0,1
ATSW25,2,2,1,0
ATSW25,2,2,1,1
ATSW25,2,0,0,0
ATSW25,2,0,0,1
ATSW25,2,0,1,0
ATSW25,2,0,1,1
ATSW25,2,1,0,0
ATSW25,2,1,0,1
ATSW25,2,1,1,0
ATSW25,2,1,1,1
ATSW26,default,1
ATSW26,default,0
ATSW27,1200
ATSW28,60,60
ATSW29,default,0
ATSW29,default,1
ATSW29,default,2
ATSP,...,default
ATOP
ATSC,00000000
ATSSN,COM0
ATSR21,2
ATSR21,3
ATSR21,4
ATSR21,5
ATSR21,6
ATSR21,7
ATDI,4,00000000

Verbalization Long Response

& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; addresses,COD,name,
DONE & lt; cr_lf & gt;
114 ATIL
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
115 ATSMA, & lt; & gt; ,1101 & lt; cr_lf & gt; OK & lt; cr_lf & gt;
116 ATMACLR
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
117 ATDM,
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; connect ,address & lt; cr_lf & gt;
118 ATDL
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; connect ,address & lt; cr_lf & gt;
119 ATLAST
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; address & lt; cr_lf & gt;
120 ATDS
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
121 ATDH
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
122 +++
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
123 ATSESC
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
124 ATMD
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
125 ATMF
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
126 ATUCL
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
127 ATURST
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
128 ATFRST
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
129 ATDSCO
& lt; cr_lf & gt; SCO CONNECT & lt; cr_lf & gt;
130 ATDHSCO
& lt; cr_lf & gt; SCO DISCONNECT & lt; cr_lf & gt;
131 ATPARK,X,X
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;
132 ATXPARK
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;

Verbalization Short Response
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 35,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 36,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 36,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 46,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 67,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 72,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 72,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 72,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 39,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 78,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 40,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 38,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 44,00 & lt; cr_lf & gt; 0 or 1 & lt; cr_lf & gt;
& lt; cr_lf & gt; 12,00 & lt; cr_lf & gt; addresses,COD,# of characters in
name,name & lt; cr_lf & gt; 12,03 & lt; cr_lf & gt;
87,00 & lt; cr_lf & gt;
// Same ATDI & lt; cr_lf & gt;
& lt; cr_lf & gt; 42,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 43,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 21,00 & lt; cr_lf & gt; & lt; cr_lf & gt; 01,address
& lt; cr_lf & gt; 77,00 & lt; cr_lf & gt; & lt; cr_lf & gt; 01,address
& lt; cr_lf & gt; 64,00 & lt; cr_lf & gt; & lt; cr_lf & gt; address
& lt; cr_lf & gt; 22,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 23,01 & lt; cr_lf & gt; & lt; cr_lf & gt; 23,03
& lt; cr_lf & gt; 32,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 65,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 31,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 33,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 51,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 50,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 75,00 & lt; cr_lf & gt; & lt; cr_lf & gt; 15,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 24,09 & lt; cr_lf & gt;
& lt; cr_lf & gt; 24,11 & lt; cr_lf & gt;
& lt; cr_lf & gt; 26,03 & lt; cr_lf & gt; & lt; cr_lf & gt; 26,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 29,03 & lt; cr_lf & gt; & lt; cr_lf & gt; 29,00 & lt; cr_lf & gt;

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

28

Chapter 5 - Response Codes
No. Command

Verbalization Long Response

Verbalization Short Response

133
134
135
136
137
138
139
140
141
142

& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt; & lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt; & lt; cr_lf & gt; address
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

& lt; cr_lf & gt; 27,03 & lt; cr_lf & gt; & lt; cr_lf & gt; 27,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 28,03 & lt; cr_lf & gt; & lt; cr_lf & gt; 28,00 & lt; cr_lf & gt;
& lt; cr_lf & gt; 70,00 & lt; cr_lf & gt; & lt; cr_lf & gt; 70,address
94,00 & lt; cr_lf & gt;
95,00 & lt; cr_lf & gt;

& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; OK & lt; cr_lf & gt;

& lt; cr_lf & gt; 79,00 & lt; cr_lf & gt;
90,00 & lt; cr_lf & gt;
91, & lt; cr_lf & gt;
88,00 & lt; cr_lf & gt;

& lt; cr_lf & gt; OK & lt; cr_lf & gt;
& lt; cr_lf & gt; CONNECT & lt; cr_lf & gt;
& lt; cr_lf & gt; NO CARRIER & lt; cr_lf & gt;
& lt; cr_lf & gt; ERROR & lt; cr_lf & gt;

,00
,01
,03
,04

ATSNIFF,x,x,x,x
ATXSNIFF
ATPAIR,address
ATSSNIFF
ATCSNIFF
ATAPAIR
ATSPF,15,+
ATSTORE
ATREAD
ATLSTO

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

29

Appendix A - AT Command Summary Table

Appendix A - AT Command Summary
Table
AT Command

Description

ATVER,ver1
ATSI,0
ATSI,1
ATSI,2
ATSI,3
ATSI,4
ATSI,5
ATSI,6
ATSI,7
ATSI,8
ATSI,9
ATSI,10
ATSI,11
ATSI,12
ATSI,13
ATSI,14
ATSI,15
ATSI,17
ATSI,18

Module Firmware Version
Module Type
Bluetooth Address ID
Friendly Name
Connection Status
Service Name
Class of Device (COD)
ATSW24 Status
ATSW25 Status
UART Settings

ATSW,20
ATSW,21
ATSW,22
ATSW,23
ATSW,24
ATSW,25
ATSW,26
ATSW,27
ATSW,28
ATSW,29
ATSC
ATSSN
ATSP
ATOP
ATSR,21
ATDI
ATIL
ATSMA
ATMACLR
ATDM
ATDL
ATLAST
ATDS
ATDH
+++
ATSESC
ATMD
ATMF

Requires Reset Stores Permanently
(Y/N)
(Y/N)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A

Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

Switch 20: UART Settings
Switch 21: Page Scan Interval & Window
Switch 22: Set PIO State
Switch 23: Set PIO Logic
Switch 24: Set Power Up Default Settings
Switch 25: Set Auto Connecting Modes
Switch 26: Lock User Definable Settings
Switch 27: Set LED Pulse Rate on PIO(5)
Switch 28: Set Inquiry Timeouts
Switch 29: Set Password Lock Code

No
Yes

Optional
Yes

No
No
No
No
Yes
No
No

Optional
Yes
Yes
Yes
Yes
Yes
Yes

Set COD (Class of Device)
Set Service Name
Set PIN
Override Password
Set Register 21
Dial Inquiry
Inquiry Last
Set Master Address
Master Address Clear
Dial Master
Dial Last
Last Connected Device Address
Dial Slave
Dial Hang-up
Default Escape Characters
Set Escape Characters
Data Mode
Fast Data Mode

No
Yes
Yes
No

Yes
Yes
Yes
Yes
??
N/A
Yes
Yes
Yes
N/A
N/A
No / Yes-Paired
N/A
N/A

Slaves Scan Interval and Window
PIO(5) Pulse Rate
Escape Character Setting
Inquiry and Masters Timeout
Maximum Transmit Power Level
Password Lock Code Status
Sniff Settings
Link Supervisory Timeout setting

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

N/A
No
Yes
No
N/A
N/A
N/A
N/A
N/A
N/A
No
N/A
N/A

Yes

30

Appendix A - AT Command Summary Table

AT Command
ATUCL
ATURST
ATFRST
ATSTORE
ATREAD
ATHCITST
ATDSCO
ATDHSCO
ATPARK
ATXPARK
ATSNIFF
ATSSNIFF
ATCSNIFF
ATXSNIFF
ATPAIR
ATUPAIR
ATAPAIR
ATSPF
ATLSTO

Description

Requires Reset Stores Permanently
(Y/N)
(Y/N)

Unit Cancel (idle mode)
Unit Reset
Factory Reset
Store in memory register
Read from memory register
RF Test mode (TBD)
Dial SCO
Dial Hang-up SCO
Park
Exit Park
Sniff
Set/Store Sniff
Clear Sniff
Exit Sniff
Pair
Un Pair
Last Paired Address
Set Power Factor
Link Supervisory Timeout

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

No
N/A
No
No
N/A
??
N/A
N/A
No
No
No
?
?
No
No
No
No
No
No

No
N/A
N/A
Yes
N/A
??

No
No
No
Yes
Yes
Yes?
N/A
Yes
Yes
Yes

31

Appendix B - Glossary, Acronyms, and Abbreviations

Appendix B - Glossary, Acronyms,
and Abbreviations
AT - Automatic Tone
ASCII - American Standard Code for Information Interchange
BT - Bluetooth
BTW - Bluetooth Windows Stack
COD - Class Of Device
COM - Communications
CR - Carriage Return
CTS - Clear To Send
DSR - Data Sent Receive
GND - Ground
LF - Line Feed
NC - Not Connected
PC - Personal Computer
PCB - Printed Circuit Board
RF - Radio Frequency
PIO - Pin Input/Output
RST - Reset
RTS - Ready To Send
RX - Receive
SCO - Synchronous Connection-Oriented: the links used by BT to send voice.
SMT - Surface Mount Technology
SPI - Serial Protocol Interface
SPICK - SPI Clock
SPICS - SPI Chip Select
TTL - Transistor Transistor Logic
TX - Transmit
UART - Universal Asynchronous Receiver/Transmitter
USB - Universal Serial Bus
UUID - Universal Unique Identifier - maintained by Bluetooth SIG.
VCC - Power
VDD - Power

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

32

Index

Index
+
+++ - command mode ..............................................18

A
address of last paired - APAIR .................................22
APAIR - address of last paired ................................22
ASCII bytes ................................................................6
AT command..............................................................7
attention command.....................................................7
auto connecting modes - SW25 ...............................12

B
baud rate..................................................................10
byte gaps ...................................................................5

C
cancel command - UCL............................................20
change class of device - SC.....................................14
change configuration parameters...............................6
change pulse rate on RING output - SW27..............13
Class 1 Power Consumption ....................................23
clear sniff mode - CSNIFF........................................21
clear stored slave address in master - MACLR ........16
clear unit command - UCL .......................................15
command mode - +++ ..............................................18
command mode or slow data mode .........................18
connect as master - DM ...........................................16
connect as slave command......................................17
CSNIFF - clears sniff mode .....................................21

D
data latency................................................................5
DH - dial hang up .....................................................17
DH - disconnect........................................................17
DI - number of devices to connect............................15
dial as slave - DS .....................................................17
dial hang up - DH .....................................................17
dials last - DL ...........................................................16
disconnect - DH........................................................17
display last connected - LAST..................................17
DL - dials last...........................................................16
DM - connect as master ...........................................16
DS - dial as slave .....................................................17

E
echo ...........................................................................7
exit park mode - XPARK ..........................................21
exit sniff mode - XSNIFF ..........................................21

F
factory default settings .............................................24
factory defaults at power-up .....................................24
factory reset - FRST.................................................20
fast data mode .........................................................18
fast data mode - MF .................................................19
FRST - factory reset ................................................20

G
get status information - SI ..........................................8
glossayr, acronyms, and abbreviations ....................32

H
HyperTerminal............................................................6

I
I/O pins.......................................................................7
IL - repeat last inquiry performed.............................15
inquire timeouts - SW28...........................................13
inquiry commands ....................................................15

L
LAST - display last connected .................................17
link supervisory timeout - LSTO ...............................23
lock user definable settings - SW26 .........................13
LSTO - link supervisory timeout ..............................23

M
MACLR - clear stored slave address in master ........16
MD - set data mode.................................................18
MF - fast data mode .................................................19

N
number of devices to connect - DI............................15

O
OP,PIN - overwrite PIN ............................................14
overwrite PIN - OP,PIN ............................................14

P
Page Scan Interval and Window - SW21 ................10
PAIR - pair to specific Bluetooth address ................22
pair to specific Bluetooth address - PAIR.................22
PARK - park mode ...................................................21
park mode - PARK ...................................................21
power consumption ..................................................23
power-up and factory defaults ..................................24

R
READ - read contents from STORE index ...............20
read an S register - SR ............................................15
read contents from STORE index - READ ...............20
repeat last inquiry performed - IL .............................15
reset - URST ............................................................20
response codes........................................................27

S

SC - change class of device.....................................14
security command/set PIN - SP ...............................14
SESC - set escape ASCII character........................18
set Bluetooth service name - SSN ...........................14
set data mode - MD..................................................18
set escape ASCII character - SESC.........................18
set max TX power level - SPF..................................22
set PIN lock code - SW29 ........................................13
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
33

Index
Set PIO State/Configure state of PIO - SW22 .........11
set SocketWireless name - SN...................................9
set specific Bluetooth Slave address & service profile
- SMA ...................................................................16
set/store sniff mode - SSNIFF ..................................21
SI - get status information .........................................8
SMA - set specific Bluetooth Slave address & service
profile....................................................................16
SN - set SocketWireless name...................................9
SNIFF - sniff mode ..................................................21
sniff mode - SNIFF ...................................................21
SP - set PIN .............................................................14
SPF - set max TX power level .................................22
SR - read an S register ............................................15
SSN - set Bluetooth service name ...........................14
SSNIFF - set/store sniff mode .................................21
STORE - store registers for users ...........................20
store parameters - SW23 .........................................11
store registers for users - STORE ............................20
SW - write to an S Register ......................................10
SW20 - UART Settings ............................................10
SW21 - Page Scan Interval and Window .................10
SW22 - Set PIO State/Configure state of PIO ..........11
SW23 - store parameters .........................................11
SW25 - auto connecting modes ...............................12
SW26 - lock user definable settings .........................13

SW27 - change pulse rate on RING output}.............13
SW28 - inquire timeouts}.........................................13
SW29- set PIN lock code} .......................................13

U
UART Settings - SW20............................................10
UCL - cancel command............................................20
UCL - clear unit command .......................................15
unpair from the stored Bluetooth address - UPAIR ..22
UPAIR - unpair from the stored Bluetooth address .22
URST - reset ............................................................20
UUID Table ..............................................................16

V
VER,ver1 - version command....................................8
version command - VER,ver1....................................8

W
write to an S Register - SW ......................................10

X
XPARK - exit park mode .........................................21
XSNIFF - exit sniff mode .........................................21

Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)

34


Pobierz plik - link do postu
  Szukaj w 5mln produktów