From 9c0ff0a8904a3b428af010a464194667d7dff9a0 Mon Sep 17 00:00:00 2001
From: scipio This format keeps data at a fixed offset, which is important when
+ This format keeps data at a fixed but platform dependent offset, which
+is important when
passing a message buffer between two different link layers. If the
data payload were at different offsets for different link layers, then
passing a packet between two link layers would require a memmove(3)
diff --git a/doc/html/tep112.html b/doc/html/tep112.html
index 233585f5..fdde709e 100644
--- a/doc/html/tep112.html
+++ b/doc/html/tep112.html
@@ -303,9 +303,9 @@ ul.auto-toc {
Philip Levis
-Draft-Created: 11-Jul-2005
Draft-Version: 1.1.2.15
+
-Draft-Version: 1.5
Draft-Modified: 2006-10-04
+Draft-Modified: 2006-12-12
@@ -433,7 +433,8 @@ typedef nx_struct message_t {
nx_uint8_t metadata[sizeof(message_metadata_t)];
} message_t;
-Draft-Discuss: TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu>
Robert Szewczyk, Philip Levis, Martin Turon, Lama Nachman, Philip Buonadonna, Vlado Handziski
-Draft-Created: 19-Sep-2005
Draft-Version: 1.5
+
-Draft-Version: 1.6
Draft-Modified: 2006-12-12
+Draft-Modified: 2006-12-20
@@ -386,7 +386,7 @@ introduce wakeup latency, a factor which could be of interest to
higher-level components. While wakeup latency is not a significant
issue on very low power microcontrollers, such as the Atmega128 and
MSP430, more powerful processors, such as the Xscale family (the basis
-of platforms such as the imote2) can power states with wakeup
+of platforms such as the imote2) can have power states with wakeup
latencies as large as 5ms. For some application domains, this latency
could be a serious issue. Higher level components therefore need a way
to give the TinyOS microcontroller power manager information on their
@@ -577,9 +577,10 @@ timer stack for the Atmega128 microcontroller family.Draft-Discuss: TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu>
At the HIL level, TinyOS subsystems generally have a simple, imperative power management interface. Depending on the latencies -involved, this interface is either StdControl or SplitControl. +involved, this interface is either StdControl, SplitControl, +or AsyncStdControl. These interfaces are imperative in that when any component calls -StdControl.stop on another component, it causes the subsystem that +stop on another component, it causes the subsystem that component represents to enter an inactive, low-power state.
From the perspective of MCU power management, this transition causes a change in status and control registers (e.g., a clock is diff --git a/doc/html/tep114.html b/doc/html/tep114.html index 5476f57c..0716697f 100644 --- a/doc/html/tep114.html +++ b/doc/html/tep114.html @@ -303,9 +303,9 @@ ul.auto-toc {
Finallly, the simplicity of the ADC interface has led many sensors to +
Finally, the simplicity of the ADC interface has led many sensors to introduce several new ones for calibration and control, such as Mic and MagSetting. Because ADCs generally do not have error conditions, the ADC interface has no way to signal that a sample @@ -422,6 +422,12 @@ fail while a read is pending MUST provide a ReadWrite interface.
If the result parameter of the Read.readDone and ReadWrite.readDone events is not SUCCESS, then the memory of the val parameter MUST be filled with zeroes.
+If the call to Read.read has returned SUCCESS, but the +Read.readDone event has not yet been signalled, then a subsequent +call to Read.read MUST not return SUCCESS. This simple locking +technique, as opposed to a more complex system in which multiple +read/readDone pairs may be outstanding, is intended to reduce the +complexity of code that is a client of a SID interface.
Examples of sensors that would be suited to this class of interface include many basic sensors, such as photo, temp, voltage, and ADC readings.
@@ -641,6 +647,15 @@ connect a sensor into a more general system.[1] | TEP 108: Resource Arbitration. |