
API operation
9XTend-PKG-R RS-232/485 RF Modem User Guide
69
RF Modem Status Frames
TX (Transmit) Request: 16-bit address
API Identifier Value: 0x01
A TX Request message will cause the modem to send RF Data as an RF Packet.
TX Packet (16-bit address) Frames
Example: TX Packet API Frames
TX (Transmit) Status
API Identifier Value: 0x89
When a TX Request is completed, the modem sends a TX Status message. This message will indicate if the packet was
transmitted successfully or if there was a failure.
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
cmdData
0x01
Length
Checksum
Start Delimiter
Frame Data
Identifier-specific Data
API Identifier
MSB
LSB
0x7E
1 Byte
API-specific Structure
Frame ID (Byte 5)
Identifies the UART data frame for the host to
correlate with a subsequent ACK (acknowledgement).
Setting Frame ID to ‘0' will disable response frame.
Destination Address (Bytes 6-7)
MSB first, LSB last.
Broadcast = 0xFFFF
Options (Byte 8)
0 = Standard
1 = Disable ACK
RF Data (Byte(s) 9-n)
Up to 2048 Bytes per packet
*
Length
[Bytes]
=
API
Identifier
+
Frame
ID
+
Option
+
RF
Data
**
“R”
value
was
arbitrarily
selected
Checksum
0x18
Byte 12
Destination Address
Bytes 6-7
0xFFFF
Option
0x00
Byte 8
Frame ID**
R (0x52)
Byte 5
Length*
Bytes 2-3
0x00 0x08
API Identifier
0x01
Byte 4
Start Delimiter
Byte 1
0x7E
RF Data
1 (0x31) 2 (0x32) 3 (0x33)
Bytes 9-11