]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - doc/txt/tep116.txt
Add SharedSplitControlC, for N clients needing shared access to something.
[tinyos-2.x.git] / doc / txt / tep116.txt
index 296bf31d44048c273248fbe2a36c34552af04e96..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) {
@@ -254,8 +248,9 @@ has this signature::
 
 
 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