
API frame format
XLR PRO Radio Frequency (RF) Modem User Guide
56
This example shows if escaping is disabled (AP=1).
Example
: The example above shows how to send a transmission to an XLR PRO where escaping is disabled (AP=1)
with destination address 0x0013A200 40014011, payload "TxData0A". If escaping is enabled (AP=2), the frame should
look like:
0x7E 0x00 0x16 0x10 0x01 0x00 0x7D 0x33 0xA2 0x00 0x40 0x0A 0x01 0x27
0xFF 0xFE 0x00 0x00 0x54 0x78 0x44 0x61 0x74 0x61 0x30 0x41 0x7D 0x33
The checksum is calculated (on all non-escaped bytes) as [0xFF - (sum of all bytes from API frame type through data
payload)].
Explicit TX Request
Frame type: 0x11
Allows application layer fields (endpoint and cluster ID) to be specified for a data transmission. Similar to the TX
Frame fields
Offset
Example
Description
Start Delimiter
0
0x7E
Length
MSB 1
0x00
Number of bytes between the length and the checksum
LSB 2
0x16
Frame-specific
data
Frame type
3
0x10
Frame ID
4
0x01
Identifies this command for correlation to a later
response frame (0x8B) to this command. If set to 0, no
response frame will be sent.
64-bit destination
address
MSB 5
0x00
Set to the 64-bit address of the destination device. The
following address is also supported:
0x000000000000FFFF—Broadcast address
6
0x13
7
0xA2
8
0x00
9
0x40
10
0x0A
11
0x01
LSB 12
0x27
Reserved
13
0xFF
Set to 0xFFFE.
14
0xFE
Broadcast radius 15
0x00
Sets maximum number of hops a broadcast
transmission can occur. If set to 0, the broadcast radius
will be set to the maximum hops value.
Transmit options 16
0x00
If the Transmit Options Bitfield is 0, then the TO
parameter will be used.
Bitfield:
bit 0: Disable ACK
bits 6,7: b’01 - Point-Multipoint
b’10 - Repeater mode (directed broadcast)
All other bits must be set to 0.
RF data
17
0x54
Payload data that is sent to the destination device.
18
0x78
19
0x44
20
0x61
21
0x74
22
0x61
23
0x30
24
0x41
Checksum
25
0x13
0xFF—The 8-bit sum of bytes from offset 3 to this byte.