Apps
Components
Interfaces
All Files
Source Tree
source:
apps.HighFrequencySampling.HFSM.nc
Component: HFSM
Perform sampling in response to outside request
Required Interfaces
Sampling
SendMsg
ReceiveMsg
AllocationReq
Leds
Provided Interfaces
StdControl
Variables
bool ready
TOS_Msg msg
uint32_t dataEnd
struct SampleRequestMsg o
task void doSampling(void)
Function Index
void
setReady
(void)
void
notReady
(void)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
event result_t
AllocationReq.requestProcessed
(result_t success)
event TOS_MsgPtr
ReceiveMsg.receive
(TOS_MsgPtr m)
void
sendMsg
(uint8_t outcome)
event result_t
SendMsg.sendDone
(TOS_MsgPtr m, result_t ok)
void
complete
(uint8_t outcome)
task void
doSampling
(void)
event result_t
Sampling.ready
(result_t ok)
event result_t
Sampling.done
(result_t ok, uint32_t lastOffset)