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
are the property of their respective holders.
is a registered trademark of HMS Industrial Networks AB. All other trademarks mentioned in 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.2Document history
Revision list
Version
1.02016-06-27
1.12016-10-01
1.22017-03-31
1.32017-09-21
1.42017-12-21
1.52018-02-15
1.62018-03-08
1.72018-09-03
Date
Description
Beta release
First public release
Updated for Wireless Bridge II
Update for SP2
Update for FW 1.3.9
Updated script examples
Added unsolicited events
Update for FW 1.6.3
Script examples are now available on support web
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
Introduction4 (84)
2Introduction
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.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:
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
start_address_offset
store
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
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
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.
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
role
TypeDescription
match this value.
String
Integer
If 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.
The role of the remote device:
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:
Input: AT*BCP=8C8B83EE2ACB,,101 will return the handle of the
connection and OK if the connection succeeds, ERROR otherwise.
3.3.2AT*BCC Close Connection
AT*BCC=
Bluetooth Close Connection
Syntax:
AT*BCC=<handle>
Input Parameters:
Name
handle
Example:
Input: AT*BCC=0 gives OK when the connection with handle 0 is closed.
TypeDescription
Integer
The handle of the connection to close. If set to 0 and there is no
connection with handle 0 any ongoing connection attempts and retries
will be aborted.
Input: AT*BI returns *BI:<bd_addr>,<cod>,<device_name_
valid>,<bluetooth_name>,<rssi> for each found device followed by OK or
ERROR.
3.3.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=<server_profile>
Input Parameters:
Name
server_profile
Requires a reboot for the changes to take effect.
TypeDescription
Integer
The role of the device:
100: PAN User role, PAN Profile
101: Network Access Point role, PAN Profile.
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.
Set the security mode to use for BT. For default value see AT*AMDEFAULT.
Syntax:
AT*BSM=<security_mode>,<store>
Input Parameters:
Name
security_mode
store
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
The security mode to set.
1 = Security disabled, No encryption or authentication.
2 = Fixed pin, Encrypted connection with PIN code security. This mode
only works between two units of this type and brand (Not with third-
party devices, Use Just works in that case). PIN codes must consist of 4
to 6 digits.
3 = Just works, Encrypted connection without PIN code.
Note: For Bluetooth LE only 1 = Security Disabled and 3 = Just Works is
supported.
AT*BSM?
Get the security mode used for BT. See AT*BSM= for values.
Set the bridge mode for BT. For default value see AT*AMDEFAULT.
Syntax:
AT*BBM=<mode>,<store>
Input Parameters:
Name
mode
store
AT*BBM?
Get the bridge mode used for BT. See AT*BBM= for values.
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
The bridge mode to set.
1 = Bridge mode disabled.
2 = IP forward. (Needed if Bluetooth connection to an android device.
You also need an active DCHP server to be able to connect to an
android device.)
Syntax:
AT*BBM?
Example:
Input: AT*BBM?
3.3.12AT*BBD Bonded Devices
AT*BBD?
Get the bonded devices. Note: This also applies to Bluetooth LE.
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.
Note: Deleting seperate BLE devices is not supported, to delete BLE
device bonds FFFFFFFFFFFF have to be used.
3.3.14AT*BLEM Low Emission Mode
Note: this command is not related to Bluetooth low energy.
AT*BLEM=
Set current Low Emission Mode. For default value see AT*AMDEFAULT.
Syntax:
AT*BLEM=<mode>,<store>
Input Parameters:
Name
mode
store
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
The Low Emission mode to set:
0: 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.
Get the link quality for a connection. Link Quality is a value between 0 and 255 and it only
applies to Bluetooth connections.
Syntax:
AT*BLQ=<handle>
Input Parameters:
Name
handle
TypeDescription
Integer
The handle of the connection to get the link quality for.
Example:
AT*BLQ=<handle><br>*BLQ:<link_quality>
3.3.21AT*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. Note: This also applies to Bluetooth LE.
Syntax:
AT*BLP=<enable>,<time_limit>
Input Parameters:
Name
enableBoolean0: Disable pairing
time_limit
TypeDescription
1: Enable. Pairing will be limited.
Integer
The time (in seconds) the unit will be pairable. Valid time is 0 to 300
seconds. Values less than 0 will be treated as 0.
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
AT Commands21 (84)
3.3.22AT*BCHM Channel Map
AT*BCHM=
Write the Bluetooth channel map. Note that at least 20 channels must be enabled. For default
value see AT*AMDEFAULT.
Set the Bluetooth packet policy. This policy is used for subsequent connections. Any ongoing
connections are not affected. For default value see AT*AMDEFAULT.
Syntax:
AT*BPP=<policy>,<store>
Input Parameters:
Name
policy
store
AT*BPP?
Get the Bluetooth packet policy.
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
0: Long Range (only DM1 packets).
1: Short Latency, basic rates (all DM packets).
2: High Throughput, basic rates (DM + DH packets).
3: As 2 but with 2-EDR enabled.
4:As 3 but with 3-EDR enabled
Set the Bluetooth Local Class Of Device code. For default value see AT*AMDEFAULT.
Syntax:
AT*BLCOD=<cod>,<store>
Input Parameters:
Name
cod
store
AT*BLCOD?
Get the Bluetooth Local Class Of Device code.
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
Valid values for this parameter are specified in the Bluetooth Assigned
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).
Syntax:
AT*BLCOD?
Example:
AT*BLCOD?<br>*BLCOD:<cod>
3.3.26AT*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.
3.3.29AT*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
index
bd_addrMACAddressIf specified the MAC address of the remote Bluetooth device must
name
role
store
TypeDescription
Integer
String
Integer
BooleanIf store is 1 the new value is stored permanently.
The index of the entry to write.
match this value.
If 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.
The role of the remote device:
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
Configures which antennas should be enabled 1: Enable only primary antenna 2: Enable both
antennas NOTE: This value is ignored on devices with only one antenna.
When WLAN World Mode is enabled only frequencies accepted all over the world is used. When
disabled local frequencies can be used but then the device must search for location during
startup which will increase the startup time. New channels must be added manually with
AT*WSCHL.
AT*WWM=
Configures WLAN World Mode 0: Disable WLAN World Mode 1: Enable WLAN World Mode
NOTE: When WLAN World Mode is disabled the startup time will increase.
Syntax:
AT*WWM=<wlan_world_mode>
Input Parameters:
Name
wlan_world_mode
Requires a reboot for the changes to take effect.
TypeDescription
Integer
Enable/disable WLAN World Mode.
Example:
Input: AT*WWM=0 disable WLAN World Mode.
AT*WWM?
Get WLAN World Mode, World Mode off (0) or World Mode on (1)
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.
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 and the
remote device are 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. For default value see
AT*AMDEFAULT.
Syntax:
AT*WSBM=<mode>
Input Parameters:
Name
mode
TypeDescription
Integer
The Bridge Mode to set.
0: Layer 2 tunnel
1: Layer 2 cloned MAC only
2: Layer 3 IP forward
Requires a reboot for the changes to take effect.
AT*WSBM?
Get the Bridge Mode.
Syntax:
AT*WSBM?
Example:
AT*WSBM?<br>*WSBM:<mode>
3.6.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.
BooleanIf store is 1 the new value is stored permanently.
A comma separated string of channels to use.
Valid channels are 1-11 for 2.4 GHz and 36, 40, 44, 48, 52, 56, 60, 64,
100, 104, 108, 112, 116, 132, 136, 140 for 5 GHz.
If world mode is disabled and configured as WLAN client also channels
12, 13, 120, 124, 128 are possible.
BooleanIf store is 1 the new value is stored permanently.
MAC address of event subscriber. Only used when protocol bit 1 is set
The 16 bit Ethernet type to use. Only used when protocol bit 1 is set
IP address of event subscriber. Only used when protocol bit 2 is set
The UDP port to use. Only used when protocol bit 2 is set
The protocol to use for sending events.
Bit 0: Send events over TCP AT connections
Bit 1: Send events over Layer-2 (mac_address must be specified)
Bit 2: Send events over Syslog
3.8.7AT*AMECFL Read/Write Easy Configuration Modes Function List
Reads/Writes the list of supported Easy Configuration Modes
AT*AMECFL=
Sets the list of supported Easy Configuration Modes. For default value see AT*AMDEFAULT.
Syntax:
AT*AMECFL=<easy_config_modes>,<store>
Input Parameters:
Name
easy_config_modes
store
Example:
AT*AMECFL=1,2,3,4,5,6,1<br>OK
TypeDescription
String
BooleanIf store is 1 the new value is stored permanently.
Comma-separated string of up to 15 modes and their order to be
supported. Valid modes are 1 to 15. Using mode=0 (INVALID MODE)
will terminate the list at the given position.
AT*AMECFL?
Get the list of supported Easy Configuration Modes.
Syntax:
AT*AMECFL?
Example:
Input: AT*AMECFL?
3.8.8AT*AMTFTP TFTP Upgrade
AT*AMTFTP=
Trigger a firmware update via TFTP. Device will automatically be rebooted into bootloader mode.
Syntax:
AT*AMTFTP=<device_ip>,<server_ip>,<filename>
Input Parameters:
Name
device_ipNetworkAddressThe IP that the device shall use during the upgrade procedure
Enable PROFIsafe Mode, in PROFIsafe mode it's only possible to read configuration. To write
configuration again, it's necessary to reset to factory defaults with the physical button.
AT*AMPSM=
Enable/Disable PROFIsafe mode.
Syntax:
AT*AMPSM=<profisafe_mode>,<apply_now>,<store>
Input Parameters:
Name
profisafe_mode
apply_nowBoolean0: Apply changes after reboot.
store
TypeDescription
Integer
BooleanIf store is 1 the new value is stored permanently.
Set state of PROFIsafe mode.
0: Disable.
1: Enable.
Enter/Exit RAW BLE mode. Note that this only affects the current AT session. When the AT
session is in RAW BLE mode, it will receive unsolicited BLE events. The following AT sessions are
available: * RAW Ethernet * JSON/Web interface * Each TCP connection is its own session. Note:
The RAW BLE mode may not be entered from the JSON/Web interface.
Syntax:
AT*BLERM=<mode>
Input Parameters:
Name
modeBoolean
Example:
AT*BLERM=<mode><br>OK
TypeDescription
Enter/Exit RAW BLE mode.
0: Exit RAW BLE mode.
1: Enter RAW BLE mode.
Note: Only available when the device is in central operating mode.
AT*BLEDD=
Discover BLE devices. If a passive discovery is performed the devices advertisement data will be
included. If an active scan is performed the devices scan response data will be included.
Syntax:
AT*BLEDD=<type>,<length>,<scan>
Input Parameters:
Name
type
length
scan
TypeDescription
Integer
Integer
Integer
Type of discovery.
0:.Discover all devices, but only display each device once.
1: Discover devices in general or limited discoverability mode.
2: Discover devices in limited discoverability mode.
3: Discover all devices, each device may be displayed multiple times.
Length of discovery in milliseconds. Max 65535 ms.
Type of scan.
0: Active scan.
1: Passive scan.
Output Parameters:
Name
bd_addr
rssiIntegerRSSI.
name
data
TypeDescription
String
String
String
Bluetooth address of the BLE device.
Complete local name of BLE device, if included in data.
Hexadecimal formatted properties. The individual bits indicate a
specific property:
* Bit 0: Broadcast
* Bit 1: Readable
* Bit 2: Writable with no response
* Bit 3: Writable
* Bit 4: Notify
* Bit 5: Indicate
* Bit 6: Authenticated signed write
* Bit 7: Extended property available
Decimal formatted value handle.
128-bit UUID on the format 00112233-4455-6677-8899-aabbccddeeff,
00112233445566778899aabbccddeeff or 16-bit UUID on hexadecimal
format 0011.
Note: Only available when the device is in central operating mode.
AT*BGCRCM=
Read multiple characteristics in a single read. The application must know the length of each data
element in the returned list. Therefore only the last data element may have a variable length.
Syntax:
AT*BGCRCM=<con_handle>,<attr_handle_list>
Input Parameters:
Name
con_handle
attr_handle_list
Output Parameters:
Name
data
TypeDescription
Integer
String
TypeDescription
String
Connection handle.
List of characteristic handles for which values to read, as a string
where each handle is four hexadecimal digits.
Ex: "00010003000A" would read characteristics with handles 0x0001,
0x0003 and 0x000A.
reliableBooleanWhether or not to verify the data written.
flag
offset
TypeDescription
Integer
Integer
String
Integer
Integer
Connection handle.
Handle to the characteristic or descriptor value.
Data to write as a HEX string with max 18 bytes.
0: Do not verify.
1: Verify.
All but the last writes to a long value should have the flag set to 1. The
last write should have the flag set to 0. Set the flag to 2 to abort the
write.
This setting changes the decimal value of the
character recognized by the DCE from the DTE to
terminate an incoming command line. It is also
generated by the DCE as part of the header, trailer,
and terminator for result codes and information
text along with the S4 parameter. The previous
value of S3 is used to determine the command line
termination character for entry of the command
line containing the S3 setting command. However,
the result code issued shall use the value of S3 as
set during the processing of the command line. For
example, if S3 was previously set to 13 and the
command line "ATS3=30" is issued, the command
line shall be terminated with a CR, character (13),
but the result code issued will use the character
with the ordinal value 30 in place of the CR.
This setting changes the decimal value of the
character generated by the DCE as part of the
header, trailer, and terminator for result codes and
information text, along with the S3 parameter. If
the value of S4 is changed in a command line, the
result code issued in response to that command
line will use the new value of S4.
This setting changes the decimal value of the
character recognized by the DCE as a request to
delete from the command line the immediately
preceding character.
Miscellaneous Registers
Register
1000
1001
1002Ignore
1003Event
1004Event
1005Event
1006
1007
Name
Reserved
Reserved
Broadcast Layer
2 AT
Subscriber
Protocol
Subscriber
Ethernet Type
Subscriber
Syslog Port
Bridge Cache
Timeout
Easy Config LED
Mode
Value Range
0..10
0..2550
0..655350
0..655350
0..2552
0..33
Default Value
Description
Setting this register to 1 will ignore Layer2 AT
broadcast packets
Bit mask deciding how events should be sent.
Bit 0: Send events over TCP AT connections
Bit 1: Send events over Layer-2 (mac_address must
be specified, using AT*AMESS)
Bit 2: Send events over Syslog
The 16 bit Ethernet type to use when sending
events over layer 2
The 16 bit UDP port to use when sending events
using Syslog
Time in seconds before mac address cache table in
the bridge throws away an entry.
Bit mask representing Easy Config LED Mode 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
otherwise show BT if active
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
S Registers
Miscellaneous Registers (continued)
Register
1008
1009
1010
1011
1012
1013
Name
Reserved
Reserved
Reserved
Reserved
Reserved
Diagnose Mode
Value Range
Default Value
0..42949672960x00010001
78 (84)
Description
Set diagnose mode bitmask. The following events
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
S4001 is 1)
*WSRSSC - RSSI value falls below or rises above the
value in S4003 (only applicable if S4004 is 0)
Bit 1:
*WSRSS - RSSI periodically sent while connected,
with interval set by S3007
*WSCH - Used WLAN channel, sent upon
connection setup
Bit 2:
*WSSCAN - Background scan result (only applicable
if S4004 is 0)
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 (only applicable if S4004 is 0)
*WSRHC - Roaming handover candidate (only
applicable if S4004 is 0)
*WSRH - Roaming handover (only applicable if
S4004 is 0)
*WSFRG - Roaming reassociating (only applicable if
S4004 is 1)
*WSFRD - Roaming reassociated (only applicable if
S4004 is 1)
Bit 16:
*BCI - Connection indication (incoming connection)
*BCO - Connection opened
*BCC - Connection closed
*BDST - Digital signal transition (only applicable if
S2702 is 1)
*BLQC - Link Quality value falls below or rises
above the value in S2700
Bit 17:
*BLQ - Link Quality periodically sent while
connected, with interval 5000ms
Bit 18:
*BI - Background scan result, regardless of the
current 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
approximated RSSI value for the current connection
is sent periodically.
*BRHC - Roaming handover candidate
*BRH - Roaming handover
1014
Wireless Bolt
Easy Config
0..42949672965000
Mode Timeout
™
/ Wireless Bridge II™Reference Guide
Maximum time to wait for first push on SMART
button in milliseconds
SCM-1202-004 1.7 en-US
S Registers
Miscellaneous Registers (continued)
Register
1015
1016
Name
Radio Mode
Log level
Bluetooth Registers
Register
2000
2001
2002
2003
2004
2005
2006
Name
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Inquiry Class of
Device Filter
2007
2008
2009
2010
Reserved
Reserved
Reserved
Max Number of
Connections
2011
2012
Reserved
External
Connection
Control
2013
2014
2015
Reserved
Reserved
Reserved
2016Connect to
Name Scheme
Value Range
Default Value
0..33
0..31
Value Range
Default Value
0..42949672960x00020300
0..71
0..10
0..21
79 (84)
Description
Configures which radios should be enabled
0: All radio off
1: Enable only Bluetooth
2: Enable only WLAN
3: Enable Bluetooth and WLAN
Configures what kind of events that should be
presenred in the event log
0: Off, No events should be logged.
1: Error, Error events should be logged.
2: Warning, Warning and Error events should be
logged.
3: Verbose, All events should be logged.
Description
A found device must match this bitmask to be
reported to the higher layers, e.g. to find all
networking devices, bit 17 should be set
(0x00020300 or 131840). Bit 0-1 and 24-31 are
reserved and will be ignored
The default value is set at production time and
might differ for different product models. It is
readable using the AT*AMSBC? command.
0: Disable.
1: Enable.
0: Connect to first name (first found). This will
make a limited inquiry searching for 1 unit,
get the name of the found unit and, if the name
matches, connect to it.
1: Connect to best name (highest RSSI value). This
will make an inquiry, sort the devices regarding to
the RSSI value.
Then it will start from the device with best RSSI
value, get the name and connect if it matches the
desired name.
If it fails, it will go to the next device and so on.
(default)
2: Connect to name. This will make an inquiry and
then get the name of the found devices.
When a matching name is found, a connection
attempt will be done. If the connection fails, it will
try with the next found and so on.
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
S Registers
Bluetooth Registers (continued)
Register
Name
2017Connect to
Name Exact
Match
2018
Background
Scanning
Interval
Roaming BT Registers
Register
Name
2700Trigger Scan
Link Quality
2701
Roaming list
trigger Link
Quality
2702
Roaming list
trigger input
2703Minimum
acceptable RSSI
2704Roaming RSSI
diff threshold
Value Range
Default Value
0..11
0..42949672965000
Value Range
Default Value
0..255200
0..10
0..11
-128..127-70
0..12710
80 (84)
Description
0: Connect to BT devices that contain a sub part of
the connection name,
ex. 'DUT' will try to connect to 'xDUTx'. Where x is
a sign for wild card.
1: Connect to an exact match of the BT local name
in the connection list.
Time between background scans in milliseconds
Description
When the current connection's Link Quality is
below this level a background scan is initiated to
find a better connection.
0: Do not trig on Link Quality
1: Trig on Link Quality (default)
0: Do not trig on digital input
1: Trig on digital input (default)
Defines at what RSSI level a connection is
considered acceptable.
When the current connection's RSSI is below MIN_
ACCEPTABLE_RSSI and the difference between the
connected device RSSI and the RSSI from the best
device from background scan exceeds this
threshold a roaming handover is done.
WLAN Registers
Register
3000
3001
3002
Name
Reserved
Reserved
Reserved
3003Power Save
Mode
3004
3005
Reserved
Background
Scanning
Interval
3006Reconnect
Interval
3007
RSSI poll
interval
3008
3009
3010
Reserved
Reserved
Reserved
Roaming WLAN Registers
Register
4000
Name
Roaming list
trigger RSSI
4001
Roaming list
trigger input
4002Roaming RSSI
diff threshold
Value Range
0..20
Default Value
Description
0: Off
1: Sleep
2: Deep Sleep
0..42949672965000
0..42949672965000
0..655351000
Value Range
Default Value
Time between background scans in milliseconds
The interval in milliseconds
RSSI poll interval in milliseconds
Description
0..110: Do not trig on RSSI
1: Trig on RSSI (default)
0..11
0: Do not trig on digital input
1: Trig on digital input (default)
0..12710
When 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.
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
S Registers
Roaming WLAN Registers (continued)
Register
Name
4003Trigger Scan
Value Range
-128..127-70
RSSI
4004Fast Roaming0..11
Network Registers
Register
5000
Name
TCP Keep-Alive
Value Range
0..10
Enable
5001
TCP Keep-Alive
0..42949672967200000
Idle Time
5002
TCP Keep-Alive
0..429496729675000
Interval
5003
TCP Keep-Alive
0..2559
Lost Count
5004
LLDP Send
0..6553560
Interval.
5005
5006
Reserved
LLDP Hold
2..104
Multiplier
Default Value
Default Value
81 (84)
Description
Defines at what RSSI level a background scan
should be initiated to find a better connection.
0: Disable fast roaming.
1: Enable fast roaming according to IEEE 802.11r,
this causes the device to roam quicker between
APs with the same SSID, but the BSSID and Channel
parameters in the connection list is ignored
(default).
Note that this is in Client mode only and the the
AP's also need to support IEEE 802.11r.
Description
Turn on/off TCP keep-alive packets. It is important
to understand that sending frequent keep-alive
packets usually isn't a good solution to detect
dropped connections. Detecting dead links should
be done on a higher level, i.e. in the user
application protocol. There is a lot of information
available on the subject on the web.
0: TCP keep-alive packets turned off
1 = TCP keealive packets turned on
Time in milliseconds for a TCP connection to be idle
before a keep-alive packet is sent.
Time in milliseconds between keep-alive packets.
Number of lost keep-alive packets to wait before a
TCP connection is reset.
The module will per default send information in
LLDP frames with its current setup. This can also be
used to stay alive on access points that do not
properly wake the module before a disassociation.
Value in seconds.
0 = Off, do not send or process incoming LLDP
frames
This value multiplied with LLDP interval makes the
total time an LLDP update is valid.
PROFINET Registers
Register
5100
5101
Name
Reserved
Profinet
Prioritization
5102
Prioritized
Ethernet Type
5103
5104
Reserved
PTCP Filter
Bluetooth Low Energy Registers
Register
6000
Name
Advertising
Interval
Minimum
6001
Advertising
Interval
Maximum
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
Value Range
Default Value
0..10
0..655350x8892
0..11
Value Range
Default Value
32..163841600
32..163842000
Description
Set prioritization for PROFINET.
0: Disable
1: Enable
The 16-bit Ethernet type to prioritize
Set ProfiNET PTCP filter. When enabled, all
incoming PTCP packets will be dropped.
0: Disable
1: Enable
Description
Advertising interval minimum (must be <=
Advertising Interval Maximum). Unit in multiples of
0.625 ms.
Advertising interval maximum (must be >=
Advertising Interval Minimum). Unit in multiples of
0.625 ms.
SCM-1202-004 1.7 en-US
S Registers
Bluetooth Low Energy Registers (continued)
Register
6002
Name
Advertising
Value Range
0..77
Channel Map
6003Connect
6..320024
Connection
Interval
Minimum
6004Connect
6..320040
Connection
Interval
Maximum
6005Connect Latency 0..5000
6006Connect
100..320002000
Linkloss
Timeout
6007Connect Create
0..655355000Connect create connection timeout. Unit in
Connection
Timeout
6008Connect
16..1638448
Connection
Scan Interval
6009Connect Scan
16..1638448
Window
6010
Bond
6..320024
Connection
Interval
Minimum
6011
Bond
6..320040
Connection
Interval
Maximum
6012
Bond
0..5000
Connection
Latency
6013
Bond Linkloss
100..320002000
Timeout
6014
Bond Create
0..655355000
Connection
Timeout
6015
Bond Scan
16..1638448
Interval
6016
Bond Scan
16..1638448
Window
6017Remote Name
6..320024
Connection
Interval
Minimum
6018Remote Name
6..320040
Connection
Interval
Maximum
6019Remote Name
0..5000
Connection
Latency
6020Remote Name
100..320002000
Linkloss
Timeout
6021Remote Name
0..655355000Remote name request create connection timeout.
Create
Connection
Timeout
Default Value
82 (84)
Description
Bit mask for advertising channel map.
Bit 0: Channel 37
Bit 1: Channel 38
Bit 2: Channel 39
Connect connection interval minimum (must be <=
Connect Connection Interval Maximum). Unit in
multiples of 1.25 ms.
Connect connection interval maximum (must be >=
Connect Connection Interval Minimum). Unit in
multiples of 1.25 ms.
Connect latency for number of connection events.
Unit in multiples of 1.0 ms.
Connect linkloss timeout. Unit in multiples of 1.0
ms.
multiples of 1.0 ms.
Connect connection scan interval (must be >=
Connect Scan Window). Unit in multiples of 0.625
ms.
Connect scan window (must be <= Connection Scan
Interval). Unit in multiples of 0.625 ms.
Bond connection interval minimum (must be <=
Bond Connection Interval Maximum). Unit in
multiples of 1.25 ms.
Bond connection interval maximum (must be >=
Bond Connection Interval Minimum). Unit in
multiples of 1.25 ms.
Bond latency for number of connection events.
Unit in multiples of 1.0 ms.
Bond linkloss timeout. Unit in multiples of 1.0 ms.
Bond create connection timeout. Unit in multiples
of 1.0 ms.
Bond scan interval (must be >= Bond Scan Window).
Unit in multiples of 0.625 ms.
Bond scan window (must be <= Bond Scan Interval).
Unit in multiples of 0.625 ms.
Remote name request connection interval
minimum (must be <= Remote Name Request
Connection Interval Maximum). Unit in multiples of
1.25 ms.
Remote name request connection interval
maximum (must be >= Remote Name Request
Connection Interval Minimum). Unit in multiples of
1.25 ms.
Remote name request latency for number of
connection events. Unit in multiples of 1.0 ms.
Remote name request linkloss timeout. Unit in
multiples of 1.0 ms.
Unit in multiples of 1.0 ms.
Wireless Bolt
™
/ Wireless Bridge II™Reference Guide
SCM-1202-004 1.7 en-US
S Registers
Bluetooth Low Energy Registers (continued)
Register
Name
6022Remote Name
Value Range
16..1638448
Request Scan
Interval
6023Remote Name
16..1638448
Request Scan
Window
Default Value
83 (84)
Description
Remote name request connection scan interval
(must be >= Remote Name Request Scan Window).
Unit in multiples of 0.625 ms.
Remote name request scan window (must be <=
Remote Name Request Scan Interval). Unit in
multiples of 0.625 ms.