XB24-BUIT-004 Digi International/Maxstream, XB24-BUIT-004 Datasheet - Page 55
![no-image](/images/no-image-200.jpg)
XB24-BUIT-004
Manufacturer Part Number
XB24-BUIT-004
Description
MODULE 802.15.4 SER 2 U.FL CONN
Manufacturer
Digi International/Maxstream
Series
XBee™r
Datasheet
1.XB24-BPDK.pdf
(91 pages)
Specifications of XB24-BUIT-004
Frequency
2.4GHz
Data Rate - Maximum
250kbps
Modulation Or Protocol
802.15.4
Applications
Home/Building Automation, Industrial Control, ZigBee™
Power - Output
2 mW (3 dBm)
Sensitivity
-96dBm
Voltage - Supply
2.1 V ~ 3.6 V
Current - Receiving
38mA
Current - Transmitting
35mA
Data Interface
PCB, Through Hole
Antenna Connector
U.FL
Operating Temperature
-40°C ~ 85°C
Package / Case
Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Memory Size
-
6. API Operation
6.0.1. API Frame Specifications
API Operation (AP parameter = 1)
API Operation - with Escape Characters (AP parameter = 2)
Start Delimiter
Start Delimiter
As an alternative to Transparent Operation, API (Application Programming Interface) Operations
are available. API operation requires that communication with the module be done through a
structured interface (data is communicated in frames in a defined order). The API specifies how
commands, command responses and module status messages are sent and received from the
module using a UART Data Frame.
Please note that Digi may add new API frames to future versions of firmware, so please build into
your software interface the ability to filter out additional API frames with unknown API identifiers.
Two API modes are supported and both can be enabled using the AP (API Enable) command. Use
the following AP parameter values to configure the module to operate in a particular mode:
When this API mode is enabled (AP = 1), the UART data frame structure is defined as follows:
Figure 6‐01. UART Data Frame Structure:
Any data received prior to the start delimiter is silently discarded. If the frame is not received
correctly or if the checksum fails, the module will reply with a module status frame indicating the
nature of the failure.
When this API mode is enabled (AP = 2), the UART data frame structure is defined as follows:
Figure 6‐02. UART Data Frame Structure ‐ with escape control characters:
Escape characters. When sending or receiving a UART data frame, specific data values must be
escaped (flagged) so they do not interfere with the data frame sequencing. To escape an
interfering data byte, insert 0x7D and follow it with the byte to be escaped XOR’d with 0x20.
(Byte 1)
(Byte 1)
0x7E
0x7E
© 2008 Digi International, Inc.
• AP = 1: API Operation
• AP = 2: API Operation (with escaped characters)
MSB = Most Significant Byte, LSB = Least Significant Byte
MSB = Most Significant Byte, LSB = Least Significant Byte
MSB
MSB
(Bytes 2-3)
(Bytes 2-3)
Length
Length
LSB
LSB
Characters Escaped If Needed
API-specific Structure
API-specific Structure
Frame Data
Frame Data
(Bytes 4-n)
(Bytes 4-n)
(Byte n + 1)
(Byte n + 1)
Checksum
Checksum
1 Byte
1 Byte
54