Hi, Everyone
Maybe I have found a BUG in the ZStack-CC2530-2.5.1a.
The osal_start_timerEx() function in the osal layer should not allow timeout_value to be passed with the value of ZERO!
Because the osal_next_timeout() will also return 0 when it handles with such a 0-timeout timer, which means "the timer list is empty"!
This will become a fatal issue if POWER_SAVE feature is enabled. The processor would never wakeup and the even Watchdog would neither functioning since all clocks will be tuened off in PM3!
It took me more than 1 month to figure out this problem! Very puzzled and suffering.
I wish my post could save somebody else form such a disaster.
Regards.