X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Ftep116.html;h=68a5c269ff791dbc0ed457b5123b398b559444f5;hb=9ba4683a70cef0774863af6ff5da4b92f6353420;hp=e7f71113a58c07ce1ef8e936bef7f7027e49d9b7;hpb=7638eb12c22e2e8abe75f05eee48bb1eaeb3d515;p=tinyos-2.x.git diff --git a/doc/html/tep116.html b/doc/html/tep116.html index e7f71113..68a5c269 100644 --- a/doc/html/tep116.html +++ b/doc/html/tep116.html @@ -303,9 +303,9 @@ ul.auto-toc { Philip Levis Draft-Created:10-Dec-2004 -Draft-Version:1.1.2.11 +Draft-Version:1.6 -Draft-Modified:2006-06-27 +Draft-Modified:2007-02-28 Draft-Discuss:TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> @@ -323,7 +323,7 @@ TEP 1.

The memo documents the interfaces used by packet protocol components in TinyOS 2.x as well as the structure and implementation of ActiveMessageC, the basic data-link HIL component. It also documents the virtualized -active message interfaces AMSender and AMReceiver.

+active message interfaces AMSenderC and AMReceiverC.

1. Introduction

@@ -506,10 +506,8 @@ interface AMPacket {

The command address() returns the local AM address of the node. AMPacket provides accessors for its two fields, destination and -type. It does not provide commands to set these fields, as they are -set in the sending call path (see Section 2.3). The setDestination -and setType commands fulfill a similar purpose to -Packet.setLength.

+type. It also provides commands to set these fields, for the same +reason that Packet allows a caller to set the payload length.

2.2 Sending interfaces

@@ -608,7 +606,8 @@ message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) { } //Case 3 -message_t* ptr; +message_t buf; +message_t* ptr = &buf; message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) { message_t* tmp = ptr; ptr = msg; @@ -812,8 +811,8 @@ that an active message received from one data link layer (e.g., the radio) can be passed to another data link layer (e.g., the UART) without shifting the data payload. This means that the message_header_t must include all data needed for AM fields, which might introduce headers -in addition to those of the data link. For example, this is the -structure of the CC2420 header:

+in addition to those of the data link. For example, this is an example +structure for a CC2420 (802.15.4) header:

 typedef nx_struct cc2420_header_t {
   nx_uint8_t length;