Apps
Components
Interfaces
All Files
Source Tree
source:
apps.Surge.SurgeM.nc
Component: SurgeM
Required Interfaces
ADC
Timer
Leds
StdControl
Sounder
Send
Receive
Bcast
MultiHopControl
Provided Interfaces
StdControl
Variables
bool sleeping[1000]
bool focused[1000]
bool rebroadcast_adc_packet[1000]
TOS_Msg MsgBuffer[1000]
bool send_busy[1000]
int timer_rate[1000]
int timer_ticks[1000]
Function Index
static void
initialize
(void)
********************************************************************* Initialization *********************************************************************
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
event result_t
Timer.fired
(void)
********************************************************************* Commands and events *********************************************************************
event result_t
ADC.dataReady
(uint16_t data)
event result_t
Send.sendDone
(TOS_MsgPtr pMsg, result_t success)
event TOS_MsgPtr
Bcast.receive
(TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)