Api Frames; At Command Frame - 0X08 - Digi XLR PRO User Manual

Radio frequency (rf) module
Hide thumbs Also See for XLR PRO:
Table of Contents

Advertisement

Operate in API mode
void XBee_HandleRxAPIFrame(_apiFrameUnion *papiFrame){
switch(papiFrame->api_id){
}
}

API frames

The following sections document API frame types.

AT Command frame - 0x08

Description
Use this frame to query or set device parameters on the local device. This API command applies
changes after running the command. You can query parameter values by sending the 0x08 AT
Command frame with no parameter value field (the two-byte AT command is immediately followed by
the frame checksum).
A 0x88 response frame is populated with the parameter value that is currently set on the device.
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Frame
data
fields
Offset Description
Frame
3
type
AT
5-6
command
7-n
Parameter
value
XLR PRO Radio Frequency (RF) Module User Guide
case RX_RF_DATA_FRAME:
//process received RF data frame
break;
case RX_IO_SAMPLE_FRAME:
//process IO sample frame
break;
case NODE_IDENTIFICATION_FRAME:
//process node identification frame
break;
default:
//Discard any other API frame types that are not being used
break;
0x08
Command name: two ASCII characters that identify the AT command.
If present, indicates the requested parameter value to set the given register.
If no characters are present, it queries the register.

API frames

API frame
84

Advertisement

Table of Contents
loading

Table of Contents