I/O Sample Data Format - Digi XBee 3 ZigBee User Manual

Rf module
Table of Contents

Advertisement

I/O support
Change detect
n
Samples are generated when the state of specified digital input pin(s) change
l
Sample data is sent to DH+DL destination address
l
Can be used with line passing
l
Requires API mode on receiver
l
On-demand sample
n
Immediately query the device's I/O lines
l
Can be issued locally in Command Mode
l
Can be issued locally or remotely in API mode
l
These methods are not mutually exclusive and you can use them in combination with each other.

I/O sample data format

Regardless of how I/O data is generated, the format of the sample data is always represented as a
series of bytes in the following format:
Bytes Name
1
Sample
sets
2
Digital
channel
mask
Digi XBee® 3 Zigbee® RF Module
(IC (Digital Change
Detection))
(IS (Force
Sample))
Description
Number of sample sets. There is always one sample set per frame.
Indicates which
digital I/O lines
one digital I/O line on the device.
bit 0 = DIO0
bit 1 = DIO1
bit 2 = DIO2
bit 3 = DIO3
bit 4 = DIO4
bit 5 = DIO5
bit 6 = DIO6
bit 7 = DIO7
bit 8 = DIO8
bit 9 = DIO9
bit 10 = DIO10
bit 11 = DIO11
bit 12 = DIO12
bit 13 = DIO13
bit 14 = DIO14
bit 15 = N/A
Example: a digital channel mask of 0x002F means DIO0, 1, 2, 3 and 5 are
configured as digital inputs or outputs.
have sampling enabled. Each bit corresponds to
I/O sample data format
170

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?

Questions and answers

Table of Contents