event void RandomTimer.fired()
{
#ifdef LOW_POWER_LISTENING
- call LowPowerListening.setRxSleepInterval(&msg, LPL_INTERVAL);
+ call LowPowerListening.setRemoteWakeupInterval(&msg, LPL_INTERVAL);
#endif
if(locked && (call AMSend.send(4000, &msg, sizeof(test_ftsp_msg_t)) == SUCCESS)){
call Leds.led2On();
event void RadioControl.startDone(error_t err) {
#ifdef LOW_POWER_LISTENING
- call LowPowerListening.setLocalSleepInterval(LPL_INTERVAL);
+ call LowPowerListening.setLocalWakeupInterval(LPL_INTERVAL);
#endif
}
event void RadioControl.stopDone(error_t error){}