AT Command syntax
Use the following syntax:
AT+<COMMAND><CR>
where:
•
AT
is in upper or lowercase
•
<COMMAND>
is a test, read or write command in upper or lower case
•
<CR>
is the end-of-line character marking the end of a command line (alias \r – carriage return)
The modem will execute the command line after receiving the end-of-line character.
•
<LF>
is the line feed, which will move the cursor to the next line
This document displays commands only.
<CR><LF>
after a command is intentionally omitted.
AT commands are usually followed by a response that includes:
<CR><LF><RESPONSE><CR><LF>
where
<RESPONSE>
is the command response
This document displays responses only.
<CR><LF>
is intentionally omitted.
The response may include:
•
OK
– indicates the command executed with no errors
•
ERROR
– indicates an invalid command, or that the command line was too long
Types of AT Commands and responses
Command
type
Command syntax
Description
Test
AT+<COMMAND>=?
Returns a list of parameters and value ranges set by the
corresponding Write command or internal processes.
Read
AT+<COMMAND>?
Returns the currently set value of each parameter.
Write
AT+<COMMAND>=
<
parameter
>
Sets the user-defined parameter values.
Execute
AT+<COMMAND>
Reads non-variable parameters affected by internal processes
in the Eseye-enabled modem. For example, see
Eseye-enabled Quectel BG96 module Developer Guide v1.8
32
General AT Commands for the Quectel BG96 module