Cermetek Microelectronics, Inc Page 26 of 42
Document NO. 607-00xx Revision A (12/13)
4.2.2
Command Format
Following is a description of the general format for the AT+ commands.
AT+<CMD>[op][para-1,para-2,para-3,para-
4…]<CR>
AT+:
Command Prefix of command message;
CMD:
Command string;
[op]: Command operator
= equals sign indicates the command requires parameters to be inserted;
“NULL”: Requests the current parameter setting;
[para-n]: Parameter settings if required;
<CR>
”Enter” Key, (0x0a or 0x0d in ASCII to execute the command)
Notes:
When an AT+ command is entered, characters echoed back will always be capital letters even
if the command is entered in lower case.
4.2.3
CH232BGN Responses
Below is a description of the general format for responses to AT+ commands.
+<RSP>[op] [para-1,para-2,para-3,para-
4…]<CR><LF><CR><LF>
+
- Prefix indicating a response;
RSP:
- Response string sent by the CH232BGN;
“ok” :
- Confirmation that the command was received successfully;
“ERR”: - Indication that the command was not successfully received;
“=”
- Indicates the parameters of the requested command will follow;
[para-n]: - Lists the response Parameters for queries and error codes;
<CR>: - Carriage Return, ASCII 0x0d;
<LF>: - Line Feed, ASCIII 0x0a;
4.2.4
Error Codes
Table 6 below list the Error codes for the CH232BGN AT+ commands
Table 6: Error Code Description (CH232BGN Web Access Default Settings)
Error Code
Description
-1
Invalid Command Format
-2
Invalid Command
-3
Invalid Operation Symbol
-4
Invalid Parameter
-5
Operation Not Permitted