
API frame format
XLR PRO Radio Frequency (RF) Modem User Guide
62
In the above example, a device with a 64-bit address of 0x0013A200 40522BAA sends a broadcast data transmission to
a remote device with payload "RxData". Suppose the transmission was sent with source and destination endpoints of
0xE0, cluster ID=0x2211, and profile ID=0xC105. If AO=1 on the receiving device, it would send the above frame out its
serial interface.
Remote command response
Frame type: 0x97
If an XLR PRO receives a remote command response RF data frame in response to a Remote AT Command Request,
the XLR PRO will send a Remote AT Command Response message out the active serial interface. Some commands
may send back multiple frames--for example, Node Discover (ND) command.
If a remote command is sent to a remote device with 64-bit address 0x0013A200 40522BAA to query the SL command,
and if the frame ID=0x55, the response would look like the above example.
Frame fields
Offset
Example
Description
Start delimiter
0
0x7E
Length
MSB 1
0x00
Number of bytes between the length and the checksum
LSB 2
0x13
Frame-specific
data
Frame type
3
0x97
Frame ID
4
0x55
This is the same value passed in to the request. If Frame
ID = 0 in the associated request frame then no response
frame will be delivered.
64-bit source
(remote) address
MSB 5
0x00
The address of the remote radio returning this response.
6
0x13
7
0xA2
8
0x00
9
0x40
10
0x52
11
0x2B
LSB 12
0xAA
Reserved
13
0xFF
Reserved
14
0xFE
AT commands
15
0x53
Name of the command
16
0x4C
Command status 17
0x00
The least significant nibble indicates the command
status:
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
The most significant nibble is a bitfield as follows:
0x40 = The RSSI field is invalid and should be ignored.
0x80 = Response is a remote command.
Frame-specific
data
Command data
18
0x40
The value of the required register
19
0x52
20
0x2B
21
0xAA
Checksum
22
0xF4
0xFF—The 8-bit sum of bytes from offset 3 to this byte.