Every care has been taken in the preparation of this document. Please inform HMS Industrial Networks AB of any
inaccuracies or omissions. The data and illustrations found in this document are not binding. We, HMS Industrial
Networks AB, reserve the right to modify our products in line with our policy of continuous product development.
The information in this document is subject to change without notice and should not be considered as a commitment by HMS Industrial Networks AB. HMS Industrial Networks AB assumes no responsibility for any errors that
may appear in this document.
There are many applications of this product. Those responsible for the use of this device must ensure that all the
necessary steps have been taken to verify that the applications meet all performance and safety requirements including any applicable laws, regulations, codes, and standards.
HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that
may arise as a result from the use of undocumented features, timing, or functional side effects found outside the
documented scope of this product. The effects caused by any direct or indirect use of such aspects of the product
are undefined, and may include e.g. compatibility issues and stability issues.
The examples and illustrations in this document are included solely for illustrative purposes. Because of the many
variables and requirements associated with any particular implementation, HMS Industrial Networks AB cannot assume responsibility for actual use based on these examples and illustrations.
Intellectual Property Rights
HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product described in this document. These intellectual property rights may include patents and pending patent applications in
the USA and other countries.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
11 S Registers......................................................................................................................57
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
This page intentionally left blank
Preface5 (60)
1Preface
1.1About This Document
This document describes the available ATcommands for Anybus Wireless Bolt/Bridge II.
The reader of this document is expected to be familiar with the product and have a good knowledge of wireless communication and network technology.
For additional related documentation, file downloads and technical support, please visit the
Anybus support website at www.anybus.com/support.
1.2Document history
Revision list
VersionDateDescription
1.02016-06-27Beta release
1.12016-10-01First public release
1.22017-03-31Updated for Wireless Bridge II
1.3Trademark Information
Anybus®is a registered trademark of HMS Industrial Networks AB. All other trademarks mentioned in this document are the property of their respective holders.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Introduction6 (60)
2Introduction
AT commands allow more configuration options than the web interface and can be scripted for
batch configuration of multiple units. A string of ATcommands can for example be sent from a
PLC for automatic configuration during initial setup or when replacing units.
Each command line can only contain a single command and must not exceed 300 characters.
Some commands may have additional limitations. This document describes the structure and
syntax of each command and also includes examples for most of them.
Some of the commands require that the unit is rebooted before they become effective. This is
indicated in the description of the command.
UPPER CASE is only used for clarity in this manual, AT commands are not case sensitive.
2.1Data Types
The description of each command also specifies the data types used for the parameter values.
There are five different data types:
String
Strings can contain all the printable characters from the ISO 8859-1 (8-bit ASCII) character set
except " (double quote) , (comma) and \ (backslash).
The string does not need surrounding quotes.
Integer
Integer values can be entered in decimal form or as a hexadecimal string beginning with 0x; e.g.
15 can also be entered as 0x0000000F.
Boolean
Boolean values can be either 0 (false) or 1 (true).
NetworkAddress
Used for IP addresses. Must be entered as four integer values in the range 0 to 255 separated
by periods, e.g. 192.168.0.98.
MACAddress
Used for Ethernet and Bluetooth MAC addresses. Addresses must be entered as six groups of
two hexadecimal digits in one of the following formats:
00A0F7101C08
00:A0:F7:10:1C:08
00–A0–F7–10–1C–08
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Introduction7 (60)
2.2Sample Scripts
The following command scripts can be copied and pasted directly into the AT Commands text
box in the web interface. The order of the commands in the scripts is important and should not
be changed. All scripts start from the factory default configuration.
See also the descriptions of the individual AT commands for more information.
These scripts are only intended as examples. The IP addresses, channels, passwords, etc. in
the scripts should be changed as required for your application.
2.2.1WLAN Access Point with 7 Clients
This example will set up one unit as a WLAN access point and up to 7 units as WLAN clients.
The access point unit has the SSID “MyNewAP” and is using channel 3 on the 2.4 GHz band.
Security mode is WPA2-PSK with the passkey “Sesame2016”.
Each device will reboot after applying the new configuration. The IP addresses will change to
192.168.0.100 for the access point, and 192.168.0.101–107 for the clients.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Introduction8 (60)
2.2.2WLAN Client Roaming Between 2 Access Points
This example will set up two units as WLAN access points, and a third unit as a WLAN client
roaming between them.
The access points use different channels in the 2.4 GHz band (channels 1 and 6) to avoid interference. They share the same SSID “MyNetwork”, and use WPA2-PSK security with the same
passkey “Sesame2016”.
Each unit will reboot after applying the new configuration. The IP addresses will change to
192.168.0.100/101 for the two access points, and 192.168.0.102 for the client.
The client unit will initially connect to the access point with the best RSSI. If the RSSI falls below
a certain value the client will poll the access points in the list that was set up with the AT*WSCLW
command. If any of them is available and has a better RSSI the current connection will be
dropped and a new connection is initiated.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Standard Commands9 (60)
3Standard Commands
3.1AT&F Restore to Factory Settings
AT&F
This command instructs the unit to set all parameters to their defaults as specified by the
manufacturer.
Syntax:
AT&F
3.2AT* List Available Commands
Returns a list of all available AT commands
AT*
Syntax:
AT*
Example:
TODO
3.3AT Attention
AT
Attention command determining the presence of a DCE
Syntax:
AT
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Network Commands10 (60)
4Network Commands
4.1AT*ANDHCP DHCP Mode
Set/get the DHCP mode. If activated, this will take precedence over settings made with
AT*ANIP
AT*ANDHCP=
Set the DHCP mode
Syntax:
AT*ANDHCP=<dhcp_client>,<dhcp_server>,<store>
Input Parameters:
Name
dhcp_clientInteger0: Off, use static IP address (default value)
1: ON, Enable DHCP server
2: DHCP Relay, Relay DHCP messages to an external DHCP
server.
BooleanIf store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect
AT*ANDHCP?
Read the current DHCP setting
Syntax:
AT*ANDHCP?
Example:
AT*ANDHCP? *ANDHCP:<dhcp_client>,<dhcp_server>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Network Commands11 (60)
4.2AT*ANIP IP Settings
Set/get IP settings for the device
AT*ANIP=
Short description for AT*ANIP=
Syntax:
AT*ANIP=<ip_addr>,<netmask>,<gateway>,<store>
Input Parameters:
Name
ip_addrNetworkAddressIP address for the device
netmaskNetworkAddressNetmask for the device
gatewayNetworkAddressThe IP address of the gateway
storeBooleanIf store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect
TypeDescription
AT*ANIP?
Get the IP settings
Syntax:
AT*ANIP?
Example:
AT*ANIP? *ANIP:<ip_addr>,<netmask>,<gateway>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Network Commands12 (60)
4.3AT*ANHN Hostname
Set/get the hostname used with dynamic DNS
AT*ANHN=
Set hostname
Syntax:
AT*ANHN=<hostname>,<store>
Input Parameters:
Name
hostnameStringThe hostname to set. Maximum of 240 characters.
storeBooleanIf store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect
TypeDescription
AT*ANHN?
Get hostname
Syntax:
AT*ANHN?
Example:
AT*ANHN? *ANHN:<hostname>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands13 (60)
5Bluetooth Classic Commands
5.1AT*BCP Connect Peer
AT*BCP=
Bluetooth Connect to Peer. The connection will not be retried if unsuccessful.
Syntax:
AT*BCP=<bd_addr>,<name>,<role>
Input Parameters:
Name
bd_addrMACAddressIf specified the MAC address of the remote Bluetooth device must
name
roleIntegerThe role of the remote device:
TypeDescription
match this value.
StringIf name is specified and S register 2017 is 1 the remote name must
match this value exactly. If S register 2017 is 0 this is a case sensitive substring of the remote name to connect to, e.g. if specified to
DUT it will try to connect to DUT, DUTx, xDUT and xDUTx, but not
to dut.
100: PAN User role, PAN Profile
101: Network Access Point role, PAN Profile,
103: PAN, This will first try to connect to PANU, and if it fails, con-
nect to NAP
All others:Reserved
Example:
Input: AT*BCP=8C8B83EE2ACB,,101 will return the handle of the connection
and OK if the connection succeeds, ERROR otherwise.
5.2AT*BCC Close Connection
AT*BCC=
Bluetooth Close Connection
Syntax:
AT*BCC=<handle>
Input Parameters:
Name
handleIntegerThe handle of the connection to close. If set to 0 and there is no
Example:
TypeDescription
connection with handle 0 any ongoing connection attempts and retries will be aborted.
Input: AT*BCC=0 gives OK when the connection with handle 0 is closed.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands14 (60)
5.3AT*BC Connect
AT*BC
Bluetooth Connect (according to the Connection List).
Syntax:
AT*BC
Example:
Input: AT*BC will return the handle of the connection and OK if the
connection succeeds, ERROR otherwise.
5.4AT*BND Name Discovery
AT*BND=
Bluetooth Name Discovery
Syntax:
AT*BND=<bd_addr>
Input Parameters:
Name
bd_addrMACAddressMAC address of the Bluetooth device to get the name of.
Example:
Input: AT*BND=8C8B83EE2ACB gives the name of the device and OK if
successful, ERROR otherwise.
TypeDescription
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands15 (60)
5.5AT*BDD Device Discovery
AT*BDD
Perform a Bluetooth Device Discovery i.e. an Inquiry followed by a named lookup for any device
that does not report a name in the inquiry response.
Syntax:
AT*BDD
Example:
Input: AT*BDD returns *BDD:<bd_addr>,<cod>,<device_name_
valid>,<bluetooth_name>,<rssi> for each found device followed by OK or
ERROR.
5.6AT*BI Inquiry
AT*BI
Perform a Bluetooth inquiry.
Syntax:
AT*BI
Example:
Input: AT*BI returns *BI:<bd_addr>,<cod>,<device_name_
valid>,<bluetooth_name>,<rssi> for each found device followed by OK or
ERROR.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands16 (60)
5.7AT*BSP Server Profile
AT*BSP=
Sets the Bluetooth server profile. A reboot is needed for the setting to take effect. Please note
that following values will be affected depending on what role is selected: NAP: AT*BMSP Master Slave policy will be set to 0, ATS2010 max number of connections will be set to 7, AT*BCM
Connectability mode will be set to 2 PANU: AT*BMSP Master Slave policy will be set to 1,
ATS2010 max number of connections will be set to 1, AT*BCM Connectability mode will be set
to 1 IMPORTANT: As the device is connectable after NAP has been set an appropriate Security
Mode should be configured.
Syntax:
AT*BSP=<role>
Input Parameters:
Name
roleIntegerThe role of the device:
TypeDescription
100: PAN User role, PAN Profile
101: Network Access Point role, PAN Profile.
Requires a reboot for the changes to take effect
Example:
Input: AT*BSP=101 sets the device to the Network Access Point role.
AT*BSP?
Gets the Bluetooth server profile.
Syntax:
AT*BSP?
Example:
Input: AT*BSP? returns the server profile. See AT*BSP= for values.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands17 (60)
5.8AT*BFP Fixed PIN
AT*BFP=
Set the fixed pin/passkey used for BT authentication
Syntax:
AT*BFP=<pin>,<store>
Input Parameters:
Name
pinStringThe pin/passkey to set. A numerical value 0..999999.
storeBooleanIf store is 1 the new value is stored permanently.
AT*BFP?
Get the fixed pin/passkey used for BT authentication.
TypeDescription
Syntax:
AT*BFP?
5.9AT*BPM Pairing Mode
AT*BPM=
Set the pairing mode for BT
Syntax:
AT*BPM=<mode>,<store>
Input Parameters:
Name
modeIntegerThe mode to set. Pairing off = 1, Pairing on = 2.
storeBooleanIf store is 1 the new value is stored permanently.
AT*BPM?
TypeDescription
Get the pairing mode for BT. Pairing off = 1, Pairing on = 2.
Syntax:
AT*BPM?
Example:
Input: AT*BPM?
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands18 (60)
5.10AT*BSM Security Mode
AT*BSM=
Set the security mode to use for BT.
Syntax:
AT*BSM=<pin>,<store>
Input Parameters:
Name
pinIntegerThe security mode to set.
storeBooleanIf store is 1 the new value is stored permanently.
TypeDescription
1 = Security disabled
2 = Fixed pin (Only works if remote device is of the same type. Use
Just works for general BT 2.1 devices.)
3 = Just works (default)
AT*BSM?
Get the security mode used for BT. See AT*BSM= for values.
Syntax:
AT*BSM?
Example:
Input: AT*BSM?
5.11AT*BBD Bonded Devices
AT*BBD?
Get the bonded devices.
Syntax:
AT*BBD?
Example:
Input: AT*BBD?
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands19 (60)
5.12AT*BUB Unbond
AT*BUB=
Un-bonds a previously bonded device.
Syntax:
AT*BUB=<bd_addr>
Input Parameters:
Name
bd_addrMACAddressMAC address of the Bluetooth device to un-bond. If address
Example:
Input: AT*BUB=8C8B83EE2ACB
TypeDescription
FFFFFFFFFFFF is selected, all bonded devices will be removed.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands20 (60)
5.13AT*BLEM Low Emission Mode
AT*BLEM=
Set current Low Emission Mode.
Syntax:
AT*BLEM=<mode>,<store>
Input Parameters:
Name
modeIntegerThe Low Emission mode to set:
storeBooleanIf store is 1 the new value is stored permanently.
TypeDescription
0: (Default) Connection period: 10 000 ms Paging timeout: 2000
ms Inquiry timeout: 5000ms
1: Connection period: 5000ms Paging timeout: 300 ms Inquiry
timeout: 600 ms
2: Connection period: 3000ms Paging timeout: 200 ms Inquiry
timeout: 300 ms
3: Connection period: 3000ms Paging timeout: 80 ms Inquiry timeout: 80 ms
4 - 63: Reserved 64: User specified times, see the ATS General
Settings S Register Manipulation command
AT*BLEM?
Get the current Low Emission Mode. See AT*BLEM= for values.
Syntax:
AT*BLEM?
Example:
Input: AT*BLEM?
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands21 (60)
5.14AT*BDM GAP Discoverability Mode
AT*BDM=
Set current GAP discoverability mode.
Syntax:
AT*BDM=<mode>,<store>
Input Parameters:
Name
modeIntegerThe GAP discoverability mode to set:
storeBooleanIf store is 1 the new value is stored permanently.
AT*BDM?
TypeDescription
1: GAP non-discoverable mode (default value for PANU mode)
2: GAP limited discoverable mode
3: GAP general discoverable mode (default value for NAP mode)
Get the current GAP discoverability mode. See AT*BDM= for values.
Syntax:
AT*BDM?
Example:
AT*BDM? *BDM:<mode>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands22 (60)
5.15AT*BCM GAP Connectability Mode
AT*BCM=
Set current GAP connectability mode.
Syntax:
AT*BCM=<mode>,<store>
Input Parameters:
Name
modeIntegerThe GAP connectability mode to set:
storeBooleanIf store is 1 the new value is stored permanently.
AT*BCM?
TypeDescription
1: GAP non-connectable mode (default value)
2: GAP connectable mode
Get the current GAP connectability mode. See AT*BCM= for values.
Syntax:
AT*BCM?
Example:
AT*BCM? *BCM:<mode>
5.16AT*BCA Connection Accept
Used when external connection control is enabled (see ATS2012)
AT*BCA=
Accept or reject a connection attempt. This must be sent to answer the *BCI Connect Indication.
Syntax:
AT*BCA=<handle>,<accept>
Input Parameters:
Name
handleIntegerThe handle of the connection, received in the *BCI Connect
accept
TypeDescription
Indication.
BooleanSet to 1 to accept the connection, 0 to reject it.
Anybus
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands23 (60)
5.17AT*BLN Local Name
AT*BLN=
Set the unit's Bluetooth name. A reboot is needed for the setting to take effect.
Syntax:
AT*BLN=<name>
Input Parameters:
Name
name
AT*BLN?
Get the unit's Bluetooth name.
TypeDescription
StringThe Bluetooth name to use. The maximum length is 31 characters.
Syntax:
AT*BLN?
Example:
AT*BLN? *BLN:<name>
5.18AT*BRSS Read RSSI
AT*BRSS=
Get the RSSI for a connection.
Syntax:
AT*BRSS=<handle>
Input Parameters:
Name
handleIntegerThe handle of the connection to get the RSSI for.
TypeDescription
Example:
AT*BRSS=<handle> *BRSS:<rssi>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands24 (60)
5.19AT*BLQ Read Link Quality
AT*BLQ=
Get the link quality for a connection.
Syntax:
AT*BLQ=<handle>
Input Parameters:
Name
handleIntegerThe handle of the connection to get the link quality for.
Example:
AT*BLQ=<handle> *BLQ:<link_quality>
TypeDescription
5.20AT*BLP Limited Pairing
AT*BLP=
Enables or disables limited pairing, only valid for current power cycle. If the device should be
pairable after power cycle, see S register 2007.
Syntax:
AT*BLP=<enable>,<time_limit>
Input Parameters:
Name
enableBoolean0: Disable pairing
time_limitIntegerThe time (in seconds) the unit will be pairable. Valid time is 0 to 300
TypeDescription
1: Enable. Pairing will be limited.
seconds. Values less than 0 will be treated as 0.
Anybus
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands25 (60)
5.21AT*BCHM Channel Map
AT*BCHM=
Write the Bluetooth channel map. Note that at least 20 channels must be enabled.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands26 (60)
5.22AT*BPP Packet policy
AT*BPP=
Set the Bluetooth packet policy. This policy is used for subsequent connections. Any ongoing
connections are not affected.
Syntax:
AT*BPP=<policy>,<store>
Input Parameters:
Name
policyInteger0: Long Range (only DM1 packets).
storeBooleanIf store is 1 the new value is stored permanently.
TypeDescription
1: Short Latency, basic rates (all DM packets).
2: High Throughput, basic rates (DM + DH packets).
3: As 2 but with 2-EDR enabled. Default.
4:As 3 but with 3-EDR enabled
AT*BPP?
Get the Bluetooth packet policy.
Syntax:
AT*BPP?
Example:
AT*BPP? *BPP:<policy>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands27 (60)
5.23AT*BMSP Master Slave policy
AT*BMSP=
Set the Bluetooth Master Slave Role Policy.
Syntax:
AT*BMSP=<policy>,<store>
Input Parameters:
Name
policyInteger0: Always attempt to become master on incoming connections.
storeBooleanIf store is 1 the new value is stored permanently.
AT*BMSP?
TypeDescription
Should be used for a unit configured as NAP.
1: Always let the connecting device select master/slave role on in-
coming connections (default).
Get the Bluetooth Master Slave Role Policy.
Syntax:
AT*BMSP?
Example:
AT*BMSP? *BMSP:<policy>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands28 (60)
5.24AT*BLCOD Local class of device.
AT*BLCOD=
Set the Bluetooth Local Class Of Device code.
Syntax:
AT*BLCOD=<cod>,<store>
Input Parameters:
Name
codIntegerValid values for this parameter are specified in the Bluetooth As-
store
TypeDescription
signed Numbers Document, www.bluetooth.com. The parameter
has been divided into three segments, a service class segment, a
major device class segment and a minor device class segment (bits
2-7).
The default value is 131072 (Bit 17, Networking).
BooleanIf store is 1 the new value is stored permanently.
AT*BLCOD?
Get the Bluetooth Local Class Of Device code.
Syntax:
AT*BLCOD?
Example:
AT*BLCOD? *BLCOD:<cod>
5.25AT*BRCD Read Connected Devices.
AT*BRCD?
Retrieves the MAC address and handle of every connected Bluetooth device.
Syntax:
AT*BRCD?
Example:
AT*BRCD? returns *BRCD:<bd_addr>,<handle> for each connected device
followed by OK or ERROR.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands29 (60)
5.26AT*BCLC Clear the Connection list
AT*BCLC=
Clears all the entries in the Connection list.
Syntax:
AT*BCLC=<store>
Input Parameters:
Name
storeBooleanIf store is 1 the new value is stored permanently.
Example:
AT*BCLC=1
TypeDescription
5.27AT*BCLR Read the Connection list
AT*BCLR=
Reads an entry in the Connection list.
Syntax:
AT*BCLR=<index>
Input Parameters:
Name
indexIntegerThe index of the entry to read.
Example:
AT*BCLR=2 *BCLR:<2>,<bd_addr>,<name>,<role>
AT*BCLR?
Reads the list of Connections that the unit can use.
TypeDescription
Syntax:
AT*BCLR?
Example:
AT*BCLR? returns *BCLR:<index>,<bd_addr>,<name>,<role> for each entry in
the list followed by OK.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Bluetooth Classic Commands30 (60)
5.28AT*BCLW Write an entry in the Connection list
AT*BCLW=
Writes an entry in the Connection list. NOTE: If store is set to 1 all entries in the connection list
will be stored.
Syntax:
AT*BCLW=<index>,<bd_addr>,<name>,<role>,<store>
Input Parameters:
Name
indexIntegerThe index of the entry to write.
bd_addrMACAddressIf specified the MAC address of the remote Bluetooth device must
name
roleIntegerThe role of the remote device:
storeBooleanIf store is 1 the new value is stored permanently.
TypeDescription
match this value.
StringIf name is specified and S register 2017 is 1 the remote name must
match this value exactly. If S register 2017 is 0 this is a case sensitive substring of the remote name to connect to, e.g. if specified to
DUT it will try to connect to DUT, DUTx, xDUT and xDUTx, but not
to dut.
100: PAN User role, PAN Profile
101: Network Access Point role, PAN Profile
103: PAN, This will first try to connect to PANU, and if it fails, connect to NAP, All others:Reserved
Example:
AT*BCLW=0,00026F668FA8,dut1,101,1 OK
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN General Commands31 (60)
6WLAN General Commands
6.1AT*WMODE WLAN Mode
AT*WMODE=
Set WLAN mode, Station or AP.
Syntax:
AT*WMODE=<mode>
Input Parameters:
Name
modeIntegerThe mode to set, Station (0) or AP (1).
Requires a reboot for the changes to take effect
TypeDescription
Example:
Input: AT*WMODE=1 sets WLAN mode to AP.
AT*WMODE?
Get WLAN mode, Station (0) or AP (1)
Syntax:
AT*WMODE?
Example:
AT*WMODE? *WMODE:<mode>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN General Commands32 (60)
6.2AT*WKEY Encryption/Authentication Key
AT*WKEY=
Write encryption/authentication key at index 1. This command is a shortcut for AT*WKEYI=1,
Syntax:
AT*WKEY=<key>,<store>
Input Parameters:
Name
keyStringThe key to use. Max 63 characters.
storeBooleanIf store is 1 the new value is stored permanently.
Example:
Input: AT*WKEY=Sesame,1
TypeDescription
AT*WKEY?
ToDo: Should it be possible to read under all circumstances?
Syntax:
AT*WKEY?
Example:
Input: AT*WKEY? returns the encryption/authentication key at index 1.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN Client Commands37 (60)
8WLAN Client Commands
8.1AT*WSMAC WLAN MAC address
Can be used to clone a MAC address from an Ethernet device. This will allow layer 2 data to be
bridged by one device. Can be combined with IP forwarding.
AT*WSMAC=
Set the WLAN MAC address. If set to all 0 or all FF the unit's default address will be used.
Syntax:
AT*WSMAC=<mac>
Input Parameters:
Name
mac
Requires a reboot for the changes to take effect
TypeDescription
MACAddressThe MAC address to set.
AT*WSMAC?
Get the MAC address.
Syntax:
AT*WSMAC?
Example:
AT*WSMAC? *WSMAC:<mac>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN Client Commands38 (60)
8.2AT*WSBM WLAN Bridge Mode
AT*WSBM=
Set the WLAN Bridge Mode.
In layer 2 tunnel mode all layer 2 data will be bridged over WLAN. Please note that this option
uses a custom protocol and can only be used when the AP is another device of the same type.
Layer 2 cloned MAC only mode is used in combination with AT*WSMAC. In this mode only data
from the cloned MAC will be bridged over WLAN. When using MAC clone two devices will use
the same MAC - hence there is no way for a DHCP server to distinguish them from one another
and both devices will receive the same IP address.
In layer 3 IP forward mode IP data from all data will be bridged over WLAN. Please note that this
mode can be combined with AT*WSMAC to enable layer 2 data for one device.
Syntax:
AT*WSBM=<mode>
Input Parameters:
Name
modeIntegerThe Bridge Mode to set.
TypeDescription
0: Layer 2 tunnel
1: Layer 2 cloned MAC only
2: Layer 3 IP forward (default)
Requires a reboot for the changes to take effect
AT*WSBM?
Get the Bridge Mode.
Syntax:
AT*WSBM?
Example:
AT*WSBM? *WSBM:<mode>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN Client Commands39 (60)
8.3AT*WSC Connect
AT*WSC
Connect to Access Points as specified in the Connection List.
Syntax:
AT*WSC
Example:
Input: AT*WSC returns OK if the connection succeeds, ERROR otherwise.
8.4AT*WSCC Close Connection
AT*WSCC
Close WLAN connection in Station mode. If there is no connection but a connect as specified
by the Connection List is in progress this is terminated.
Syntax:
AT*WSCC
Example:
Input: AT*WSCC, returns OK when the connection is closed.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN Client Commands40 (60)
8.5AT*WSCP Connect Peer
AT*WSCP=
Connect to a WLAN AP.
Syntax:
AT*WSCP=<bssid>,<ssid>,<channel>
Input Parameters:
Name
bssidMACAddressIf specified the AP BSSID must match this value, if left blank the
ssidStringThe SSID of the AP to connect to. If not specified the AP BSSID
channelIntegerThe channel to use. 0 for any channel in the channel map.
Example:
TypeDescription
BSSID is ignored.
must be specified for a connection to be possible.
Input: AT*WSCP=8C8B83EE2ACB,dut,0 will return OK if the connection
succeeds, ERROR otherwise.
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
WLAN Client Commands41 (60)
8.6AT*WSSCAN Scan
AT*WSSCAN=
Scan the surroundings for access points with a specific Network Name (SSID) on a specified
channel.
Syntax:
AT*WSSCAN=<pssid>,<channel>
Input Parameters:
Name
pssidStringThe SSID to scan for. Max 32 characters.
channelIntegerThe channel to scan for
Example:
Input: AT*WSSCAN=dutAP,1 will return 0...48 access points in the immediate
surroundings, then return OK.
TypeDescription
AT*WSSCAN?
Scan the surroundings for access points. Will return 0...48 access points in the immediate surroundings, then return OK.
dataStringA custom string to store. Max length is 32 characters.
store
TypeDescription
BooleanIf store is 1 the new value is stored permanently.
Example:
Input: AT*AMGD=1,1,1,1 gives OK when...
AT*AMGD?
Read general data
Syntax:
AT*AMGD?
Example:
AT*AMGD? *AMGD:<data>
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
Miscellaneous Commands55 (60)
10.11AT*AMTL TCP Listener
Configures the ATover TCP server
AT*AMTL=
Set TCP listener settings
Syntax:
AT*AMTL=<port>,<enable>,<store>
Input Parameters:
Name
portIntegerTCP port to listen for incoming connections
enableBoolean0: Disables TCP Listener
store
Requires a reboot for the changes to take effect
TypeDescription
1: Enables TCP Listener
BooleanIf store is 1 the new value is stored permanently.
AT*AMTL?
Get TCP listener settings
Syntax:
AT*AMTL?
Example:
AT*AMTL? *AMTL:<port>,<enabled>
10.12AT*AMBD Bridging Disable
AT*AMBD=
Set bridging enable/disable
Syntax:
AT*AMBD=<disable>,<store>
Anybus
Input Parameters:
Name
disableBoolean0: Bridging Enabled
storeBooleanIf store is 1 the new value is stored permanently.
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
TypeDescription
1: Bridging Disabled
Miscellaneous Commands56 (60)
10.13AT*AMLCR Layer 2 Configuration Receiver
Configure AT over layer 2 (Ethernet)
AT*AMLCR=
Set AT over layer 2 configuration
Syntax:
AT*AMLCR=<eth_type>,<enable>,<store>
Input Parameters:
Name
eth_typeInteger16 bit Ethernet type that should be used for AT commands
enableBoolean0: Disable ATover Ethernet
storeBooleanIf store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect
TypeDescription
1: Enable AT over Ethernet
AT*AMLCR?
Get AT over layer 2 configuration
Syntax:
AT*AMLCR?
Example:
AT*AMLCR? *AMLCR:<eth_type>,<enabled>
10.14AT*AMREBOOT Reboot
AT*AMREBOOT
Reboot device
Syntax:
AT*AMREBOOT
Anybus®Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
S Registers57 (60)
11S Registers
Miscellaneous Registers
Register
1000Reserved
1001Reserved
1002Reserved
1003Reserved
1004Reserved
1005Reserved
1006Reserved
1007Easy Config
1008Reserved
1009Reserved
1010Reserved
1011Reserved
1012Reserved
1013Diagnose
Name
LED Mode
Mode
Value Range
0..33Bit mask representing Easy Config LED Mode
0..42949672960x00010001Set diagnose mode bitmask. The following events
Default Value
Description
when smart mode is finished
Value 0: Link quality LEDs are off
Value 1: WLAN RSSI
Value 2: BT Link Quality
Value 3: Auto (default) show WLAN if active other-
wise show BT if active
will be sent when the bit is set:
Bit 0:
*WSCO - Connection to AP up
*WSCC - Connection to AP down
*WASA - Station has connected
*WASR - Station has disconnected
*WSDST - Digital signal transition (only applicable
if SETTINGS_ROS_WL_ROAMING_LIST_TRIGGER_INPUT is 1)
*WSRSSC - RSSI value falls below or rises above
the value in SETTINGS_ROS_WL_TRIGGER_
SCAN_RSSI
Bit 1:
*WSRSS - RSSI periodically sent while connected,
with interval set by SETTINGS_WTS_RSSI_
POLL_INTERVAL
*WSCH - Used WLAN channel, sent upon connection setup
Bit 2:
*WSSCAN - Background scan result, regardless of
the current roaming operation. Note: Will not work
while a connection is in progress, use AT*WSCC
to cancel.
Bit 3:
*WSSCAN - Background scan result for possible
handover candidates.
*WSRHC - Roaming handover candidate
*WSRH - Roaming handover
Bit 16:
*BCI - Connection indication (incoming
connection)
*BCO - Connection opened
*BCC - Connection closed
*BDST - Digital signal transition (only applicable if
SETTINGS_ROS_BT_ROAMING_LIST_TRIG-
GER_INPUT is 1)
*BLQC - Link Quality value falls below or rises
above the value in SETTINGS_ROS_BT_TRIGGER_SCAN_LINK_QUALITY
Bit 17:
*BLQ - Link Quality periodically sent while connected, with interval 5000ms
Anybus
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
S Registers58 (60)
Miscellaneous Registers (continued)
Register
Name
Value Range
Default Value
Description
Bit 18:
*BI - Background scan result, regardless of the cur-
rent roaming operation.
Bit 19:
*BI - When background scan is active results for
the currently connected device and possible handover candidates are sent.
*BRSS - When background scan is active an
aproximate RSSI value for the current connection
is sent periodically.
*BRHC - Roaming handover candidate
*BRH - Roaming handover
1014Easy Config
Mode
0..42949672965000Maximum time to wait for first push on SMART button in milliseconds
Timeout
1015Radio Mode0..33Configures which radios should be enabled
0: All radio off
1: Enable only Bluetooth
2: Enable only WLAN
3: Enable Bluetooth and WLAN
Bluetooth Registers
Register
Name
2000Reserved
2001Reserved
2002Reserved
2003Reserved
2004Reserved
2005Reserved
2006Reserved
2007Reserved
2008Reserved
2009Reserved
2010Max Number
of
Connections
2011Reserved
2012External
Connection
Control
2013Reserved
2014Reserved
2015Reserved
2016Reserved
2017Reserved
2018Background
Scanning
Interval
Value Range
Default Value
Description
0..71
0..10
0..42949672965000Time between background scans in milliseconds
Anybus
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2
S Registers59 (60)
WLAN Registers
Register
Name
3000Reserved
3001Reserved
3002Reserved
3003Reserved
3004Reserved
3005Background
Scanning
Interval
3006Reconnect
Interval
3007RSSI poll
interval
3008Reserved
Value Range
Default Value
Description
0..42949672965000Time between background scans in milliseconds
0..42949672965000The interval in milliseconds
0..655351000RSSI poll interval in milliseconds
Roaming WLAN Registers
Register
Name
4000Roaming list
trigger RSSI
4001Roaming list
trigger input
4002Roaming
RSSI diff
threshold
4003Trigger Scan
RSSI
Value Range
Default Value
Description
0..110: Do not trig on RSSI
1: Trig on RSSI (default)
0..110: Do not trig on digital input
1: Trig on digital input (default)
0..12710When the difference between the connected AP
RSSI and the RSSI from the best AP from background scan exceeds this threshold a roaming
handover is done.
-128..127-70Defines at what RSSI level a background scan
should be initiated to find a better connection.
PROFINET Registers
Register
5100Reserved
5101Profinet
5102Prioritized
5103Reserved
5104Reserved
Name
Prioritization
Ethernet
Type
Value Range
Default Value
Description
0..10If this is set to 1 packets with Ethernet type matching the Prioritized Ethernet Type
0..655350x8892The 16-bit Ethernet type to prioritize
Anybus
®
Wireless Bolt/Bridge II AT Commands Reference GuideSCM-1202-004 1.2