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
Loading...
+ 43 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.