Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.Broadcast.BcastM.nc
Component: BcastM
Required Interfaces
StdControl
SubControl
ReceiveMsg
SendMsg
Provided Interfaces
StdControl
Receive
Variables
int16_t BcastSeqno
struct TOS_Msg FwdBuffer[BcastM.FWD_QUEUE_SIZE]
uint8_t iFwdBufHead
uint8_t iFwdBufTail
Function Index
static void
initialize
(void)
********************************************************************* Initialization *********************************************************************
static bool
newBcast
(int16_t proposed)
********************************************************************* Internal functions *********************************************************************
static void
FwdBcast
(TOS_BcastMsg *pRcvMsg, uint8_t Len, uint8_t id)
command result_t
StdControl.init
(void)
********************************************************************* Commands and events *********************************************************************
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
event result_t
SendMsg.sendDone
(uint8_t id, TOS_MsgPtr pMsg, result_t success)
event TOS_MsgPtr
ReceiveMsg.receive
(uint8_t id, TOS_MsgPtr pMsg)
event TOS_MsgPtr
Receive.receive
(uint8_t id, TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)