Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.TinyDB.NetworkMultiHopM.nc
Component: NetworkMultiHopM
Author:
Wei Hong
Required Interfaces
Send
Intercept
Intercept
Snoop
MultiHopMonitor
StdControl
MultiHopStdControl
RouteControl
MultiHopControl
SendMsg
SendQueryMsg
SendMsg
SendDataMsg
SendMsg
SendStatusMsg
SendMsg
SendQueryRequest
SendMsg
SendCommandMsg
ReceiveMsg
RcvQueryMsg
ReceiveMsg
RcvDataMsg
ReceiveMsg
RcvRequestMsg
ReceiveMsg
RcvCommandMsg
ReceiveMsg
RcvStatusMessage
CommandUse
QueryProcessor
Leds
QueueControl
Provided Interfaces
Network
StdControl
NetworkMonitor
Variables
TOS_Msg mDbg
bool mWasCommand
uint8_t mLastSeqNo
Function Index
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
command QueryResultPtr
Network.getDataPayLoad
(TOS_MsgPtr msg)
command TinyDBError
Network.sendDataMessage
(TOS_MsgPtr msg)
command TinyDBError
Network.sendDataMessageTo
(TOS_MsgPtr msg, uint16_t to)
event result_t
Send.sendDone
(TOS_MsgPtr msg, result_t success)
command QueryMessagePtr
Network.getQueryPayLoad
(TOS_MsgPtr msg)
command TinyDBError
Network.sendQueryMessage
(TOS_MsgPtr msg)
command QueryRequestMessagePtr
Network.getQueryRequestPayLoad
(TOS_MsgPtr msg)
command TinyDBError
Network.sendQueryRequest
(TOS_MsgPtr msg, uint16_t to)
event result_t
SendQueryMsg.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
SendCommandMsg.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
SendQueryRequest.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
SendDataMsg.sendDone
(TOS_MsgPtr msg, result_t success)
event result_t
SendStatusMsg.sendDone
(TOS_MsgPtr msg, result_t success)
event TOS_MsgPtr
RcvQueryMsg.receive
(TOS_MsgPtr msg)
event TOS_MsgPtr
RcvRequestMsg.receive
(TOS_MsgPtr msg)
event result_t
Intercept.intercept
(TOS_MsgPtr msg, void *payload, uint16_t payloadLen)
event result_t
Snoop.intercept
(TOS_MsgPtr msg, void *payload, uint16_t payloadLen)
event TOS_MsgPtr
RcvCommandMsg.receive
(TOS_MsgPtr msg)
Intercept schema command messages so that they can be forwarded from the root out to the rest of the nodes
event TOS_MsgPtr
RcvStatusMessage.receive
(TOS_MsgPtr msg)
event TOS_MsgPtr
RcvDataMsg.receive
(TOS_MsgPtr msg)
command uint16_t
NetworkMonitor.getContention
(void)
command void
NetworkMonitor.updateContention
(bool failure, int status)
command uint16_t
NetworkMonitor.getParent
(void)
command uint8_t
NetworkMonitor.getQueueLength
(void)
command uint8_t
NetworkMonitor.getXmitCount
(void)
command uint8_t
NetworkMonitor.getQuality
(void)
command uint8_t
NetworkMonitor.getDepth
(void)
command uint8_t
NetworkMonitor.getMHopQueueLength
(void)
event result_t
CommandUse.commandDone
(char *commandName, char *resultBuf, SchemaErrorNo err)
event result_t
QueryProcessor.queryComplete
(ParsedQueryPtr q)