The BlueMod+S42/ADC/LUA supports AT command mode.
In the factory-default configuration the BlueMod+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 value (e.g. AT+BNDLIST) |
|
<CR><LF>OK<CR><LF> |
Successful final message |
|
<CR><LF>ERROR<CR><LF> |
Error message, command not supported |