Anybus Wireless Bolt Manuel utilisateur

Wireless Bolt
™/ Wireless Bridge II™
AT Commands
REFERENCE GUIDE
SCM-1202-004 EN 1.7 ENGLISH

Important User Information
Liability
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®is a registered trademark of HMS Industrial Networks AB. All other trademarks mentioned in this document
are the property of their respective holders.
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7
Table of Contents Page
1 Preface ............................................................................................................................... 3
1.1 About This Document.....................................................................................................3
1.2 Document history...........................................................................................................3
2 Introduction ...................................................................................................................... 4
2.1 Data Types....................................................................................................................4
3 AT Commands.................................................................................................................. 5
3.1 Standard Commands .....................................................................................................5
3.2 Network Commands.......................................................................................................6
3.3 Bluetooth Classic Commands .......................................................................................10
3.4 WLAN Commands .......................................................................................................30
3.5 WLAN AP Commands..................................................................................................35
3.6 WLAN Client (STA) Commands ....................................................................................38
3.7 Informational Commands..............................................................................................49
3.8 Miscellaneous Commands............................................................................................50
3.9 Bluetooth Low Energy Commands ................................................................................60
3.10 Bluetooth Low Energy GATT Client Commands..............................................................69
3.11 Unsolicited events........................................................................................................78
4 S Registers...................................................................................................................... 80
4.1 ATS S Registers ..........................................................................................................80

This page intentionally left blank

Preface 3 (88)
1 Preface
1.1 About This Document
This document describes the available AT commands 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.2 Document history
Revision list
Version Date Description
1.0 2016-06-27 Beta release
1.1 2016-10-01 First public release
1.2 2017-03-31 Updated for Wireless Bridge II
1.3 2017-09-21 Update for SP2
1.4 2017-12-21 Update for FW 1.3.9
1.5 2018-02-15 Updated script examples
1.6 2018-03-08 Added unsolicited events
1.7 2018-09-03 Update for FW 1.6.3
Script examples are now available on support web
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

Introduction 4 (88)
2 Introduction
AT commands allow more configuration options than the web interface and can be scripted for
batch configuration of multiple units. A string of AT commands 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.1 Data 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
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

AT Commands 5 (88)
3 AT Commands
3.1 Standard Commands
3.1.1 AT&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.1.2 AT* List Available Commands
Returns a list of all available AT commands
AT*
Syntax:
AT*
Example:
Input: AT*<br>Output:<br>AT&F<br>AT*<br>AT<br>AT*ANDHCP?<br>AT*ANDHCP=
<br>AT*ANIP?<br>AT*ANIP=<br>AT*ANHN?<br>AT*ANHN=<br>AT*BCP=<br>...
<br>
3.1.3 AT Attention
AT
Attention command determining the presence of a DCE
Syntax:
AT
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

AT Commands 6 (88)
3.2 Network Commands
3.2.1 AT*ANDHCP DHCP Mode
Set/get the DHCP mode. If activated, this will take precedence over settings made with
AT*ANIP. For default value see AT*AMDEFAULT.
AT*ANDHCP=
Set the DHCP mode
Syntax:
AT*ANDHCP=<dhcp_client>,<dhcp_server>,<store>
Input Parameters:
Name Type Description
dhcp_client Integer 0: Off, use static IP address
1: On, acquire an IP address using DHCP
dhcp_server Integer 0: Off, Disable DHCP server
1: ON, Enable DHCP server
2: DHCP Relay, Relay DHCP messages to an external DHCP server.
store Boolean If 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?<br>*ANDHCP:<dhcp_client>,<dhcp_server>
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

AT Commands 7 (88)
3.2.2 AT*ANDHCPSTA DHCP Start Address Offset
Set/get the DHCP start address offset. Used when the internal DHCP server is enabled. For
default value see AT*AMDEFAULT.
AT*ANDHCPSTA=
Set the DHCP start address offset.
Syntax:
AT*ANDHCPSTA=<start_address_offset>,<store>
Input Parameters:
Name Type Description
start_address_
offset
Integer Start address of the DHCP IP range. The internal DHCP server IP
range will then be calculated once the DHCP server is enabled by
taking the static assigned IP-address (AT*ANIP) and modifying the
last octet to the inputted start address offset (start_address_offset).
It is impossible to assign the start address offset to values equal to 0
or above 247.
Example:
If the start address offset is set to 201, it will start at 201 and hand
out 7 addresses. If the devices static IP-address is 192.168.0.99,
then the DHCP IP-addresses shall be calculated as follows.
*192.168.0.201
*192.168.0.202
*192.168.0.203
*192.168.0.204
*192.168.0.205
*192.168.0.206
*192.168.0.207
store Boolean If store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect.
AT*ANDHCPSTA?
Read the DHCP start address offset.
Syntax:
AT*ANDHCPSTA?
Example:
INPUT: AT*ANDHCPSTA? <br>OUTPUT: *ANDHCPSTA:<start_address_offset>
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7

AT Commands 8 (88)
3.2.3 AT*ANDHCPTAB DHCP Table
Get the DHCP Table. If the DHCP server is enabled, this command will read out an array of
assigned IP-addresses, the associated Client-ID and the associated lease times (time until the
lease expires, in seconds) for the IP-address, where the first element is the first assigned
address. If the DHCP server is disabled, this command will return ERROR.
AT*ANDHCPTAB?
Read the DHCP Table
Syntax:
AT*ANDHCPTAB?
Example:
Output format: *ANDHCPTAB: <ip>,<client_id>,<lease><br><br>Input:
AT*ANDHCPTAB?<br>Output:<br>*ANDHCPTAB:
192.168.0.201,03001D002B01,600<br>*ANDHCPTAB:
192.168.0.202,030146002D00,600<br>...
3.2.4 AT*ANIP IP Settings
Set/get IP settings for the device
AT*ANIP=
Write IP address and related information. The information set by this command will not be valid
until after the module is restarted.
Syntax:
AT*ANIP=<ip_addr>,<netmask>,<gateway>,<store>
Input Parameters:
Name Type Description
ip_addr NetworkAddress IP address for the device
netmask NetworkAddress Netmask for the device
gateway NetworkAddress The IP address of the gateway
store Boolean If store is 1 the new value is stored permanently.
Requires a reboot for the changes to take effect.
AT*ANIP?
Get the IP settings
Syntax:
AT*ANIP?
Example:
AT*ANIP?<br>*ANIP:<ip_addr>,<netmask>,<gateway>
Wireless Bolt™/ Wireless Bridge II™Reference Guide SCM-1202-004 EN 1.7
Autres manuels pour Wireless Bolt
3
Ce manuel convient aux modèles suivants
1
Table des matières
Manuels Matériel réseau populaires d'autres marques

Matrix Switch Corporation
Matrix Switch Corporation MSC-HD161DEL Manuel utilisateur

B&B Electronics
B&B Electronics ZXT9-IO-222R2 Manuel utilisateur

Yudor
Yudor YDS-16 Manuel utilisateur

D-Link
D-Link ShareCenter DNS-320L Manuel utilisateur

Samsung
Samsung ES1642dc Instructions d'utilisation

Honeywell Home
Honeywell Home LTEM-PV Instructions de montage











