]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/LowPowerListeningDummyP.nc
Big commit of the default lpl. These changes deprecate TEP105.
[tinyos-2.x.git] / tos / chips / rf2xx / layers / LowPowerListeningDummyP.nc
index 953fc28042991190afd88a255d8155c4611d48ae..a0294c28474f5bcbdcbf02f3591818e4b93c60f0 100644 (file)
@@ -28,23 +28,11 @@ module LowPowerListeningDummyP
 
 implementation
 {
-       command void LowPowerListening.setLocalSleepInterval(uint16_t sleepIntervalMs) { }
+       command void LowPowerListening.setLocalWakeupInterval(uint16_t intervalMs) { }
 
-       command uint16_t LowPowerListening.getLocalSleepInterval() { return 0; }
+       command uint16_t LowPowerListening.getLocalWakeupInterval() { return 0; }
   
-       command void LowPowerListening.setLocalDutyCycle(uint16_t dutyCycle) { }
+       command void LowPowerListening.setRemoteWakeupInterval(message_t *msg, uint16_t intervalMs) { }
   
-       command uint16_t LowPowerListening.getLocalDutyCycle() { return 10000; }
-  
-       command void LowPowerListening.setRxSleepInterval(message_t *msg, uint16_t sleepIntervalMs) { }
-  
-       command uint16_t LowPowerListening.getRxSleepInterval(message_t *msg) { return 0; }
-  
-       command void LowPowerListening.setRxDutyCycle(message_t *msg, uint16_t dutyCycle) { }
-  
-       command uint16_t LowPowerListening.getRxDutyCycle(message_t *msg) { return 10000; }
-  
-       command uint16_t LowPowerListening.dutyCycleToSleepInterval(uint16_t dutyCycle) { return 0; }
-
-       command uint16_t LowPowerListening.sleepIntervalToDutyCycle(uint16_t sleepInterval) { return 10000; }
+       command uint16_t LowPowerListening.getRemoteWakeupInterval(message_t *msg) { return 0; }
 }