5
4B5B5B5B
AT+Instruction Control Protocal
User can ignore this chapter if only using auto-work mode.
5.1
18B21B21B21B
Syntax Introduction
This module uses AT+Instruction protocol as user control protocol.AT+Instruction
protocol is based on the instruction of ascii command style, The description of syntax
format and management process is as follow.
5.1.1
60B72B72B72B
Syntax Format
Fotmat
Description
< > means the parts must be included
[ ] means the optional part
Command
Message
AT+<CMD>[op][para1],[para2], [para3] ,[para4]…<CR>
‘AT+’ means the leader of Command message
‘CMD’ means command string
‘[op]’ means the symbol of Command operator, when the command requires
parameters, it can specify the operation type of parameters,it includes,
‘=’ means the leader symber of parameters or returns
‘=!’ means to synchronize the modified parameter to flash in the command of
parameters setting type
‘=?’ means to query the current setting in the command of parameters setting
type
<CR> means enter,it’s 0x0d in ASCII
Response
message
+<RSP>[op][para1],[para2], [para3] ,[para4]…<CR><LF><CR><LF>
‘+’ means the leader of response message
RSP means response string
‘OK’ means success
‘ERR’ means fail