4G_2G DTU Products Function
- 33 -
AT+<CMD>[op][para-1,para-2,para-3,para-4
…
]<CR>
◼
AT+
:
Command message prefix
◼
CMD
:
Instruction string;
◼
[op]
:
Instruction operator, specified as parameter setting or query
◆
"=" : Indicates parameter setting
◆
"NULL" : Indicates the query
◼
[para-n]: Input when parameter setting, such as query is not required
◼
<CR>: Terminator, carriage return, ASCII code 0x0a or 0x0d
<Notes>
:
When user enter a command, the "AT+<CMD>" character is automatically echoed to
uppercase and the parameter portion remains unchanged.
➢
Response Massage
+<RSP>[op] [para-1,para-2,para-3,para-4
…
]<CR><LF><CR><LF>
◼
+ : Response message prefix;
◼
RSP: Respons string, including:
◆
“ok” : Indicate success
◆
“ERR”: Indicate failure
◼
[op]
:
=
◼
[para-n] :
Return parameters when querying or error code when error
occurs
◼
<CR>: ASCII code 0x0d
;
◼
<LF>: ASCII code 0x0a
;
➢
Error Code
Error Code Description
Error Code
Notes
-1
Invalid command format
-2
Invalid command
-3
Invalid operator
-4
Invalid parameter
-5
Operation not allowed
2.4.2. AT Instruction Set
List of AT+ Instruction Set
Instruction
Description
<null>
Null
Management Instruction Set
H
Help
E
Open/Close Show Back Function
CMDPW
Set/Query AT command prefix character for sending AT command
in throughput mode.