XB24-BPDK Digi International/Maxstream, XB24-BPDK Datasheet - Page 58

no-image

XB24-BPDK

Manufacturer Part Number
XB24-BPDK
Description
KIT DEVELOPMENT XBEE SERIES 2
Manufacturer
Digi International/Maxstream
Series
XBee™r
Type
802.15.4/Zigbeer
Datasheet

Specifications of XB24-BPDK

Frequency
2.4GHz
For Use With/related Products
XBee™ Series 2 Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
XBee ZNet 2.5/XBee‐PRO ZNet 2.5 ZigBee OEM RF Modules v1.x4x 
6.0.3. Supporting the API
6.0.4. API Frames
void XBee_HandleRxAPIFrame(_apiFrameUnion *papiFrame){
}
switch(papiFrame->api_id){
}
Example: Send an ND command to discover the devices in the PAN. The frame should look like:
0x7E 0x00 0x04 0x08 0x01 0x4E 0x44 0x64
Where 0x0004 = length
The checksum is calculated as [0xFF - (0x08 + 0x01 + 0x4E + 0x44)]
Applications that support the API should make provisions to deal with new API frames that may be
introduced in future releases. For example, a section of code on a host microprocessor that
handles received serial API frames (sent out the module's DOUT pin) might look like this:
The following sections illustrate the types of frames encountered while using the API.
Note: “The following information is missing or incorrect in the API graphics:
The following information is not shown in the API graphics:
case RX_RF_DATA_FRAME:
case RX_IO_SAMPLE_FRAME:
case NODE_IDENTIFICATION_FRAME:
default:
0x08 = AT Command API frame type
0x01 = Frame ID (set to non-zero value)
0x4E44 = AT command ('ND')
0x64 = Checksum
* Transmit option 0x08 is not supported
© 2008 Digi International, Inc.
• The 64-bit destination address can be set to 0 as an alternate address for the coordinator.
• The maximum broadcast radius is 32.
• The NO command can be used to include the DD parameter in the Node Identification Indica-
//process received RF data frame
break;
//process IO sample frame
break;
//process node identification frame
break;
//Discard any other API frame types that are not being used
break;
tor (0x95).
0x00 = Broadcast radius
0x00 = Options
0x547832436F6F7264 = Data payload ("Tx2Coord")
0xFC = Checksum
     57

Related parts for XB24-BPDK