S42/ADC/LUA AT Command Reference
80512ST10860A Rev.0
Page 10 of 40
2017-10-06
2. FEATURES
The S42/ADC/LUA supports AT command mode.
In the factory-default configuration the S42/ADC/LUA supports the AT command
Mode via an internal Software interface.
Each command line consists of a prefix, a body and a terminator.
All command lines begin with the prefix AT (ASCII 065, 084) or at (ASCII 097, 116).
The body is a string of characters in the ASCII range 032-255. Control characters other than
<CR> (carriage return; ASCII 013) and <BS> (back space; ASCII 008) in a command line are
ignored.
The terminator is <CR>.
There is no distinction between upper-case and lower-case characters. A command line can
have a maximum length of 80 characters. It is automatically discarded if the input is longer.
Corrections are made using <BS>. Multiple commands on the same command line are not
allowed.
Commands have the following syntax:
Syntax
Description
AT<command>=<value><CR>
Write the value of the command
AT<command>?<CR>
Read the value of the command
Exceptions of this syntax are marked separately.
Responses are sent back to the host and can be any of the following:
Responses
Description
<CR><LF>value<CR><LF>
Current value
<CR><LF>
list entry 1<CR><LF>
list entry 2<CR><LF>
…
list entry n<CR><LF>
<CR><LF>
List value (e.g. AT+BNDLIST)
<CR><LF>OK<CR><LF>
Successful final message
<CR><LF>ERROR<CR><LF>
Error message, command not supported