Interface: tos.chips.cc2420.interfaces.PowerCycle
interface PowerCycle
Manage the CC2420's duty cycle and power management
- Author:
-
David Moss
Commands
command void setSleepInterval(uint16_t sleepIntervalMs)
Events
Commands - Details
getSleepInterval
command uint16_t getSleepInterval()
- Returns:
-
the sleep interval in [ms]
setSleepInterval
command void setSleepInterval(uint16_t sleepIntervalMs)
- Parameters:
-
sleepIntervalMs - the sleep interval in [ms]
Events - Details
detected
event void detected()
- Deprecated:
-
Should be removed in the future when the PowerCycle
component does packet-level detects and is in full control of radio
power.