EasyManuals Logo

Digi XBee User Manual

Digi XBee
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #155 background imageLoading...
Page #155 background image
API Operation API serial exchanges
XBee/XBee-PR S2C ZigBe RF Module
155
n 0x0004 = length
n 0x08 = AT Command API frame type
n 0x01 = Frame ID (set to non-zero value)
n 0x4E44 = AT command (ND)
n 0x64 = Checksum
The checksum is calculated as [0xFF - (0x08 + 0x01 + 0x4E + 0x44)]
Example: Send a remote command to the coordinator to set AD1/DIO1 as a digital input (D1=3) and
apply changes to force the I/O update.
The API remote command frame should look like:
0x7E 0x00 0x10 0x17 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0xFE 0x02 0x44 0x31 0x03
0x70
Where:
n 0x10 = length (16 bytes excluding checksum)
n 0x17 = Remote Command API frame type
n 0x01 = Frame ID
n 0x0000000000000000 = Coordinator's address (can be replaced with coordinator's actual 64-
bit address if known)
n 0xFFFE = 16- bit Destination Address
n 0x02 = Apply Changes (Remote Command Options)
n 0x4431 = AT command (D1)
n 0x03 = Command Parameter (the parameter could also be sent as 0x0003 or 0x00000003)
0x70 = Checksum
API serial exchanges
You can use the Frame ID field to correlate between the outgoing frames and associated responses.
AT commands
The following image shows the API frame exchange that takes place at the serial interface when
sending an AT command request to read or set a device parameter. You can disable the response by
setting the frame ID to 0 in the request.

Table of Contents

Other manuals for Digi XBee

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBee and is the answer not in the manual?

Digi XBee Specifications

General IconGeneral
Operating Frequency2.4 GHz
RF Data Rate250 kbps
ModelXBee S2C
CategoryControl Unit
Operating Voltage2.1 to 3.6V DC
Operating Temperature-40 to +85 °C
InterfaceUART
Dimensions24.38 x 27.61 x 9.14 mm

Related product manuals