
API operation
9XTend-PKG-R RS-232/485 RF Modem User Guide
66
WR (Write) command
<(Special)> The WR command is used to write configurable parameters to non-volatile memory (Values remain in the
modem's memory until overwritten by another use of WR Command).
If changes are made without writing them to non-volatile memory, the modem will revert back to previously saved
parameters the next time the modem is powered-on.
If the non-volatile user configuration is not correct, WR will re-attempt (up to 3x). If all three attempts fail, the
command will return an ERROR alert.
WS (Sticky Warning Numbers) command
<Diagnostics> The WS command reports warning numbers of all warnings active since the last use of the WS or WN
command (including any warnings which are currently active). This command also resets all non-zero warning
counts, except for warnings that are presently active, which are set to 1.
API operation
By default, XTend RF Modems act as a serial line replacement (Transparent Operation) - all UART data received
through the DI pin is queued up for RF transmission. When the modem receives an RF packet, the data is sent out the
DO pin with no additional information.
Inherent to Transparent Operation are the following behaviors:
•
If modem parameter registers are to be set or queried, a special operation is required for transitioning the modem
into Command Mode; see
6
Default calibration data in flash. This is caused if the module-specific power calibration data is either not present
or is invalid, or if none of the parameters have been modified from their default values. Power levels may be
incorrect.
7
Default configuration parameters in flash. This is caused if user-modifiable parameters (i.e. those stored by a 'WR'
command) in flash are all the compiled-in default values. This is caused if the user configuration is found to be not
present or invalid at power-up and there is no custom configuration, or if no user-modifiable parameters have
been modified from the compiled-in defaults. Modification of one or more parameters without the subsequent WR
to commit the changes to flash will not deactivate this warning, since it reflects the status of the parameters in
flash. Note that this warning does not reflect usage of the custom configuration defaults, only usage of the
compiled-in defaults.
8
Default factory configuration parameters in flash. This is caused if the factory parameters in flash are all the default
values. This is caused if the factory configuration is found to be not present or invalid at power-up, or if no factory
parameters have been modified.
Warning #
Description
AT Command: ATWR
Binary Command: 0x08
AT Command: ATWS
Parameter Range (read-only): 1 - 8
Number of bytes returned: 1