Hi team,
I am developing an application for the JN-AN-1246-Zigbee-3-0-Sensors door sensor. When a gpio interrupt occurs, the device wakes up, rejoins the network, reports its status to the Coordinator, and then goes back to deep sleep. Everything works as I intended when I let my device join the network.
Then I turned off the Coordinator's power. At this point, my door sensor tries to rejoin the network but fails -> this is obvious, everything is still ok.
When I turn the Coordinator's power back on, my sensor rejoins the network and then reports its status, but this time it does not go to sleep immediately, it takes 5 seconds before it goes back to deep sleep.
From my debugging at this point: APP_vBdbCallback sZpsAfEvent = BDB_EVENT_ZPSAF
psStackEvent->eType = ZPS_EVENT_NWK_POLL_CONFIRM
sNwkPollConfirmEvent.u8Status = MAC_ENUM_NO_DATA
As far as I know, in this state, the device should go to deep sleep, but at this time it repeats 5 times in 5 seconds before going to deep sleep.
Sorry if my explanation is a bit confusing, I will provide more information if you need it.
Please give me more information about this issue. Thank you.