![Adeunis RF ARF169 Скачать руководство пользователя страница 35](http://html.mh-extra.com/html/adeunis-rf/arf169/arf169_user-manual_2850759035.webp)
ARF169 Radio Modems - User guide version V1.4
35
Page
of 40
5. Product Configuration - Command Mode
The command mode is an embedded tool, accessible by the serial link via a terminal (*), enabling the programming of the modem parameters
using a set of instructions called: “AT command set”. AT commands are used to read and write the modem configuration registers (see § 5.3
Description of registers)
In the command mode, the radio is deactivated (in reception and transmission), except for the radio test commands (commands ATT00 &
ATT01).
(*): Hercules types
5.1. Command mode input/output
Entry into the command mode is obtained by transmission of a sequence of 3 ASCII characters on the serial link.
By default, the sequence is: « +++ », however the user can choose his own ASCII character by reprogramming on register S214 (see § 5.3
Description of registers).
Another possibility for entering the command mode is to activate the BP1/BP2 sequence on the back of the modem and as described in §1.8
Service interface. This procedure can be used if the command mode entry code has been changed or lost.
The ATO command enables us to quit the command mode and return to the communication mode.
It should be noted that exiting from the command mode is also possible automatically (timeout) by programming register S202 (see
§ 5.3 Description of registers).
Command
Description
Answer
+++
Allows entry into command mode
« CM » to confirm entry in command mode.
ATO
Exit command mode
«O»<cr> if operation OK
«E»<cr> if error
5.2. AT Commandes
A command starts with the two ASCII characters: “AT”, followed by one or more characters and data (see C below for the syntax of AT com-
mands available on the modem).
Each command should end with a “CR” or “CR” “LF”, the two possibilities are accepted. (CR signifies: Carriage Return, LF signifies: Line Feed)
On receipt of a command the modem returns:
• “the data”<cr><lf>, for a reading command, type ATS<n> ? , AT/S or AT/V.
• “O” <cr><lf>, for all other types of commands if it is accepted.
• “E” <cr><lf>, if it refuses the command because of a syntax error, unknown command, unknown register, invalid parameter, etc.
• “W”<cr><lf>, if it refuses the command because the configuration requested is not authorised.
• “CM” <cr><lf>, if it accepts entry into the command mode
Table of AT commands:
Command
Description
Reply
ATS<n> ?
Returns the contents of register
n
Sn=y where
y
represents the contents of register
n
ATS<n>=<m>
Transfer the value
m
to register
n
«O»<cr> if operation OK
«E»<cr> if error
« W» if the operation has a configuration problem.
AT/S
Display as a list, the content of each User register
Sxxx=y<cr><lf> for each register
AT/V
Display the firmware version
Adeunis RF ARF169<val> ?????
ATR
Restore the content of registers with default values.
This command must be followed by an AT&W
command and a module reset to ensure that all
parameters have been applied.
«O»<cr> if operation OK
«E»<cr> if error
ATT00
Enables test mode: Sends a predefined frame (see
note1).
Exit test mode ATT00 : ESC (0x1B)
«O»<cr> if operation OK
«E»<cr> if error