I have an application running on my main processor that talks to the Zigbee firmware running on the ZigBee chip (in this case JN5169).
Whenever I send a command to a device that is offline, I stop when I receive the 0x8702 reply (APS Data Confirm Fail).
However, when I now try to send a new command (to the same or a different device), I receive a status message (0x8000) with error code 0x15 (E_ZCL_ERR_ZTRANSMIT_FAIL).
It now takes several seconds before I can send again.
How should I handle E_ZCL_ERR_ZTRANSMIT_FAIL?
Is there a better solution to handle this issue than to wait until I can send again?
I am using using JN-AN-1223 with JN-SW-4168 v1470
Hi,
This authentication interval must be set on all potential parent nodes via the network parameter APS Security Timeout Period
10.7 Advanced Device Parameters
APS Inter-frame Delay
Number of milliseconds between APS data frames. Following transmission of each data block, the APS starts a timer. If there are more unacknowledged blocks to send in the current transmission window then, after a delay of apsInterframeDelay milliseconds the next block is passed to the NWK data service. Otherwise, the timer is set to apscAckWaitDuration seconds.
http://www.nxp.com/documents/user_manual/JN-UG-3101.pdf?fsrch=1&sr=5&pageNum=1
Hope it helps.
Mario