WAGO-I/O-SYSTEM 750
Reference AT Commands
47
750-921
Bluetooth
®
Adapter
Manual
Version 2.0.1, applicable from FW Version 02
8
Reference AT Commands
The following AT commands can be entered via a command interface and used to
configure the WSA.
Some AT commands contain information in angle brackets, e.g.
<hex>
or
<Name>
that have to be replaced by the respective parameters.
This command is concluded with the character for “carriage return”. This character is
0x0d, or decimal 13 from the ASCII code. This character is automatically sent, for
example, when using the HyperTerminal software by pressing Enter.
8.1
AT
The command
AT
is used for checking the link to the WSA. If the connection is
successful, the WSA returns the
00 SUCCESS
message.
8.2
Group “AT BTID”: Identifiers
Commands starting with “AT BTID” involve identifiers of the WSA, e.g. the
device name, the
Bluetooth
®
MAC ID and the CoD, which can be read by other
devices.
8.2.1
AT BTID ?
The
AT BTID ?
command queries the
Bluetooth
®
MAC ID and device name.
8.2.2
AT BTID ADR ?
The
AT BTID ADR ?
command queries the
Bluetooth
®
MAC ID of the WSA.
In the command output,
BDADR
is used for the MAC ID if necessary.
8.2.3
AT BTID COD
This command queries (
AT BTID COD ?
) or modifies
(
AT BTID COD = <hex>
) the CoD of the WSA as a hexadecimal value.
The CoD is a 32-bit field specifying the capabilities and functionality of a
Bluetooth
®
device and is sent with the packet “Frequency Hop Synchronization”
(FHS) during device discovery.
The CoD allows rapid classification of remote devices in various device
categories such as Network, Audio or Telephony.
In the current version of
Bluetooth
®
standards, the 32-bit field of the CoD contains
24 relevant bit positions. From these 24 bits, again 6 bits (the “Minor Device
Class”) are settable with the AT command
AT BTID COD
.
Example:
AT BTID COD = 1f04