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

📄 tos.interfaces.commcontrol.nc.html

📁 tinyos中文手册,是根据tinyos系统自带手册翻译过来的,虽然质量不好,但是对英文不强的人还是有用的
💻 HTML
字号:
<html><head><title>Interface: CommControl</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.CommControl.nc.source">tos.interfaces.CommControl.nc</a></b></font></td></tr></table><hr><h1 align="center">Interface: CommControl</h1><p> This interface defines commands for controlling aspects of the  communication layer. <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Matt Welsh</td></tr></table><p><dl><dt>Components providing this interface:<dd>    <a href="tos.system.AMPromiscuous.nc.html">tos.system.AMPromiscuous</a><br>    <a href="tos.system.GenericCommPromiscuous.nc.html">tos.system.GenericCommPromiscuous</a><br></dl><p><dl><dt>Components requiring this interface:<dd>    <a href="apps.topo.MultihopM.nc.html">apps.topo.MultihopM</a><br>    <a href="tos.lib.Route.MultiHopEngineM.nc.html">tos.lib.Route.MultiHopEngineM</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 setCRCCheck(bool value)"><b>setCRCCheck</b>    </a>(bool value)<menu>  Set the value of the CRC check flag.</menu><p><li>         bool <b>getCRCCheck</b>(void)<menu> Return the current value of the CRC check flag.</menu><p><li>         result_t     <a href="# result_t setPromiscuous(bool value)"><b>setPromiscuous</b>    </a>(bool value)<menu>  Set the value of the promiscuous mode flag.</menu><p><li>         bool <b>getPromiscuous</b>(void)<menu> Return the current value of the promiscuous mode flag.</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 setCRCCheck(bool value)"></a>        <h4>setCRCCheck</h4>         result_t <b>setCRCCheck</b>(bool value)<P><menu>  Set the value of the CRC check flag. If set to 'true', received packets with a CRC field other than '1' are dropped. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if the CRC check value could be set; FAIL otherwise   (for example, if CRC check is not implemented).</td></tr></table></menu><hr>    <a name=" result_t setPromiscuous(bool value)"></a>        <h4>setPromiscuous</h4>         result_t <b>setPromiscuous</b>(bool value)<P><menu>  Set the value of the promiscuous mode flag. If set to 'true', all received packets are passed to the receiver. If set to 'false', only packets destined for this node (or sent to the broadcast address) are passed up. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if the promiscuous flag could be set; FAIL otherwise   (for example, if promiscuous mode is not implemented).</td></tr></table></menu>

⌨️ 快捷键说明

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