Hello:
I’m experimenting with message relaying timeout and I want to count the number of messages a router discards.
I have the following scenario: one coordinator, one router and one sleeping end device (ZED). The coordinator sends messages to the ZED through the router because the ZED doesn’t see the coordinator. I use a configurable poll rate at the ZED and a fixed NWK_INDIRECT_MSG_TIMEOUT at the router.
My router is working with Z-Tool and I want to execute this instruction
debug_str("Discarded one message");
whenever the router discard a message to the ZED.
Where in the code can I place the debug string?
I have ZStack-CC2530-2.5.1a and my code is based on Generic_App.
Tks
Pedro