EN
WMBus Smart Building MOTION - Guide utilisateur / User guide version V1.0.0
62
Page
of 82
FR
3.2.3 AT Command
A command starts with the 2 ASCII characters: «AT», followed by one or more characters and data (see the list below for the syntax of the AT
commands available on the modem).
Each command must end with a “CR” or “CR” “LF”, both are acceptable. (CR indicates: Carriage Return, LF indicates: Line Feed).
Once the command has been received, the modem returns:
• Data” <cr> <lf>, for ATS type playback control <n>? AT/S or AT/V.
• O” <cr> <lf>, for all other commands when this has been accepted.
• “E” <cr> <lf>, if it refuses the command due to a syntax error, unknown command, unknown register, invalid parameter, ....
• “CM” <cr> <lf>, if it accepts the input in command mode
AT Command Table:
Command
Description
Reply example
+++
Input request in command mode
«CM»<cr><lf>
ATPIN <PIN>
Gives access to AT commands if register S304 is not
0
AT/V
Displays the firmware version of the application and
the firmware version of the RTU module
APPx_Vxx.xx.xx:RTUx_Vyy.yy.yy
AT/N
Displays the network used
"LoRa" or "SIGFOX" or «WMBUS»
AT/ARF
Displays the device reference
«ARF8240CAA\r\n»
ATS<n>?
Returns the contents of the <n> register
S<n>=<y><cr><lf> avec <y> as a registry content
AT/S
Displays all registers
/
ATS<n>=<m>
Sets <m> to the registry <n>
«O»<cr><lf> si ok, «E»<cr><lf> si erreur, «W»<cr><lf>
if consistency error
ATR APP
Resets the default configurations of the application
part
«O»<cr><lf>
AT&W
Saves the new configuration
«O»<cr><lf>, «E»<cr><lf> if consistency error
ATO
Exits command mode
«O»<cr><lf>, «E»<cr><lf> if consistency error
ATT63 PROVIDER
Provider password
«O»<cr><lf>
Example of a sequence of commands and corresponding responses as we could see them on a terminal block:
Command
Description
Response Syntax to Next Line
+++
Input request in command mode
CM
ATS221=1
Request to switch to OTAA activation mode
O
ATS214=0018B200
Change APP_EUI MSB
E -> This command is not valid (registry not unlocked)
ATT63 PROVIDER
Unlock the operator register
O
ATS214=0018B200
Change APP_EUI MSB
O
ATS215?
Returns the value of the S215 register
S200=44512451
AT&W
Request to store the status of registers
O
ATO
Request to exit command mode
O
Interpretation of the example above: the user wanted to modify the beginning of the APP_EUI after entering an unauthorized command (answer
E), the registers were unblocked to modify the register. The second part of the APP_EUI was verified and the parameters were saved before
exiting. When exiting command mode, the device will send a JOIN request.