📄 tos.lib.route.multihopenginem.nc.html
字号:
<html><head><title>Component: MultiHopEngineM</title></head><body><table BORDER="0" CELLPADDING="3" CELLSPACING="0" width="100%"><tr><td><font size="-1"><b><font color="blue"><a href="apps_p.html">Apps</a></font></b> <b><a href="components_p.html">Components</a></b> <b><a href="interfaces_p.html">Interfaces</a></b> <b><a href="allfiles_p.html">All Files</a></b> <b><a href="index.html">Source Tree</a></b> </font></td><td align="right"><font size="-1">source: <b><a href="tos.lib.Route.MultiHopEngineM.nc.source">tos.lib.Route.MultiHopEngineM.nc</a></b></font></td></tr></table><hr><h1 align="center">Component: MultiHopEngineM</h1><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Required Interfaces</h3></td></tr></table><ul><li> <a href="tos.interfaces.ReceiveMsg.nc.html">ReceiveMsg</a> <li> <a href="tos.interfaces.SendMsg.nc.html">SendMsg</a> <li> <a href="tos.interfaces.RouteControl.nc.html">RouteControl</a> RouteSelectCntl<li> <a href="tos.interfaces.RouteSelect.nc.html">RouteSelect</a> <li> <a href="tos.interfaces.StdControl.nc.html">StdControl</a> SubControl<li> <a href="tos.interfaces.CommControl.nc.html">CommControl</a> <li> <a href="tos.interfaces.StdControl.nc.html">StdControl</a> CommStdControl</ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Provided Interfaces</h3></td></tr></table><ul><li> <a href="tos.interfaces.StdControl.nc.html">StdControl</a> <li> <a href="tos.interfaces.Receive.nc.html">Receive</a> <li> <a href="tos.interfaces.Send.nc.html">Send</a> <li> <a href="tos.interfaces.Intercept.nc.html">Intercept</a> <li> <a href="tos.interfaces.Intercept.nc.html">Intercept</a> Snoop<li> <a href="tos.interfaces.RouteControl.nc.html">RouteControl</a> </ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Variables</h3></td></tr></table><ul><li> struct TOS_Msg FwdBuffers[MultiHopEngineM.FWD_QUEUE_SIZE]<li> struct TOS_Msg *FwdBufList[MultiHopEngineM.FWD_QUEUE_SIZE]<li> uint8_t iFwdBufHead<li> uint8_t iFwdBufTail<li> int timer_rate<li> int timer_ticks</ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Function Index</h3></td></tr></table><ul><li> static void <b>initialize</b>(void)<menu>********************************************************************* Initialization *********************************************************************</menu><p><li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.init(void)"><b>StdControl.init</b> </a>(void)<li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.start(void)"><b>StdControl.start</b> </a>(void)<li> command result_t <a href="tos.interfaces.StdControl.nc.html#command result_t StdControl.stop(void)"><b>StdControl.stop</b> </a>(void)<li> command result_t <a href="tos.interfaces.Send.nc.html#command result_t Send.send(uint8_t id, TOS_MsgPtr pMsg, uint16_t PayloadLen)"><b>Send.send</b> </a>(uint8_t id, TOS_MsgPtr pMsg, uint16_t PayloadLen)<menu>********************************************************************* Commands and events*********************************************************************</menu><p><li> command void <a href="tos.interfaces.Send.nc.html#command void Send.getBuffer(uint8_t id, TOS_MsgPtr pMsg, uint16_t *length)"><b>Send.getBuffer</b> </a>(uint8_t id, TOS_MsgPtr pMsg, uint16_t *length)<li> static TOS_MsgPtr <b>mForward</b>(TOS_MsgPtr pMsg, uint8_t id)<li> event TOS_MsgPtr <a href="tos.interfaces.ReceiveMsg.nc.html#event TOS_MsgPtr ReceiveMsg.receive(uint8_t id, TOS_MsgPtr pMsg)"><b>ReceiveMsg.receive</b> </a>(uint8_t id, TOS_MsgPtr pMsg)<li> event result_t <a href="tos.interfaces.SendMsg.nc.html#event result_t SendMsg.sendDone(uint8_t id, TOS_MsgPtr pMsg, result_t success)"><b>SendMsg.sendDone</b> </a>(uint8_t id, TOS_MsgPtr pMsg, result_t success)<li> command uint16_t <a href="tos.interfaces.RouteControl.nc.html#command uint16_t RouteControl.getParent(void)"><b>RouteControl.getParent</b> </a>(void)<li> command uint8_t <a href="tos.interfaces.RouteControl.nc.html#command uint8_t RouteControl.getQuality(void)"><b>RouteControl.getQuality</b> </a>(void)<li> command uint8_t <a href="tos.interfaces.RouteControl.nc.html#command uint8_t RouteControl.getDepth(void)"><b>RouteControl.getDepth</b> </a>(void)<li> command uint8_t <a href="tos.interfaces.RouteControl.nc.html#command uint8_t RouteControl.getOccupancy(void)"><b>RouteControl.getOccupancy</b> </a>(void)<li> command uint16_t <a href="tos.interfaces.RouteControl.nc.html#command uint16_t RouteControl.getSender(TOS_MsgPtr msg)"><b>RouteControl.getSender</b> </a>(TOS_MsgPtr msg)<li> command result_t <a href="tos.interfaces.RouteControl.nc.html#command result_t RouteControl.setUpdateInterval(uint16_t Interval)"><b>RouteControl.setUpdateInterval</b> </a>(uint16_t Interval)<li> command result_t <a href="tos.interfaces.RouteControl.nc.html#command result_t RouteControl.manualUpdate(void)"><b>RouteControl.manualUpdate</b> </a>(void)<li> event result_t <a href="tos.interfaces.Send.nc.html# event result_t Send.sendDone(uint8_t id, TOS_MsgPtr pMsg, result_t success)"><b>Send.sendDone</b> </a>(uint8_t id, TOS_MsgPtr pMsg, result_t success)<li> event result_t <a href="tos.interfaces.Intercept.nc.html# event result_t Intercept.intercept(uint8_t id, TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)"><b>Intercept.intercept</b> </a>(uint8_t id, TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)<li> event result_t <a href="tos.interfaces.Intercept.nc.html# event result_t Snoop.intercept(uint8_t id, TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)"><b>Snoop.intercept</b> </a>(uint8_t id, TOS_MsgPtr pMsg, void *payload, uint16_t payloadLen)</ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -