📄 tos.interfaces.sendvarlenpacket.nc.html
字号:
<html><head><title>Interface: SendVarLenPacket</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.interfaces.SendVarLenPacket.nc.source">tos.interfaces.SendVarLenPacket.nc</a></b></font></td></tr></table><hr><h1 align="center">Interface: SendVarLenPacket</h1><p> Interface for sending arbitrary streams of bytes. <table border="0" cellpadding="0"><tr valign="top"><td><b>Author:</b><td> Jason Hill </td></tr><tr valign="top"><td> </td><td> David Gay </td></tr><tr valign="top"><td> </td><td> Philip Levis</td></tr></table><p><dl><dt>Components providing this interface:<dd> <a href="tos.system.NoCRCPacket.nc.html">tos.system.NoCRCPacket</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(uint8_t *packet, uint8_t numBytes)"><b>send</b> </a>(uint8_t *packet, uint8_t numBytes)<menu> Send <code>numBytes</code> of the buffer <code>data</code>.</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(uint8_t *packet, result_t success)"><b>sendDone</b> </a>(uint8_t *packet, result_t success)<menu> Send request completed.</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(uint8_t *packet, uint8_t numBytes)"></a> <h4>send</h4> result_t <b>send</b>(uint8_t *packet, uint8_t numBytes)<P><menu> Send <code>numBytes</code> of the buffer <code>data</code>. <table border="0" cellpadding="0"><tr valign="top"><td><b>Returns:</b></td><td> SUCCESS if send request accepted, FAIL otherwise. SUCCCES means that a sendDone should be expected, FAIL means it should not.</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(uint8_t *packet, result_t success)"></a> <h4>sendDone</h4> result_t <b>sendDone</b>(uint8_t *packet, result_t success)<P><menu> Send request completed. The buffer sent and whether the send was successful are passed. <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 + -