XBee/XBeePRO"燨EM燫F燤odules??02.15.4?爒1.xAx燵2007.05.031]
2007燤axStream,營nc.
牋牋?5
Chapter??燫F燤odule燙onfiguration
Data bytes that need to be escaped:
"0x7E  Frame Delimiter
" 0x7D  Escape
" 0x11  XON
" 0x13  XOFF
Note: In the above example, the length of the raw data (excluding the checksum) is 0x0002 and
the checksum of the non-escaped data (excluding frame delimiter and length) is calculated as:
0xFF - (0x23 + 0x11) = (0xFF - 0x34) = 0xCB.
Checksum
To test data integrity, a checksum is calculated and verified on non-escaped data.
To calculate: Not including frame delimiters and length, add all bytes keeping only the lowest 8 
bits of the result and subtract from 0xFF.
To verify: Add all bytes (include checksum, but not the delimiter and length). If the checksum is 
correct, the sum will equal 0xFF.
3.4.2. API Types
Frame data of the UART data frame forms an API-specific structure as follows:
Figure?03.  UART燚ata燜rame?燗PIspecific燬tructure:
The cmdID frame (API-identifier) indicates which API messages will be contained in the cmdData
frame (Identifier-specific data). Refer to the sections that follow for more information regarding
the supported API types. Note that multi-byte values are sent big endian.
Modem Status
API Identifier: 0x8A
RF module status messages are sent from the module in response to specific conditions.
Figure?04.  燤odem燬tatus燜rames
Example - Raw UART Data Frame (before escaping interfering bytes):  
  0x7E 0x00 0x02 0x23 0x11 0xCB
0x11 needs to be escaped which results in the following frame:
0x7E 0x00 0x02 0x23 0x7D 0x31 0xCB
Length
(Bytes 2-3)
Checksum
(Byte n + 1)
MSB
LSB
1 Byte
Start Delimiter
(Byte 1)
0x7E
Frame Data
(Bytes 4-n)
API-specific Structure
Identifier-specific Data
cmdData
API Identifier
cmdID
cmdData
0x8A
Length
Checksum
Start Delimiter
Frame Data
Identifier-specific Data
API Identifier
MSB
LSB
0x7E
1 Byte
API-specific Structure
Status (Byte 5)
0 = Hardware reset
1 = Watchdog timer reset
2 = Associated
3 = Disassociated
4 = Synchronization Lost
  (Beacon-enabled only)
5 = Coordinator realignment
6 = Coordinator started
相关PDF资料
XIB-E BOARD INTERFACE ETHERNET
XIB-R BOARD INTERFACE RS232/485
ZMN2400HPDB BOARD ROUTER DEV ZIGBEE 100MW
ZMN24HPDK-B KIT DEV W/ZIGBEE ZMN2400HP
ZNI1000TC IC TEMP SENSOR NI1000 SOT23-3
02110102-000 SNSR TILT RATIO 60DEG 500MA FLNG
1-5209285-2 FOPC BOA 12DB FC/UPC BP SM
2-1693560-0 BOA 20DB LC/UPC BB
相关代理商/技术参数
XBIB-U-DEV 功能描述:界面开发工具 USB XBee-PRO profes onal interface board RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
XBIB-U-SP 功能描述:界面开发工具 USB/Xbee/Xbee-Pro Inf Brd SMT Pads RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
XBIB-U-SS 功能描述:界面开发工具 USB/Xbee/Xbee-Pro Inf Brd SMT Skt RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
XBL6450BYFVR 制造商:Texas Instruments 功能描述:ECS BLUELINK - Tape and Reel
XBL6450YFHR 制造商:Texas Instruments 功能描述:
XBLYGK2 制造商:Schneider Electric 功能描述:INSERT LABELS FOR XBTGK2XXX
XBLYGK5 制造商:Schneider Electric 功能描述:INSERT LABELS FOR XBTGK5XXX
XBLYRT01 制造商:Schneider Electric 功能描述:Label inserts for XBTRT511