I am using ZStack-CC2530-2.4.0-1.4.0 on an application based on the SampleApp project. I want to send data packets from a Coordinator to a EndDevice。
I use AF_DataRequest without APS_ACK to send a packet,then in the AF_DATA_CONFIRM_CMD,
afDataConf=(afDataConfirm_t *)MSGpkt;
sentStatus=afDataConf->hdr.status;
if ( sentStatus != ZSuccess ),
{
//this packet will be re-transmitted;
}
else
{
//the next packet will be send.
}
But in the experiment,the data packets aren't sent successfully,some packets are lost although I get ZSuccess in the AF_DATA_CONFIRM_CMD.Why does this happen?