]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
TEP 116 is finalized.
authorscipio <scipio>
Thu, 21 Feb 2008 05:05:03 +0000 (05:05 +0000)
committerscipio <scipio>
Thu, 21 Feb 2008 05:05:03 +0000 (05:05 +0000)
doc/html/tep116.html
doc/txt/tep116.txt

index 725c02ee387db09cf7889f8c75ba2acb6fa53f57..b89fc6508a162ece3ba2777aeed2f319bd22e232 100644 (file)
@@ -291,19 +291,11 @@ ul.auto-toc {
 <tr class="field"><th class="docinfo-name">Type:</th><td class="field-body">Documentary</td>
 </tr>
 <tr><th class="docinfo-name">Status:</th>
-<td>Draft</td></tr>
+<td>Final</td></tr>
 <tr class="field"><th class="docinfo-name">TinyOS-Version:</th><td class="field-body">&gt; 2.1</td>
 </tr>
 <tr><th class="docinfo-name">Author:</th>
 <td>Philip Levis</td></tr>
-<tr class="field"><th class="docinfo-name">Draft-Created:</th><td class="field-body">10-Dec-2004</td>
-</tr>
-<tr class="field"><th class="docinfo-name">Draft-Version:</th><td class="field-body">1.12</td>
-</tr>
-<tr class="field"><th class="docinfo-name">Draft-Modified:</th><td class="field-body">2008-02-11</td>
-</tr>
-<tr class="field"><th class="docinfo-name">Draft-Discuss:</th><td class="field-body">TinyOS Developer List &lt;tinyos-devel at mail.millennium.berkeley.edu&gt;</td>
-</tr>
 </tbody>
 </table>
 <div class="note">
@@ -463,7 +455,6 @@ implementation {
   };
 
   command void Packet.clear(message_t* msg) {
-    uint8_t len;
     void* payload = call SubPacket.getPayload(msg, call SubPacket.maxPayloadLength());
     call SubPacket.clear();
     if (payload != NULL) {
@@ -526,8 +517,9 @@ interface AMPacket {
 }
 </pre>
 <p>The command address() returns the local AM address of the
-node. AMPacket provides accessors for its two fields, destination and
-type. It also provides commands to set these fields, for the same
+node. AMPacket provides accessors for its four fields, destination,
+source, type and group. It also provides commands to set these
+fields, for the same
 reason that Packet allows a caller to set the payload length.  Packet
 interfaces SHOULD provide accessors and mutators for all of their
 fields to enable queues and other buffering to store values in a
index 2595380dac16d8eae64311f0346063b6b7082850..50cfdcbd02c542d7d5a55ab79c66529774811073 100644 (file)
@@ -5,15 +5,10 @@ Packet Protocols
 :TEP: 116 
 :Group: Core Working Group 
 :Type: Documentary
-:Status: Draft
+:Status: Final
 :TinyOS-Version: > 2.1
 :Author: Philip Levis
 
-:Draft-Created: 10-Dec-2004
-:Draft-Version: $Revision$
-:Draft-Modified: $Date$
-:Draft-Discuss: TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu>
-
 .. Note::
 
    This memo documents a part of TinyOS for the TinyOS Community, and
@@ -187,7 +182,6 @@ to packets, it might look like this::
     };
  
     command void Packet.clear(message_t* msg) {
-      uint8_t len;
       void* payload = call SubPacket.getPayload(msg, call SubPacket.maxPayloadLength());
       call SubPacket.clear();
       if (payload != NULL) {