
API frame format
XLR PRO Radio Frequency (RF) Modem User Guide
59
Suppose the BD parameter is changed on the local device with a frame ID of 0x01. If successful (parameter was valid),
the above response would be received.
Modem status
Frame type: (0x8A)
Radio status messages are sent from the XLR PRO in response to specific conditions.
The following API frame is returned when an API device powers up.
Transmit status
Frame type: 0x8B
When a TX Request is completed, the XLR PRO sends a TX Status message. This message will indicate if the packet was
transmitted successfully or if there was a failure.
Frame-specific
data
Frame type
3
0x88
Frame ID
4
0x01
Identifies the serial interface data frame being reported.
Note: If Frame ID = 0 in the associated request frame
then no response frame will be delivered..
AT command
5
0x42
Command Name—Two ASCII characters that identify the
AT command
BD
.
6
0x44
Command status 7
0x00
The least significant nibble indicates the command
status:
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
Command data
Register data in binary format. If the register was set,
then this field is not returned, as in this example.
Checksum
8
0xF0
0xFF—The 8-bit sum of bytes from offset 3 to this byte.
Frame fields
Offset
Example
Description
Start delimiter
0
0x7E
Length
MSB 1
0x00
Number of bytes between the length and the checksum
LSB 2
0x02
Frame-specific
data
Frame type
3
0x8A
Status
4
0x00
0x00 = Hardware reset
0x01 = Watchdog timer reset
Checksum
5
0x75
0xFF—The 8- bit sum of bytes from offset 3 to this byte.
Frame fields
Offset
Example
Description
Start delimiter
0
0x7E
Length
MSB 1
0x00
Number of bytes between the length and the checksum
LSB 2
0x07
Frame fields
Offset
Example
Description