Specifications
XBee®/XBee‐PRO®SERFModules
©2009DigiInternational,Inc. 87
API Frames
The following sections illustrate the types of frames encountered while using the API.
AT Command
Frame Type: 0x08
Used to query or set module parameters on the local device. This API command applies changes
after executing the command. (Changes made to module parameters take effect once changes are
applied.) The API example below illustrates an API frame when modifying the NJ parameter value
of the module.
case 0x11:
Parse_ExplicitAddressingZigBeeCommandFrame (papiFrame);
break;
case 0x17:
Parse_ZigBeeRemoteATCommand(papiFrame); break;
case 0x24:
Parse_ZigBeeRegisterJoiningDevice (papiFrame); break;
case 0x8B: Parse_ZigBeeTxStatus(papiFrame );
break;
case 0x90: Parse_ZigBeeRxIndicator(papiFrame);
break;
case 0x21:
Parse_ZigBeeCreateSourceRoute (papiFrame); break;
case 0x91:
Parse_ZigBeeExplicitRxIndicator (papiFrame); break;
case 0xA1:
Parse_ZigBeeRouteRecordIndicator (papiFrame); break;
case 0xA2:
Parse_ZigBeeDeviceAuthenticatedIndicator (papiFrame ); break;
case 0xA3:
Parse_ZigBeeManyToOneRouteRequestIndicator (papiFrame);
break;
case 0xA4:
Parse_ZigBeeRegisterJoiningDeviceStatus (papiFrame ); break;
default:
// Discard any other API frame types that are not
being used
break;
}
}