Other Parts Discussed in Thread: CC2530, Z-STACK
I want to make a device to do something after the CC2530 wake up for polling data from parent.
I am using the Z-Stack 2.3.0 with CC2530. I have set the CC2530 to PM2, so that the CC2530 wakes up once every 8 seconds for polling data from parent. However, I can't find how to add some code to do something after the device finishing polling data from parent.
If I add another event with osal_exTimer for every 8 seconds, the CC2530 wakes up twice within 8 seconds. One for polling data, and another one for executing the set event.
I need to reduce the number for wakeup in order to reduce power consumption, but I find that it is not easy to do so with z-stack.