General Purpose Flash Memory; Access General Purpose Flash Memory - Digi XLR PRO User Manual

Radio frequency (rf) module
Hide thumbs Also See for XLR PRO:
Table of Contents

Advertisement

Advanced application features
When a device receives the network discovery command, it waits a random time before sending its
own response. You can use the NT command to set the maximum time delay on the device that you
use to send the ND command.
The device that sends the ND includes its NT setting in the transmission to provide a delay
n
window for all devices in the network.
The default NT value is 0x82 (13 seconds).
n
Discover devices within RF range
You can use the FN (Find Neighbors) command to discover the devices that are immediate
n
neighbors (within RF range) of a particular device.
FN is useful in determining network topology and determining possible routes.
n
You can send FN locally on a device in Command mode or you can use a local
0x08.
To use FN remotely, send the target node a
the name of the AT command.
The device you use to send FN transmits a zero-hop broadcast to all of its immediate neighbors. All of
the devices that receive this broadcast send an RF packet to the device that transmitted the FN
command. If you sent FN remotely, the target devices respond directly to the device that sent the FN
command. The device that sends FN outputs a response packet in the same format as an
Command Response frame -

General Purpose Flash Memory

XLR PRO RF Modules provide 119 512-byte blocks of flash memory that an application can read and
write to. This memory provides a non-volatile data storage area that an application uses for many
purposes. Some common uses of this data storage include:
Storing logged sensor data
n
Buffering firmware update data for a host microcontroller
n
Storing and retrieving data tables needed for calculations performed by a host microcontroller
n
The General Purpose Memory (GPM) is also used to store a firmware update file for over-the-air
firmware updates of the device itself.

Access General Purpose Flash Memory

To access the GPM of a target node locally or over-the-air, send commands to the MEMORY_ACCESS
cluster ID (0x23) on the DIGI_DEVICE endpoint (0xE6) of the target node using explicit API frames. For
a description of Explicit API frames, see
To issue a GPM command, format the payload of an explicit API frame as follows:
Byte offset
Number of
in payload
bytes
0
1
1
1
XLR PRO Radio Frequency (RF) Module User Guide
Remote AT Command Request frame - 0x17
0x88.
Operate in API
Field name
GPM_CMD_ID
GPM_OPTIONS

General Purpose Flash Memory

AT Command frame -
mode.
General field description
Specific GPM commands are described
in detail in the topics that follow.
Command-specific options.
using FN as
AT
115

Advertisement

Table of Contents
loading

Table of Contents