
NARROW BAND - NB868 - User guide version V2.2.5 - Software version V2.3.0
20
Page
of 25
E.g.
: ATT03 529 60 -> Scan of channel 529 for 1 minute. The result returned has the following form:
C529=-087/-096/-101dBm<cr><lf>; i.e. in order: RSSI min. RSSI mean/RSSI max. measured over this period.
4. Product Configuration - Command Mode
The command mode is an embedded tool, accessible by the serial link via a terminal (*), enabling the programming of the module parameters
using a set of instructions called: “AT command set”. AT commands are used to read and write the module configuration registers. In the com
-
mand mode, the radio is deactivated (in reception and transmission).
(*): Hercules types
4.1. Command mode input/output
The command mode entry is obtained by applying a rising edge on the CMDE_MODE pin. The pin is debounced for the time configured in the
S240 register. The module returns the “CM” string when it has effectively entered command mode. Note that the command mode entry may
be differed when an incoming RF frame is pushed on the UART interface. In any case, the “CM<cr><lf>” string is sent. The module backs to
the communication mode on a falling edge on the CMDE_MODE pin with respect of the configured debounce time. The module returns the
“O<cr><lf>” string when it has effectively leaved command mode.
The command mode entry may also be done with the UART interface by transmission of a sequence of 3 ASCII characters on the serial link.
By default, the sequence is: “+++<cr><lf>”, however the user can choose its own ASCII character by reprogramming register S214. The ATO
command backs the module to the communication mode. The module returns the “O<cr><lf>” string when it has effectively leaved command
mode.
It should be noted that exiting from the command mode is also possible automatically (timeout) by programming register S202
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
4.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 module).
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 module 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 complete firmware version
Adeunis RF NB868<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