Hi y'all.
I have an issue regarding sending-receiving data between EndDevice and Coordinator. Somehow, im getting a Dump Stack from my program when i receive a broadcast message at the precise moment when i'm sending data. I have been investigating deep sleep related content, such as PWRM_eScheduleActivity() and PWRM_u16GetActivityCount().
At the moment, the code in every cycle runs at the end a PWRM_eScheduleActivity() before going to sleep. Eventually, it starts sending data. The error occurs when is sending data and changing accordingly the application FSM, here the broadcast is receive in a poll data function ZPS_eAplZdoPoll().
There's a way to avoid going to sleep when some events are occurring, just like broadcast and SEND_DATA?
I'm relying on JN-AN-1229-ZBPro-Application-Template with the change that my app can schedule an activity and go to deep sleep. Also, in order to send data it has to wait 600ms in the process, this is way it has a finite state machine, so it can wait on the while True cycle.
I hope this information is enough. What gives?