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

Component: TestSnoozeM

Implementation of the TestSnooze application
Author: Joe Polastre

Required Interfaces

Provided Interfaces

Variables

Function Index

Function Descriptions

StdControl.init

command result_t StdControl.init (void)

Initialize the component.
Returns: Always returns SUCCESS

StdControl.start

command result_t StdControl.start (void)

Start things up. This just sets the rate for the clock component.
Returns: Always returns SUCCESS

Clock.fire

async event result_t Clock.fire (void)

Toggle the red LED in response to the Clock.fire event. After 3 clock events, go to sleep.
Returns: Always returns SUCCESS