XTIB-R Digi International/Maxstream, XTIB-R Datasheet - Page 41

no-image

XTIB-R

Manufacturer Part Number
XTIB-R
Description
BOARD INTERFACE 1W RS232/485
Manufacturer
Digi International/Maxstream
Datasheets

Specifications of XTIB-R

Accessory Type
Interface Board
For Use With/related Products
XTend Radios
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
Q2172356
9XTend™ OEM RF Module ‐ Product Manual v2.x4x [2007.01.04]
3.4.2. API Types
Checksum
RF Module Status
Data bytes that need to be escaped:
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.
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.
Frame data of the UART data frame forms an API-specific structure as follows:
Figure 3‐03. UART Data Frame & API‐specific Structure:
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.
API Identifier: 0x8A
RF module status messages are sent from the module in response to specific conditions.
Figure 3‐04.  RF Module Status Frames
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
© 2007 MaxStream, Inc.
• 0x7E – Frame Delimiter
• 0x7D – Escape
• 0x11 – XON
• 0x13 – XOFF
Start Delimiter
Start Delimiter
(Byte 1)
0x7E
0x7E
MSB
Length
MSB
(Bytes 2-3)
LSB
Length
API Identifier
0x8A
LSB
API Identifier
API-specific Structure
0 = Hardware reset
1 = Watchdog timer reset
cmdID
Frame Data
Identifier-specific Data
API-specific Structure
Status (Byte 5)
cmdData
Frame Data
(Bytes 4- n)
Chapter 3 ‐ RF Module Configuration
Identifier-specific Data
Checksum
1 Byte
cmdData
(Byte n + 1)
Checksum
1 Byte
     41

Related parts for XTIB-R