]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestFtsp/FtspLpl/TestFtspC.nc
Fix the apps affected by the changes in the LowPowerListening interface.
[tinyos-2.x.git] / apps / tests / TestFtsp / FtspLpl / TestFtspC.nc
index ed8f504d1c9b5b3d98e977eaaa5c6790119f35c7..fe377e0ce17c0742b517b61319700ab0ec71e5cc 100755 (executable)
@@ -100,7 +100,7 @@ implementation
     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();
@@ -117,7 +117,7 @@ implementation
 
     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){}