Download M03 AT Command - User Manual

Transcript
6 AT+Instruction Control Protocol
User can ignore this chapter if only using auto-work mode.
6.1
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.
6.1.1 Syntax Format
Format 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 symbol 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
76 | P a g e