9XTend? ? OEM ? RF ? Module ?‐? Product ? Manual ? v2.x4x ? [2007.01.04]
Chapter ? 3 ?‐? RF ? Module ? Configuration
Data bytes that need to be escaped:
? 0x7E – Frame Delimiter
? 0x7D – Escape
? 0x11 – XON
? 0x13 – XOFF
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
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 ? 3 ‐ 03. UART ? Data ? Frame ? & ? API ‐ specific ? Structure:
Start Delimiter
(Byte 1)
Length
(Bytes 2-3)
Frame Data
(Bytes 4- n )
Checksum
(Byte n + 1)
0x7E
MSB
LSB
API-specific Structure
1 Byte
API Identifier
cmdID
Identifier-specific Data
cmdData
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.
RF Module Status
API Identifier: 0x8A
RF module status messages are sent from the module in response to specific conditions.
Figure ? 3 ‐ 04. ? RF ? Module ? Status ? Frames
Start Delimiter
Length
Frame Data
Checksum
0x7E
MSB
LSB
API-specific Structure
1 Byte
? ? 2007 ? MaxStream, ? Inc.
API Identifier
0x8A
Identifier-specific Data
cmdData
Status (Byte 5)
0 = Hardware reset
1 = Watchdog timer reset
????? 41
相关PDF资料
XT09-PKI-EA-NA MODEM RF 900MHZ 1W ETHER INT
XT09-SI MODULE RF 900MHZ 1W 115K W/RPSMA
XU-A11 X-STICK 2.4GHZ USB TO XBEE
XV-8000CB :3 50.3000KHZ+/-60DPS AUTOMOTIVE GYRO SENSOR +/-60DPS
YB03WKW01-6B-JB INDICATOR PB RECT WHT LED ILLUM
YGM1 C518 THERM PTC MINI-BEAD 3MM 180C
YQD120N0006 THERMISTOR PTC OCP 6 OHM 25C
Z4D-A01 PHOTO SENSOR 7.5MM REFLECT TYPE
相关代理商/技术参数
XT09-MI-MESH 功能描述:射频模块 9XTend, 1W Trnsvr MMCX,115000bps,Mesh RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09MINA 制造商:DIGI 功能描述:New
XT09-MI-NA 功能描述:射频模块 9XTend 1W transceiv encryption 9600 bps RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09-MT 功能描述:射频模块 9XTend 1W transceiv onnector 115000 bps RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09-PKC-U 功能描述:射频模块 9XTend 1W USB w/o accessories RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09-PKC-UA 功能描述:射频模块 900Mhz XTend 1W UBS 256-bit AES Encryp RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09-PKC-UA-NA 功能描述:射频模块 9XTend 1W USB w/accessories no AES RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
XT09-PKC-U-NA 功能描述:射频模块 9XTend 1W USB w/o accessories Intl RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm