Google Search Bar

Custom Search

API Operation in xbee

product-manual_xb_zigbee_oem_rf-modules_v1.x1x.bookAPI operation is an alternative to transparent operation. The frame-based API extends the level to which a host application can interact with the networking capabilities of the module. When in API mode, all data entering and leaving the module is contained in frames that define operations or events within the module.

product-manual_xb_zigbee_oem_rf-modules_v1.x1x.book

Transmit Data Frames (received through the DIN pin (pin 3)) include:

• RF Transmit Data Frame

• Command Frame (equivalent to AT commands)

Receive Data Frames (sent out the DOUT pin (pin 2)) include:

• RF-received data frame

• Command response

• Event notifications such as reset, associate, disassociate, etc.


product-manual_xb_zigbee_oem_rf-modules_v1.x1x.book

The API provides alternative means of configuring modules and routing data at the host application layer. A host application can send data frames to the module that contain address and payload information instead of using command mode to modify addresses. The module will send data frames to the application containing status packets; as well as source, and payload information from received data packets.


product-manual_xb_zigbee_oem_rf-modules_v1.x1x.book

The API operation option facilitates many operations such as the examples cited below:

->Transmitting data to multiple destinations without entering Command Mode

->Receive success/failure status of each transmitted RF packet

->Identify the source address of each received packet

RF modules that contain the following firmware versions will support API operation: 1.1xx (coordinator) and 1.3xx (router/end device).




0 comments:

Post a Comment

 
Copyright 2009 MEDIA AT ELECTONIC
Design by BloggerThemes