Digi XBee S2C 802.15.4 User Manual page 129

Radio frequency module
Table of Contents

Advertisement

Operate in API mode
Offset Size
9
16-bit
11
16-bit
13
16-bit
variable
EOF
8-bit
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
Frame
Field
Description
Bit field that indicates which I/O lines on the remote are configured
Sample
as inputs, if any:
mask
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: ADC0
bit 10: ADC1
bit 11: ADC2
bit 12: ADC3
bit 13: N/A
bit 14: N/A
bit 15: N/A
Each bit represents either a DIO line or ADC channel. Bit set to 1 if
channel is active.
If the sample set includes any digital I/O lines—Digital channel
Digital
mask > 0— this field contain samples for all enabled digital I/O lines.
samples
If no digital lines are configured as inputs or outputs, this field will be
(if
omitted.
included)
DIO lines that do not have sampling enabled return 0. Bits in this field
are arranged the same as they are in the channel mask field.
If the sample set includes any analog I/O lines, each enabled analog
Analog
input returns a 16-bit value indicating the ADC measurement of that
samples
input.
(if
Analog samples are ordered sequentially from AD0 to AD3.
included)
Checksum 0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between
length and checksum).
Frame descriptions
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee-pro s2c 802.15.4

Table of Contents