I have a CC1352P-2 LaunchPad, Simplelink_cc13x2_26x2_sdk version 3.20.0.68, My project is based on the zed_switch example project.
I'm sending several Zigbee messages in a row to my coordinator, using the Zstackapi_AfDataReq() function. Only some of these messages get through to the coordinator. In my end device, in function zclSampleSw_processZStackMsgs() I'm processing the zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND, which is a callback message that is supposed to indicate the success or failure of each message sent using the Zstackapi_AfDataReq() function. The success or failure is determined by looking at the status value in the callback message.
However, the status value that is being returned is a value I don't recognize. The status values are defined in the zstack_ZStatusValues enumeration in file zstack.h. However the value I'm getting is 0xE9, which is not one of the values in this enumeration. So what does 0xE9 mean?
Here is a code snippet:
case zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND:
{
// This message is sent from ZStack thread to indicate that the message (zstackmsg_afDataReq) was sent or not sent.
zstackmsg_afDataConfirmInd_t *pInd;
pInd = (zstackmsg_afDataConfirmInd_t*) pMsg;
// See zstack_afDataConfirmInd_t enumeration in zstack.h to determine the meaning of the status value.
// I'm getting 0xE9 for status, which is not in the enumeration of acceptable values.
printf("status is %#x, endpoint is %d, transID is %d\n", pInd->req.status, pInd->req.endpoint, pInd->req.transID);
}
break;
Thanks,
Tim