- command void LowPowerListening.setRxDutyCycle(message_t *msg, uint16_t d) {
- return call LowPowerListening.setRxSleepInterval(msg, dutyToSleep(d));
- }
-
- command uint16_t LowPowerListening.getRxDutyCycle(message_t *msg) {
- return sleepToDuty(call LowPowerListening.getRxSleepInterval(msg));
- }
-
- command uint16_t LowPowerListening.dutyCycleToSleepInterval(uint16_t d) {
- return dutyToSleep(d);
- }
-
- command uint16_t LowPowerListening.sleepIntervalToDutyCycle(uint16_t s) {
- return sleepToDuty(s);
- }
-