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