Detect Digital I/O Changes; General Purpose Flash Memory; Access General Purpose Flash Memory - Digi XBee 868LP User Manual

Radio frequency (rf) modules
Hide thumbs Also See for XBee 868LP:
Table of Contents

Advertisement

Advanced application features

Detect digital I/O changes

You can configure devices to transmit a data sample immediately whenever a monitored digital I/O
pin changes state. The IC command is a bitmask that you use to set which digital I/O lines to monitor
for a state change. If you set one or more bits in IC, the device transmits an I/O sample as soon it
observes a state change in one of the monitored digital I/O lines using edge detection.
The figure below shows how I/O change detection can work with periodic sampling.
Enabling edge detection forces an immediate sample of all monitored digital I/O lines if any digital I/O
lines change state.

General Purpose Flash Memory

XBee 868LP 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
XBee 868LP RF Modules User Guide
Operate in API
Field name
GPM_CMD_ID
GPM_OPTIONS
General Purpose Flash Memory
mode.
General field description
Specific GPM commands are described
in detail in the topics that follow.
Command-specific options.
110

Advertisement

Table of Contents
loading

Table of Contents