Apps     Components     Interfaces     All Files     Source Tree     source: apps.TestSnooze.TestSnooze.nc

Component: TestSnooze

TestSnooze is a basic application that illustrates the use of the Snooze component to put the mote into a low power state for a user-defined period. The mote will be on, wait for three Clock.fire() events, and then enter the low power state. The soft state (variables, etc) of the application are preserved in SRAM on the microprocessor. One can notice the internal private sleep() function causes the mote to sleep for 4 seconds.

Requirements:

Motes must be physically modified in order to Snooze. Information about the modification is available at: http://webs.cs.berkeley.edu/tos/hardware/diode_html.html

Platforms:

This application will only work on the Mica and Mica128 platforms.
Author: Joe Polastre

Component Graph   (text version,   help)


Main TestSnoozeM StdControl StdControl StdControl ClockC Clock Clock Clock LedsC Leds Leds Leds SnoozeC Snooze Snooze Snooze