⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tos.interfaces.baresendmsg.nc.html

📁 tinyos中文手册,是根据tinyos系统自带手册翻译过来的,虽然质量不好,但是对英文不强的人还是有用的
💻 HTML
字号:
<html><head><title>Interface: BareSendMsg</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>&nbsp;&nbsp;&nbsp;<b><a href="components_p.html">Components</a></b>&nbsp;&nbsp;&nbsp;<b><a href="interfaces_p.html">Interfaces</a></b>&nbsp;&nbsp;&nbsp;<b><a href="allfiles_p.html">All Files</a></b>&nbsp;&nbsp;&nbsp;<b><a href="index.html">Source Tree</a></b>&nbsp;&nbsp;&nbsp;</font></td><td align="right"><font size="-1">source: <b><a href="tos.interfaces.BareSendMsg.nc.source">tos.interfaces.BareSendMsg.nc</a></b></font></td></tr></table><hr><h1 align="center">Interface: BareSendMsg</h1><p> Functionality for sending a raw packet buffer; unaware of message structure (besides length). This is in contrast to SendMsg, which takes parameters for message headers. <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Jason Hill </td></tr><tr valign="top"><td>&nbsp;</td><td> David Gay </td></tr><tr valign="top"><td>&nbsp;</td><td> Philip Levis</td></tr></table><p><dl><dt>Components providing this interface:<dd>    <a href="tos.lib.CC2420Radio.CC2420RadioC.nc.html">tos.lib.CC2420Radio.CC2420RadioC</a><br>    <a href="tos.lib.CC2420Radio.CC2420RadioM.nc.html">tos.lib.CC2420Radio.CC2420RadioM</a><br>    <a href="tos.lib.CC2420Radio.RadioCRCPacket.nc.html">tos.lib.CC2420Radio.RadioCRCPacket</a><br>    <a href="tos.system.FramerM.nc.html">tos.system.FramerM</a><br>    <a href="tos.system.NoCRCPacket.nc.html">tos.system.NoCRCPacket</a><br>    <a href="tos.system.PacketSink.nc.html">tos.system.PacketSink</a><br>    <a href="tos.system.UARTFramedPacket.nc.html">tos.system.UARTFramedPacket</a><br></dl><p><dl><dt>Components requiring this interface:<dd>    <a href="tos.system.AMPromiscuous.nc.html">tos.system.AMPromiscuous</a><br>    <a href="tos.system.AMStandard.nc.html">tos.system.AMStandard</a><br></dl><p><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Commands</h3></td></tr></table><ul><li>         result_t     <a href="# result_t send(TOS_MsgPtr msg)"><b>send</b>    </a>(TOS_MsgPtr msg)<menu> Send a message buffer over a communiation channel.</menu><p></ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Events</h3></td></tr></table><ul><li>         result_t     <a href="# result_t sendDone(TOS_MsgPtr msg, result_t success)"><b>sendDone</b>    </a>(TOS_MsgPtr msg, result_t success)<menu> Signals that a buffer was sent; success indicates whether the send was successful or not.</menu><p></ul><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Commands - Details</h3></td></tr></table>    <a name=" result_t send(TOS_MsgPtr msg)"></a>        <h4>send</h4>         result_t <b>send</b>(TOS_MsgPtr msg)<P><menu> Send a message buffer over a communiation channel. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if the buffer will be sent, FAIL if not. If SUCCESS, a sendDone should be expected, if FAIL, the event should not be expected.</td></tr></table></menu><table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><tr BGCOLOR="#CCCCFF"><td><h3>Events - Details</h3></td></tr></table>    <a name=" result_t sendDone(TOS_MsgPtr msg, result_t success)"></a>        <h4>sendDone</h4>         result_t <b>sendDone</b>(TOS_MsgPtr msg, result_t success)<P><menu> Signals that a buffer was sent; success indicates whether the send was successful or not. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS always.</td></tr></table></menu>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -