This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Redundant APS acknowledgements?

Hi All,

I am having an issue where it seems that I am getting duplicate APS acknowledgments?

I say this because the sequence number within the the NWK frame and MAC frame are duplicated. (A snapshot of the packet sniffer for the first message is attached).

Our application works such as this:

The coordinator sends out a message with APS acknowledgement enabled. The end device, upon receiving the message, sets the polling rate to 0, so that if the coordinator tries to send another message while the end device is still processing the current message, no APS acknowledgement is generated and the coordinator continues to try and resend that same failed message until an APS acknowledment is received... which should hypothetically occur when the end device finishes processing the current message and sets the polling rate back to 1 second.

However, based on our debugging information (when trying to send 3 messages)... the coordinator counts 3 sent messages (counter for number of AF_DataRequests) and 3 APS acknowledgements (ZSuccess within the AF_DATA_CONFIRM_CMD event). However, the end device looks like it only receives 2 messages (counter for number of AF_INCOMING_MSG_CMD events).

We believe it has to do with the fact that we are getting duplicate ACKs, but we are having some issues determining what could cause this scenario.

Any help is greatly appreciated.