10
5.
AT Command Part
5.2
Specification
Applies to the entire document:
l
{ }
:
The content included in {...} is optional
l
<<
:
The content after << represents the COMMAND sent by the host to the module
l
>>
:
The content after >> means the RESPONSE of the module to the host
5.2.1
Command format
AT+
Command
{=Param1{,
Param2{,
Param3...}}}
<CR><LF>
l
All commands start with "AT" and end with <CR><LF>
l
<CR> stands for carriage return character, corresponding to ascii hex is 0x0D
l
<LF> stands for newline character, corresponding to ascii hex is 0x0A
l
If the command contains parameters, the parameters should be located after "="
l
If the instruction contains multiple parameters, the parameters should be separated
by ","
l
If the command returns with a response, the response starts with <CR><LF> and
ends with <CR><LF>
l
The module should always return the result of the instruction execution (return
"OK" on success, and "ERROR" on failure)
e.g.
1.
Read Local Name
<<
AT+NAME
>>
+NAME=Feasycom
>>
OK
2.
Write unsupported Uart Baudrate
<<
AT+BAUD=0
>>
ERROR
5.2.2
Notification format
<CR><LF>+
Indication
{=Param1{,
Param2{,
Param3...}}}
<CR><LF>
l
All notifications start with <CR><LF> and end with <CR><LF>
l
If the notification contains parameters, the parameters should be placed after "="
Summary of Contents for FSC-BT691
Page 1: ...1 BT5 1 Programming User Guide Version 4 0...
Page 8: ...8...