EasyManua.ls Logo

Telegesis ETRX357-LR - 2 AT Style Command Conventions; 2.1 Parameters

Telegesis ETRX357-LR
121 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R309 AT Commands
©2015 Telegesis (UK) Ltd - 7 - AT Command Manual (Rev 3.09)
2 AT Style Command Conventions
To simplify the communication with the modules, an AT-style command set, similar to the industry
standard Hayes modem control language, is used.
Each command must be preceded by the "AT" or "at" prefix. To terminate a command enter
<CR>. Any data not following this pattern is either not accepted by the module or will cause an
error message in response. Every command must be terminated with a <CR>, they cannot be
concatenated.
Commands are followed by an optional response that includes <CR><LF><Response><CR><LF>
and/or a prompt <CR><LF><Prompt><CR><LF> where the prompt could also be an error
message.
Example:
ATS00?<CR>
<CR><LF>FFFF<CR><LF>
<CR><LF>OK<CR><LF>
It is recommended to wait for an “OK” or “ERROR:XX” prompt before issuing the next command.
Any data which is prompted to the user is delivered in the format <CR><LF><prompt><CR><LF>.
Unless disabled in S0E or S0F prompts may appear whenever the corresponding event occurs.
Example:
<CR><LF><BCAST:000D6F000005A666,04=test><CR><LF>
A prompt intersecting a command being entered will not affect the command itself.
Throughout this document, only the responses and prompts are presented, <CR><LF> are omitted
intentionally. Sequences of AT commands in a single line are not supported.
The ETRX357 features a 128-byte FIFO to buffer incoming characters from the host processor,
which is sufficient to hold even the longest possible command. The ETRX357 features a 256-byte
FIFO buffer for incoming radio messages, which allows rapid reception of multiple messages
without loss of characters. To prevent a buffer overflow XON/XOFF handshaking is used. Optional
hardware handshaking can be enabled as described in the register description of S12 in section 4.
Read Command
ATXXX?
Commands ending with a ‘?’ return the currently set value of the
parameter or parameters
Write Command
ATXXX=<…>
This command sets user-definable parameters as indicated by
the ‘=’ sign.
Execute Command
ATXXX
This command executes routines of the module and returns
parameters
Table 1: Types of AT commands
When bit 7 of S12 is set each individual reply or prompt is additionally started with the STX and
ended with the ETX character to aid the interpretation of the incoming strings on a host processor.