API operation API frames
XBee/XBee-PRO ZigBee RF Modules User Guide 131
XBee Sensor Read Indicator
Frame type: 0x94
When the module receives a sensor sample (from a Digi 1-wire sensor adapter), it is sent out the UART using this
message type (when AO=0).
Frame Fields Offset Example Description
Start Delimiter
00x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
Frame-specific
Data
LSB 2 0x17
Frame Type
30x94
64-bit Source
Address
MSB 4 0x00
64-bit address of sender
50x13
60xA2
70x00
80x40
90x52
10 0x2B
LSB 11 0xAA
16-bit Source
Network Address
MSB 12 0xDD
16-bit address of sender
LSB 13 0x6C
Receive Options
14 0x01
0x01 - Packet acknowledged
0x02 - Packet was a broadcast packet
1-Wire Sensors
15 0x03
0x01 = A/D Sensor Read
0x02 = Temperature Sensor Read
0x60 = Water present (module CD pin low)
A/D Values
16 0x00
Indicates a two-byte value for each of four A/D sensors
(A, B, C, D)
Set to 0xFFFFFFFFFFFFFFFF if no A/Ds are found
17 0x02
18 0x00
19 0xCE
20 0x00
21 0xEA
22 0x00
23 0x52
Frame-specific
Data
Temperature Read
24 0x01
Indicates the two-byte value read from a digital
thermometer if present. Set to 0xFFFF if not found.
25 0x6A
Checksum
26 0x8B
0xFF - the 0x8 bit sum of bytes from offset 3 to this byte