From 337d0b13acf569c2640b3ed7b7f5c7cec35d7ddd Mon Sep 17 00:00:00 2001
From: vlahan
Date: Tue, 12 Dec 2006 18:22:48 +0000
Subject: [PATCH] Swapping HEAD and DEVEL branches
---
apps/RadioSenseToLeds/RadioSenseToLedsC.nc | 25 +-
doc/html/install-tinyos.html | 6 +-
doc/html/tep106.html | 15 +-
doc/html/tep109.html | 298 ++--
doc/html/tutorial/lesson1.html | 6 +-
doc/html/tutorial/lesson10.html | 6 +-
doc/html/tutorial/lesson11.html | 14 +-
doc/html/tutorial/lesson12.html | 4 +-
doc/html/tutorial/lesson6.html | 2 +-
doc/html/tutorial/lesson8.html | 732 ++++-----
doc/txt/tep106.txt | 13 +-
doc/txt/tep109.txt | 155 +-
doc/txt/tep114.txt | 7 +
doc/txt/tep119.txt | 293 ++--
support/sdk/java/net/tinyos/comm/package.html | 39 +
.../sdk/java/net/tinyos/message/package.html | 34 +
support/sdk/java/net/tinyos/mviz/package.html | 36 +
.../sdk/java/net/tinyos/packet/package.html | 37 +
support/sdk/java/net/tinyos/sf/package.html | 37 +
support/sdk/java/net/tinyos/sim/package.html | 35 +
.../sdk/java/net/tinyos/tools/package.html | 35 +
support/sdk/java/net/tinyos/util/package.html | 34 +
tos/chips/cc1000/CC1000ControlP.nc | 2 +
tos/chips/cc1000_lpl/CC1000ControlP.nc | 772 +++++-----
tos/chips/max136x/HalMAX136xControlP.nc | 14 +-
tos/chips/max136x/HplMAX136xLogicP.nc | 4 +-
tos/chips/msp430/McuSleepC.nc | 35 +-
tos/chips/msp430/adc12/HplAdc12.nc | 15 +-
tos/chips/msp430/adc12/HplAdc12P.nc | 12 +-
tos/chips/msp430/adc12/Msp430Adc12.h | 106 +-
tos/chips/msp430/adc12/Msp430Adc12ClientC.nc | 4 +
tos/chips/msp430/adc12/Msp430Adc12ImplP.nc | 136 +-
.../msp430/adc12/Msp430Adc12MultiChannel.nc | 113 ++
.../msp430/adc12/Msp430Adc12Overflow.nc} | 33 +-
tos/chips/msp430/adc12/Msp430Adc12P.nc | 4 +
.../msp430/adc12/Msp430Adc12SingleChannel.nc | 39 +-
.../msp430/adc12/Msp430RefVoltGeneratorP.nc | 2 -
tos/chips/msp430/adc12/README.txt | 98 +-
tos/chips/msp430/msp430hardware.h | 11 +
tos/chips/msp430/usart/HplMsp430I2C.nc | 2 +-
tos/chips/msp430/usart/HplMsp430I2C0P.nc | 22 +-
tos/chips/msp430/usart/HplMsp430Usart.nc | 16 +-
tos/chips/msp430/usart/HplMsp430Usart0P.nc | 119 +-
tos/chips/msp430/usart/HplMsp430Usart1P.nc | 121 +-
tos/chips/msp430/usart/Msp430I2CConfigure.nc | 2 +-
tos/chips/msp430/usart/Msp430I2CP.nc | 2 +-
tos/chips/msp430/usart/Msp430SpiConfigure.nc | 2 +-
tos/chips/msp430/usart/Msp430SpiDmaP.nc | 3 +-
tos/chips/msp430/usart/Msp430SpiNoDmaP.nc | 12 +-
tos/chips/msp430/usart/Msp430Uart0P.nc | 2 -
tos/chips/msp430/usart/Msp430Uart1C.nc | 2 -
tos/chips/msp430/usart/Msp430Uart1P.nc | 2 -
tos/chips/msp430/usart/Msp430UartConfigure.nc | 2 +-
tos/chips/msp430/usart/Msp430UartP.nc | 36 +-
tos/chips/msp430/usart/msp430usart.h | 231 ++-
tos/chips/pxa27x/timer/HalPXA27xSleep.nc | 23 +-
tos/chips/pxa27x/timer/HalPXA27xSleepM.nc | 10 +-
tos/chips/stm25p/Stm25pLogP.nc | 3 +-
tos/chips/tda5250/HplTda5250ConfigP.nc | 11 +-
tos/chips/tda5250/HplTda5250DataP.nc | 6 -
tos/chips/tda5250/Tda5250RadioC.nc | 2 +-
tos/chips/tda5250/Tda5250RadioP.nc | 523 ++++---
.../mac/ChannelCongestion.nc} | 38 +-
tos/chips/tda5250/mac/CsmaMacC.nc | 9 +-
tos/chips/tda5250/mac/CsmaMacP.nc | 54 +-
tos/chips/tda5250/mac/RedMac.h | 53 +
tos/chips/tda5250/mac/RedMacC.nc | 107 ++
tos/chips/tda5250/mac/RedMacP.nc | 1329 +++++++++++++++++
tos/chips/tda5250/mac/SleepTime.nc | 48 +
tos/chips/tda5250/mac/Teamgeist.nc | 66 +
tos/interfaces/Leds.nc | 2 +-
tos/{system => interfaces}/State.nc | 0
tos/lib/tossim/HilTimerMilliC.nc | 2 +-
tos/lib/tossim/sim_gain.c | 40 +-
tos/platforms/eyesIFX/Msp430Timer32khzMapC.nc | 73 -
tos/platforms/eyesIFX/RadioDataLinkC.nc | 4 +-
.../byte_radio/RssiFixedThresholdCMC.nc | 3 +-
.../eyesIFX/byte_radio/Uart4b6bPhyP.nc | 200 +--
tos/platforms/eyesIFX/byte_radio/UartPhyC.nc | 77 -
tos/platforms/eyesIFX/byte_radio/UartPhyP.nc | 319 ----
.../eyesIFX/chips/msp430/Msp430Uart0C.nc | 5 +-
.../eyesIFX/chips/tda5250/HplTda5250DataC.nc | 65 -
.../chips/tda5250/HplTda5250DataIOC.nc | 1 -
.../chips/tda5250/HplTda5250DataIOP.nc | 15 +-
.../tda5250/tda5250BusResourceSettings.h | 2 +-
tos/platforms/eyesIFX/eyesIFXSerialP.nc | 8 +-
tos/platforms/eyesIFX/platform_message.h | 6 +
.../eyesIFX/sensors/RssiSensorVccC.nc | 10 +-
.../eyesIFX/sensors/RssiSensorVccP.nc | 99 --
tos/platforms/telosa/.platform | 8 +-
tos/platforms/telosa/TelosSerialP.nc | 4 +-
tos/platforms/tinynode/TinyNodeSerialP.nc | 4 +-
tos/sensorboards/im2sb/HalSensirionSht11C.nc | 3 +
tos/sensorboards/im2sb/HplSensirionSht11C.nc | 10 +
tos/sensorboards/im2sb/HplSensirionSht11P.nc | 7 +-
tos/sensorboards/im2sb/MAX136xInternalC.nc | 11 +-
tos/sensorboards/im2sb/MAX136xInternalP.nc | 13 +
tos/sensorboards/im2sb/README.txt | 15 +
tos/sensorboards/im2sb/SensirionSht11C.nc | 14 +-
tos/sensorboards/im2sb/Tsl2561InternalC.nc | 1 +
tos/sensorboards/im2sb/Tsl2561InternalP.nc | 2 +-
tos/sensorboards/im2sb/examples/Makefile | 7 +
.../im2sb/examples/TestLis3l02dq/Makefile | 5 +
.../examples/TestLis3l02dq/TestSensorC.nc | 61 +
.../examples/TestLis3l02dq/TestSensorM.nc | 129 ++
.../im2sb/examples/TestMax136/Makefile | 5 +
.../im2sb/examples/TestMax136/TestSensorC.nc | 59 +
.../im2sb/examples/TestMax136/TestSensorM.nc | 135 ++
tos/sensorboards/im2sb/examples/TestSensor.h | 12 +
.../im2sb/examples/TestSensor.java | 108 ++
.../im2sb/examples/TestSensorMsg.java | 158 ++
.../im2sb/examples/TestSht11/README.txt | 7 +
.../im2sb/examples/TestSht11/TestSensorC.nc | 60 +
.../im2sb/examples/TestSht11/TestSensorM.nc | 109 ++
.../im2sb/examples/TestTmp175/Makefile | 5 +
.../im2sb/examples/TestTmp175/TestSensorC.nc | 59 +
.../im2sb/examples/TestTmp175/TestSensorM.nc | 122 ++
.../im2sb/examples/TestTsl2561/Makefile | 5 +
.../im2sb/examples/TestTsl2561/TestSensorC.nc | 60 +
.../im2sb/examples/TestTsl2561/TestSensorM.nc | 135 ++
tos/sensorboards/im2sb/im2sb.h | 2 +-
tos/system/LedsP.nc | 6 +-
tos/system/tos.h | 2 +-
123 files changed, 5680 insertions(+), 2715 deletions(-)
create mode 100644 support/sdk/java/net/tinyos/comm/package.html
create mode 100644 support/sdk/java/net/tinyos/message/package.html
create mode 100644 support/sdk/java/net/tinyos/mviz/package.html
create mode 100644 support/sdk/java/net/tinyos/packet/package.html
create mode 100644 support/sdk/java/net/tinyos/sf/package.html
create mode 100644 support/sdk/java/net/tinyos/sim/package.html
create mode 100644 support/sdk/java/net/tinyos/tools/package.html
create mode 100644 support/sdk/java/net/tinyos/util/package.html
create mode 100644 tos/chips/msp430/adc12/Msp430Adc12MultiChannel.nc
rename tos/{platforms/eyesIFX/chips/tda5250/tda5250BusResourceId.h => chips/msp430/adc12/Msp430Adc12Overflow.nc} (73%)
rename tos/chips/{msp430/usart/Msp430UartControl.nc => tda5250/mac/ChannelCongestion.nc} (76%)
create mode 100644 tos/chips/tda5250/mac/RedMac.h
create mode 100644 tos/chips/tda5250/mac/RedMacC.nc
create mode 100644 tos/chips/tda5250/mac/RedMacP.nc
create mode 100644 tos/chips/tda5250/mac/SleepTime.nc
create mode 100644 tos/chips/tda5250/mac/Teamgeist.nc
rename tos/{system => interfaces}/State.nc (100%)
delete mode 100644 tos/platforms/eyesIFX/Msp430Timer32khzMapC.nc
delete mode 100644 tos/platforms/eyesIFX/byte_radio/UartPhyC.nc
delete mode 100644 tos/platforms/eyesIFX/byte_radio/UartPhyP.nc
delete mode 100644 tos/platforms/eyesIFX/chips/tda5250/HplTda5250DataC.nc
delete mode 100644 tos/platforms/eyesIFX/sensors/RssiSensorVccP.nc
create mode 100644 tos/sensorboards/im2sb/README.txt
create mode 100644 tos/sensorboards/im2sb/examples/Makefile
create mode 100644 tos/sensorboards/im2sb/examples/TestLis3l02dq/Makefile
create mode 100644 tos/sensorboards/im2sb/examples/TestLis3l02dq/TestSensorC.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestLis3l02dq/TestSensorM.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestMax136/Makefile
create mode 100644 tos/sensorboards/im2sb/examples/TestMax136/TestSensorC.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestMax136/TestSensorM.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestSensor.h
create mode 100644 tos/sensorboards/im2sb/examples/TestSensor.java
create mode 100644 tos/sensorboards/im2sb/examples/TestSensorMsg.java
create mode 100644 tos/sensorboards/im2sb/examples/TestSht11/README.txt
create mode 100644 tos/sensorboards/im2sb/examples/TestSht11/TestSensorC.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestSht11/TestSensorM.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestTmp175/Makefile
create mode 100644 tos/sensorboards/im2sb/examples/TestTmp175/TestSensorC.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestTmp175/TestSensorM.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestTsl2561/Makefile
create mode 100644 tos/sensorboards/im2sb/examples/TestTsl2561/TestSensorC.nc
create mode 100644 tos/sensorboards/im2sb/examples/TestTsl2561/TestSensorM.nc
diff --git a/apps/RadioSenseToLeds/RadioSenseToLedsC.nc b/apps/RadioSenseToLeds/RadioSenseToLedsC.nc
index 0d1fc0ca..fab38b13 100644
--- a/apps/RadioSenseToLeds/RadioSenseToLedsC.nc
+++ b/apps/RadioSenseToLeds/RadioSenseToLedsC.nc
@@ -101,19 +101,18 @@ implementation {
else {
radio_sense_msg_t* rsm = (radio_sense_msg_t*)payload;
uint16_t val = rsm->data;
- call Leds.led0Toggle();
- if (val & 0x8000) {
- call Leds.led1On();
- }
- else {
- call Leds.led1Off();
- }
- if (val & 0x4000) {
- call Leds.led2On();
- }
- else {
- call Leds.led2Off();
- }
+ if (val & 0x0004)
+ call Leds.led2On();
+ else
+ call Leds.led2Off();
+ if (val & 0x0002)
+ call Leds.led1On();
+ else
+ call Leds.led1Off();
+ if (val & 0x0001)
+ call Leds.led0On();
+ else
+ call Leds.led0Off();
return bufPtr;
}
}
diff --git a/doc/html/install-tinyos.html b/doc/html/install-tinyos.html
index f75cded6..8ff7c152 100644
--- a/doc/html/install-tinyos.html
+++ b/doc/html/install-tinyos.html
@@ -72,6 +72,8 @@ work.
+- Download and install Cygwin from www.cygwin.com.
+
- Download the confirmed-compatible cygwin packages from the tinyos web site here.
- In a cygwin shell, unzip the above package into some directory. In these instructions the directory is /cygdrive/c/newcygpkgs.
@@ -290,8 +292,8 @@ bypass the erroneous error by using 'rpm -ivh --ignoreos
TinyOS |
- tinyos-2.0.0-1.cygwin.noarch.rpm |
- tinyos-2.0.0-1.noarch.rpm |
+ tinyos-2.0.0-3.cygwin.noarch.rpm |
+ tinyos-2.0.0-3.noarch.rpm |
diff --git a/doc/html/tep106.html b/doc/html/tep106.html
index d65a035a..a444e4af 100644
--- a/doc/html/tep106.html
+++ b/doc/html/tep106.html
@@ -303,9 +303,9 @@ ul.auto-toc {
Philip Levis and Cory Sharp |
Draft-Created: | 10-Dec-2004 |
-Draft-Version: | 1.1.2.10 |
+
---|
Draft-Version: | 1.1.2.11 |
-Draft-Modified: | 2006-08-17 |
+
---|
Draft-Modified: | 2006-11-07 |
Draft-Discuss: | TinyOS Developer List <tinyos-devel at mail.millennium.berkeley.edu> |
@@ -627,7 +627,12 @@ implementation {
TaskEdf interface. Its configuration SHOULD wire it to TinySchedulerC.
The key used for task unique identifiers MUST be "TinySchedulerC.TaskInterface",
where TaskInterface is the name of the new task interface as presented
-by the scheduler. For example, the module SomethingP requires two EDF
+by the scheduler. A common way to make sure a consistent string is used
+is to #define it. For example, TaskEdf.nc might include:
+
+#define UQ_TASK_EDF "TinySchedulerC.TaskEdf"
+
+In this example, the module SomethingP requires two EDF
tasks:
configuration SomethingC {
@@ -635,8 +640,8 @@ configuration SomethingC {
}
implementation {
components SomethingP, TinySchedulerC;
- SomethingP.SendTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"];
- SomethingP.SenseTask -> TinySchedulerC.TaskEdf["TinySchedulerC.TaskEdf"];
+ SomethingP.SendTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)];
+ SomethingP.SenseTask -> TinySchedulerC.TaskEdf[unique(UQ_TASK_EDF)];
}
The module SomethingP also has a basic task. The nesC compiler
diff --git a/doc/html/tep109.html b/doc/html/tep109.html
index dec7d902..0de30da7 100644
--- a/doc/html/tep109.html
+++ b/doc/html/tep109.html
@@ -3,7 +3,7 @@
-
+
Sensors and Sensor Boards