Reference Manual

Table Of Contents
7.4 Configuring the module and modifying the device settings
It is strongly recommended to have identical settings on all devices, which have
to open a connection with each other or are to be used in Beacon mode.
The module’s parameters are stored in flash, but have a local copy in RAM. The flash param-
eters can be modified by the
CMD_SET_REQ
, read by the
CMD_GET_REQ
and retain their content
even when resetting the module.
7.4.1 CMD_SET_REQ
This command enables direct manipulation of the parameters in the module’s settings in
flash. The respective parameters are accessed by means of the corresponding settings in-
dex, which can be found in Table
20
.
Parameters of 2 or more Bytes have to be transferred with the LSB first unless noted differ-
ently in the corresponding description.
The modified parameters only take effect after a restart of the module. This
may be done by a
CMD_RESET_REQ
if the module does not restart automatically.
The flash memory used to store these settings has a limited count of write
cycles. Try to avoid performing periodic
CMD_SET_REQ
as each command will
use one write cycle.
The validity of the specified parameters is not verified. Incorrect values can
result in device malfunction!
To save the parameters in the flash memory of the module, the particular mem-
ory segment must first be flushed entirely and then restored from RAM. If a
reset occurs during this procedure, the entire memory area may be corrupted
(e.g. due to supply voltage fluctuations).
Recommendation: First, verify the configuration of the module with
CMD_GET_
REQ
and only then apply a
CMD_SET_REQ
if required to avoid unnecessary flash
cycles.
Format:
Proteus-III reference manual version 0.11 © November 2019
www.we-online.com/wireless-connectivity 75