X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Ftep116.html;h=b89fc6508a162ece3ba2777aeed2f319bd22e232;hb=0fc5bbdefbe992bad95ff8c269fc04ef1933f551;hp=725c02ee387db09cf7889f8c75ba2acb6fa53f57;hpb=48ee4e376e85a65fac951ef8d680ff928a9a2748;p=tinyos-2.x.git diff --git a/doc/html/tep116.html b/doc/html/tep116.html index 725c02ee..b89fc650 100644 --- a/doc/html/tep116.html +++ b/doc/html/tep116.html @@ -291,19 +291,11 @@ ul.auto-toc { Type:Documentary Status: -Draft +Final TinyOS-Version:> 2.1 Author: Philip Levis -Draft-Created:10-Dec-2004 - -Draft-Version:1.12 - -Draft-Modified:2008-02-11 - -Draft-Discuss:TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> -
@@ -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 { }

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