4 System

System AT commands

4.1 AT Commands

AT Command
Description
Module switch off
Store current configuration
Local Address
Factory Restore
Default Settings
Uart Settings
Firmware Update using serial port
Start the boot loader command line interface
Error Code
Extended Error codes on/off
Echo On/Off
S-registers
Transparent mode escape sequence settings

4.1.1 AT+CPWROFF - Module switch off

Syntax
AT Command
Description
AT+CPWROFF
Reboot the DCE.

4.1.2 AT&W - Store current configuration

Store the current configuration to flash
Syntax
AT Command
Description
AT&W
Write the current configuration to flash. The configuration is stored immediately when AT&W is issued.

4.1.3 AT+USYLA - Local Address

Syntax
AT Command
Description
AT+USYLA=<interface_id>
Get interface address
AT+USYLA=<interface_id>,<address>
Set interface address

Notes:
Requires AT&W and a reboot before taking effect.
Response
Description
+USYLA:<address>
Successful read response
Defined values
Parameter
Type
Description
interface_id
enumerator
Valid values:
0: Bluetooth
1: Wi-Fi station
2: Wi-Fi Access point
address
mac_addr
MAC address of the interface id. If the address is set to 000000000000, the local address will be restored to factory-programmed value. The least significant bit of the first octet of the
must be 0.

4.1.4 AT+USYFR - Factory Restore

Syntax
AT Command
Description
AT+USYFR
The module is completely restored to factory defaults. All settings are reset to default values.
All certificates and Bluetooth bonding information will be removed.


Notes:
Requires AT&W and a reboot before taking effect.

4.1.5 AT+USYDS - Default Settings

Syntax
AT Command
Description
AT+USYDS
Reset all settings to default values.
Certificates and Bluetooth bonding information will be left untouched.


Notes:
Requires AT&W and a reboot before taking effect.

4.1.6 AT+USYUS - Uart Settings

Syntax
AT Command
Description
AT+USYUS=<baud_rate>[,<flow_control>[,<change_after_confirm>]]
Configure new UART settings that will be used after restart. Baudrates above 4000000 bps can be set, but are unsupported. If the flow_control parameter is omitted then no flow control will be used. If change_after_confirm is not provided the baudrate will be changed only after a store and reboot.

Notes:
Can be stored using AT&W.
AT+USYUS?
Reads current UART settings from the module
Response
Description
+USYUS:<baud_rate>,<flow_control>
Successful read response
Defined values
Parameter
Type
Description
baud_rate
integer
Baudrate

Valid values: 110..6000000

Default value: 115200
flow_control
integer
0: No flow control
1: Use CTS/RTS flow control


Valid values: 0 or 1
change_after_confirm
integer
0: Switch baudrate after reboot. When set AT&W must be called.
1: Switch baudrate directly after status OK have been sent.


Valid values: 0 or 1

4.1.7 AT+USYFWUS - Firmware Update using serial port

Start serial port firmware upgrade. The module will indicate that it is ready to receive the new firmware by regularly sending the XModem start byte C until either an XModem transfer has started, or a timeout has occurred
Syntax
AT Command
Description
AT+USYFWUS=<baud_rate>[,<flow_control>]
Start firmware upgrade on the serial port with provided settings
AT+USYFWUS
Start firmware upgrade on the serial port with default settings, baudrate 115200 and no flow control
Defined values
Parameter
Type
Description
baud_rate
integer
Valid values: 110..6000000

Default value: 115200
flow_control
integer
Valid values: 0 or 1

Default value: 0

4.1.8 AT+USYBL - Start the boot loader command line interface

Force start of the boot loader. The boot loader will start at the defined baud rate.
Syntax
AT Command
Description
AT+USYBL=<baud_rate>[,<flow_control>]
Force start of the boot loader.
AT+USYBL
Force start of the boot loader with default settings. Baudrate 115200 and flow control off.
Defined values
Parameter
Type
Description
baud_rate
integer
Valid values: 110..6000000

Default value: 115200
flow_control
integer
Valid values: 0 or 1

Default value: 0

4.1.9 AT+USYEC - Error Code

Syntax
AT Command
Description
AT+USYEC?
Read the last error code
Response
Description
+USYEC:<error_code>
Latest error code
Defined values
Parameter
Type
Description
error_code
integer
Error code

4.1.10 AT+USYEE - Extended Error codes on/off

Syntax
AT Command
Description
AT+USYEE=<extended_errors>
Enable or disable extended error codes

Notes:
Can be stored using AT&W.
AT+USYEE?
Read extended error codes enabled/disabled
Response
Description
+USYEE:<extended_errors>
Extended error codes setting
Defined values
Parameter
Type
Description
extended_errors
enumerator
Extended error codes setting

Valid values:
0: (Factory default) Extended error codes will not be displayed
1: Extended error code will be displayed on every error

4.1.11 ATE - Echo On/Off

This command configures whether or not the module echoes the characters received from the host.
Syntax
AT Command
Description
ATE0
Set echo off

Notes:
Can be stored using AT&W.
ATE1
Set echo on

Notes:
Can be stored using AT&W.
ATE?
Read current echo setting
Response
Description
<echo_on>
Current echo setting
Defined values
Parameter
Type
Description
echo_on
enumerator
Valid values:
0: Module does not echo the characters
1: (Factory default) Module echoes the characters

4.1.12 ATS - S-registers

Used to set different configuration parameters
Syntax
AT Command
Description
ATS2=<escape_char>
Write escape character. This settings change the decimal value of the escape character used by some modes, such as transparent mode for example, to detect an escape sequence and exit.

Notes:
Can be stored using AT&W.
ATS2?
Read escape character
ATS3=<line_term>
Write line termination character. 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 instead of the CR.

Notes:
Can be stored using AT&W.
ATS3?
Read line termination character
ATS4=<resp_format>
Write response format character. 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.

Notes:
Can be stored using AT&W.
ATS4?
Read response format character
ATS5=<backspace>
Writes backspace character. 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.

Notes:
Can be stored using AT&W.
ATS5?
Read backspace character
Response
Description
<escape_char>
Current escape character
<line_term>
Current line termination character
<resp_format>
Current response format character
<backspace>
Current backspace character
Defined values
Parameter
Type
Description
line_term
integer
Command line termination character. Factory default: 13

Valid values: 0..127
resp_format
integer
Response format character. Factory default: 10

Valid values: 0..127
backspace
integer
Backspace character. Factory default: 8

Valid values: 0..127
escape_char
integer
Escape character. Factory default: 43

Valid values: 0..127

4.1.13 AT+UTMES - Transparent mode escape sequence settings

Syntax
AT Command
Description
AT+UTMES=<pre_timeout>,<post_timeout>,<escape_timeout>
Configures the transparent mode escape sequence settings.
AT+UTMES?
Reads current transparent mode escape sequence settings.
Response
Description
+UTMES:<pre_timeout>,<post_timeout>,<escape_timeout>
Successful read response
Defined values
Parameter
Type
Description
pre_timeout
integer
Minimum time (ms) of no data activity required before the escape sequence is sent. Factory default: 1000

Valid values: 50..5000
post_timeout
integer
Minimum time (ms) of no data activity required after the escape sequence is sent. Factory default: 1000

Valid values: 50..5000
escape_timeout
integer
Maximum time interval (ms) between escape characters. Factory default: 200

Valid values: 50..5000
Last updated: 04 March 2025
Need help?Contact Support
Questions?Contact us