Apps
Components
Interfaces
All Files
Source Tree
source:
tos.system.AMStandard.nc
Component: AMStandard
Require Interfaces
result_t
sendDone
(void)
StdControl
UARTControl
BareSendMsg
UARTSend
ReceiveMsg
UARTReceive
StdControl
RadioControl
BareSendMsg
RadioSend
ReceiveMsg
RadioReceive
Leds
Timer
ActivityTimer
Provided Interfaces
StdControl
Control
SendMsg
ReceiveMsg
uint16_t
activity
(void)
Variables
bool state
TOS_MsgPtr buffer
uint16_t lastCount
uint16_t counter
Function Index
command bool
Control.init
(void)
command bool
Control.start
(void)
command bool
Control.stop
(void)
command uint16_t
activity
(void)
void
dbgPacket
(TOS_MsgPtr data)
result_t
reportSendDone
(TOS_MsgPtr msg, result_t success)
event result_t
ActivityTimer.fired
(void)
event result_t
SendMsg.sendDone
(uint8_t id, TOS_MsgPtr msg, result_t success)
event result_t
sendDone
(void)
task void
sendTask
(void)
command result_t
SendMsg.send
(uint8_t id, uint16_t addr, uint8_t length, TOS_MsgPtr data)
event result_t
UARTSend.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
RadioSend.sendDone
(TOS_MsgPtr msg, result_t success)
TOS_MsgPtr
received
(TOS_MsgPtr packet)
event TOS_MsgPtr
ReceiveMsg.receive
(uint8_t id, TOS_MsgPtr msg)
event TOS_MsgPtr
UARTReceive.receive
(TOS_MsgPtr packet)
event TOS_MsgPtr
RadioReceive.receive
(TOS_MsgPtr packet)