From 0fc5bbdefbe992bad95ff8c269fc04ef1933f551 Mon Sep 17 00:00:00 2001 From: scipio Date: Thu, 21 Feb 2008 05:05:03 +0000 Subject: [PATCH] TEP 116 is finalized. --- doc/html/tep116.html | 16 ++++------------ doc/txt/tep116.txt | 8 +------- 2 files changed, 5 insertions(+), 19 deletions(-) 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 diff --git a/doc/txt/tep116.txt b/doc/txt/tep116.txt index 2595380d..50cfdcbd 100644 --- a/doc/txt/tep116.txt +++ b/doc/txt/tep116.txt @@ -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 - .. 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) { -- 2.39.2