Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Sigfox Smart Building MOTION - Guide utilisateur / User guide version V1.0.1

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
+++
Input request in command mode
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
AT/N
Displays the network used
AT/ARF
Displays the device reference
ATS<n>?
Returns the contents of the <n> register
AT/S
Displays all registers
ATS<n>=<m>
Sets <m> to the registry <n>
ATR APP
Resets the default configurations of the application
part
AT&W
Saves the new configuration
ATO
Exits command mode
ATT63 PROVIDER
Provider password
Example of a sequence of commands and corresponding responses as we could see them on a terminal block:
Command
+++
ATS317=0
ATT63 PROVIDER
ATS317=0
ATS317?
AT&W
ATO
ATO
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.
Description
Description
Input request in command mode
Request to deactivate the duty cycle
Unlock the operator register
Deactivation of the duty cycle
Returns the value of the S317 register
Request to store the status of registers
Request to exit command mode
Request to exit command mode
DISTRIBUTED BY TEXIM EUROPE
Reply example
«CM»<cr><lf>
APPx_Vxx.xx.xx:RTUx_Vyy.yy.yy
"LoRa" or "SIGFOX" or «WMBUS»
«ARF8240CAA\r\n»
S<n>=<y><cr><lf> avec <y> as a registry content
/
«O»<cr><lf> si ok, «E»<cr><lf> si erreur, «W»<cr><lf>
if consistency error
«O»<cr><lf>
«O»<cr><lf>, «E»<cr><lf> if consistency error
«O»<cr><lf>, «E»<cr><lf> if consistency error
«O»<cr><lf>
Response Syntax to Next Line
CONNECTING...
CM
E -> This command is not valid (registry not unlocked)
O
O
S3 17=0
O
O
O
FR
EN
Page
63
of 83

Publicité

Table des Matières
loading

Table des Matières