[Tinyos-2-commits] [tinyos-main] r5722 committed - ucmini: add missing copyrights

tinyos-main at googlecode.com tinyos-main at googlecode.com
Mon Sep 5 11:05:20 PDT 2011


Revision: 5722
Author:   mmaroti
Date:     Mon Sep  5 11:01:18 2011
Log:      ucmini: add missing copyrights
http://code.google.com/p/tinyos-main/source/detail?r=5722

Modified:
  /trunk/tos/chips/atm128rfa1/sensors/ArbitratedInternalTempDeviceP.nc
  /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTempDeviceC.nc
  /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTemperatureC.nc
  /trunk/tos/chips/atm128rfa1/sensors/ITempC.nc
  /trunk/tos/chips/atm128rfa1/sensors/ITempP.nc
  /trunk/tos/chips/atm128rfa1/sensors/InternalTempControlP.nc
  /trunk/tos/chips/atm128rfa1/sensors/InternalTempP.nc
  /trunk/tos/chips/atm128rfa1/sensors/InternalTempStreamC.nc
  /trunk/tos/chips/atm128rfa1/sensors/TempDeviceP.nc
  /trunk/tos/chips/atm128rfa1/sensors/TempP.nc
  /trunk/tos/chips/bh1750fvi/Bh1750fvi.h
  /trunk/tos/chips/bh1750fvi/Bh1750fviC.nc
  /trunk/tos/chips/bh1750fvi/Bh1750fviP.nc
  /trunk/tos/chips/bma180/Bma180.h
  /trunk/tos/chips/bma180/BmaStreamC.nc
  /trunk/tos/chips/bma180/BmaStreamP.nc
  /trunk/tos/chips/sht21/Sht21.h
  /trunk/tos/platforms/ucmini/DemoSensorC.nc
  /trunk/tos/platforms/ucmini/DemoSensorStreamC.nc
  /trunk/tos/platforms/ucmini/RCCalibrate.nc
  /trunk/tos/platforms/ucmini/RCCalibrateP.nc
  /trunk/tos/platforms/ucmini/chips/ms5607/HplMs5607C.nc
  /trunk/tos/platforms/ucmini/chips/sht21/HplSht21C.nc
  /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerC.nc
  /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerP.nc
  /trunk/tos/platforms/ucmini/platform.h

=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/ArbitratedInternalTempDeviceP.nc	 
Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/ArbitratedInternalTempDeviceP.nc	 
Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  configuration ArbitratedInternalTempDeviceP {
    provides interface Read<uint16_t>[uint8_t consumer];
  }
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTempDeviceC.nc	Sun  
Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTempDeviceC.nc	Mon  
Sep  5 11:01:18 2011
@@ -1,7 +1,36 @@
-/**
-  *
-  * @author Zsolt Szabó <szabomeister at gmail.com>
-  */
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */

  configuration Atm128InternalTempDeviceC {
    provides interface Read<uint16_t> as ReadTemp[uint8_t consumer];
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTemperatureC.nc	Sun  
Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/Atm128InternalTemperatureC.nc	Mon  
Sep  5 11:01:18 2011
@@ -1,8 +1,36 @@
-/**
-  * Atmega128rfa1 internal temperature sensor.
-  *
-  * @author Zsolt Szabo <szabomeister at gmail.com>
-  */
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */

  generic configuration Atm128InternalTemperatureC() {
    provides interface Read<uint16_t>;
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/ITempC.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/ITempC.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  generic configuration ITempC() {
    provides interface Read<uint16_t>;
  }
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/ITempP.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/ITempP.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  module ITempP {
    provides interface Atm128AdcConfig;
  }
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/InternalTempControlP.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/InternalTempControlP.nc	Mon Sep  5  
11:01:18 2011
@@ -1,7 +1,36 @@
-/**
-  *
-  * @author Zsolt Szabó <szabomeister at gmail.com>
-  */
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */

  generic module InternalTempControlP() {
    provides interface Read<uint16_t>[uint8_t consumer];
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/InternalTempP.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/InternalTempP.nc	Mon Sep  5  
11:01:18 2011
@@ -1,8 +1,38 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  #include "Atm128Adc.h"
-/**
-  *
-  * @author Zsolt Szabó <szabomeister at gmail.com>
-  */

  module InternalTempP {
    provides interface Atm128AdcConfig;
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/InternalTempStreamC.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/InternalTempStreamC.nc	Mon Sep  5  
11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  generic configuration InternalTempStreamC() {
    provides interface Readstream<uint16_t>;
  }
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/TempDeviceP.nc	Sun Sep  4 02:04:37  
2011
+++ /trunk/tos/chips/atm128rfa1/sensors/TempDeviceP.nc	Mon Sep  5 11:01:18  
2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  configuration TempDeviceP {
    provides interface Atm128AdcConfig;
  }
=======================================
--- /trunk/tos/chips/atm128rfa1/sensors/TempP.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/atm128rfa1/sensors/TempP.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  #include "Atm128Adc.h"

  module TempP {
=======================================
--- /trunk/tos/chips/bh1750fvi/Bh1750fvi.h	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bh1750fvi/Bh1750fvi.h	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  #ifndef BH1750FVI_H
  #define BH1750FVI_H

=======================================
--- /trunk/tos/chips/bh1750fvi/Bh1750fviC.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bh1750fvi/Bh1750fviC.nc	Mon Sep  5 11:01:18 2011
@@ -32,7 +32,6 @@
  * Author: Zsolt Szabo
  */

-
  configuration Bh1750fviC {
    provides interface Read<uint16_t> as Light;
    provides interface SplitControl;
=======================================
--- /trunk/tos/chips/bh1750fvi/Bh1750fviP.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bh1750fvi/Bh1750fviP.nc	Mon Sep  5 11:01:18 2011
@@ -32,7 +32,6 @@
  * Author: Zsolt Szabo
  */

-
  #include "Bh1750fvi.h"

  module Bh1750fviP {
=======================================
--- /trunk/tos/chips/bma180/Bma180.h	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bma180/Bma180.h	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  #ifndef BMA180_H
  #define BMA180_H

=======================================
--- /trunk/tos/chips/bma180/BmaStreamC.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bma180/BmaStreamC.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  configuration BmaStreamC {
    provides {
      interface ReadStream<bma180_data_t>;
@@ -5,14 +39,13 @@
    }
  }
  implementation {
-  components SpiImpC, BmaStreamP, HplBma180C, LocalTimeMilliC, DiagMsgC,  
LedsC;
+  components SpiImpC, BmaStreamP, HplBma180C, LocalTimeMilliC, LedsC;

    Init       = BmaStreamP;
    ReadStream = BmaStreamP;

    BmaStreamP.Resource -> SpiImpC.Resource[unique("Atm128SpiC.Resource")];
    BmaStreamP.FastSpiByte -> SpiImpC;
-  BmaStreamP.DiagMsg -> DiagMsgC;
    BmaStreamP.Leds -> LedsC;
    BmaStreamP.LocalTime -> LocalTimeMilliC;
    BmaStreamP.CSN -> HplBma180C.CSN;
=======================================
--- /trunk/tos/chips/bma180/BmaStreamP.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/bma180/BmaStreamP.nc	Mon Sep  5 11:01:18 2011
@@ -29,7 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  * OF THE POSSIBILITY OF SUCH DAMAGE.
  *
-* Author: Miklos Maroti
+* Author: Zsolt Szabo
  */

  #include "Bma180.h"
@@ -47,7 +47,6 @@
      interface FastSpiByte;
      interface GpioInterrupt as Interrupt;
      interface Resource;
-    interface DiagMsg;
      interface Leds;
      interface LocalTime<TMilli>;
      interface GeneralIO as CSN;
@@ -172,10 +171,6 @@

      bma180_data_t * reportStart = firstStart;
      uint16_t reportLength = firstLength;
-    if(call DiagMsg.record()) {
-      call DiagMsg.str("P_bufferdonetask");
-      call DiagMsg.send();
-    }

      firstStart = secondStart;
      firstLength = secondLength;
@@ -205,23 +200,12 @@
          reportLength = freeBuffers->count;
          freeBuffers = freeBuffers->next;
        }
-      if(call DiagMsg.record()) {
-        call DiagMsg.str("sig_buffdone");
-        call DiagMsg.str(s!=STATE_00?"SUCCESS":"FAIL");
-        call DiagMsg.str(freeBuffers!=NULL?"hasmore":"full");
-
-        call DiagMsg.send();
-      }
+
        signal ReadStream.bufferDone(s != STATE_00 ? SUCCESS : FAIL,  
reportStart, reportLength);
      }

      if( freeBuffers == NULL && (s == STATE_00 || s == STATE_01) )
      {
-      if(call DiagMsg.record()) {
-        call DiagMsg.str("sig_readdone");
-        call DiagMsg.str(s==STATE_01?"SUCCESS":"FAIL");
-        call DiagMsg.send();
-      }
        signal ReadStream.readDone(s == STATE_01 ? SUCCESS : FAIL,  
actualPeriod);
        state = STATE_READY;
      }
@@ -236,11 +220,6 @@
      if( count < (sizeof(free_buffer_t) + 1) >> 1 )
        return ESIZE;

-    if(call DiagMsg.record()) {
-      call DiagMsg.str("P_postbuff");
-      call DiagMsg.send();
-    }
-
      atomic
      {
        if( state == STATE_10 )
@@ -277,10 +256,6 @@
      // do it early
      //call Interrupt.enable();
      if(call Resource.immediateRequest() == SUCCESS) {
-      if(call DiagMsg.record()) {
-        call DiagMsg.str("setInt");
-        call DiagMsg.send();
-      }
        temp = readRegister(0xD); //ctrl_reg0
        temp |= 0x10;                  // enable ee_w; needed for writing to  
addresses 0x20 .. 0x3B
        temp &=~(1<<1); //turn off sleep
@@ -330,10 +305,8 @@
      return SUCCESS;
    }

-event void Resource.granted() {
-}
-
-default event void ReadStream.bufferDone(error_t result, bma180_data_t*  
buf, uint16_t count) {}
-default event void ReadStream.readDone(error_t err, uint32_t usPeriod) {}
-
-}
+  event void Resource.granted() {}
+
+  default event void ReadStream.bufferDone(error_t result, bma180_data_t*  
buf, uint16_t count) {}
+  default event void ReadStream.readDone(error_t err, uint32_t usPeriod) {}
+}
=======================================
--- /trunk/tos/chips/sht21/Sht21.h	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/chips/sht21/Sht21.h	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  #ifndef SHT21_H
  #define SHT21_H

@@ -28,12 +62,12 @@
  } Sht21Header;

  enum {
-  TIMEOUT_14BIT =       85,//85,
+  TIMEOUT_14BIT =       85,
    TIMEOUT_13BIT =       43,
-  TIMEOUT_12BIT =       22,//22,
-  TIMEOUT_11BIT =       11,//11,
-  TIMEOUT_10BIT =       6,//6,
-  TIMEOUT_8BIT  =       3,//3,
+  TIMEOUT_12BIT =       22,
+  TIMEOUT_11BIT =       11,
+  TIMEOUT_10BIT =       6,
+  TIMEOUT_8BIT  =       3,
    TIMEOUT_RESET =       15,
  } Sht21Timeout;

=======================================
--- /trunk/tos/platforms/ucmini/DemoSensorC.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/platforms/ucmini/DemoSensorC.nc	Mon Sep  5 11:01:18 2011
@@ -1,26 +1,45 @@
-/**
-  *
-  * @author Zsolt Szabó <szabomeister at gmail.com>
-  */
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */

  generic configuration DemoSensorC() {
-  //provides interface Read<uint32_t>;
    provides interface Read<uint16_t>;
    provides interface SplitControl;
  }
  implementation {
-  //components new Atm128InternalTemperatureC() as Sensor;
-  //Read = Sensor;
    components Sht21C as Sensor;
    Read = Sensor.Temperature;
-  //Read = Sensor.Humidity;

    components I2CBusC;
    SplitControl = I2CBusC.BusControl;
-
-  //components bh1750fviC as Sensor;
-  //Read = Sensor.Light;
-
-  //components ms5607C as Sensor;
-  //Read = Sensor.Pressure;
-}
+}
=======================================
--- /trunk/tos/platforms/ucmini/DemoSensorStreamC.nc	Sun Sep  4 02:04:37  
2011
+++ /trunk/tos/platforms/ucmini/DemoSensorStreamC.nc	Mon Sep  5 11:01:18  
2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  generic component DemoSensorStreamC() {
    provides interface ReadStream<uint16_t>;
  }
=======================================
--- /trunk/tos/platforms/ucmini/RCCalibrate.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/platforms/ucmini/RCCalibrate.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  interface RCCalibrate {
  	async command void calibrateInternalRC(uint32_t HzToCalib);
  }
=======================================
--- /trunk/tos/platforms/ucmini/RCCalibrateP.nc	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/platforms/ucmini/RCCalibrateP.nc	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  module RCCalibrateP {
  	provides interface RCCalibrate;
  }
=======================================
--- /trunk/tos/platforms/ucmini/chips/ms5607/HplMs5607C.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/platforms/ucmini/chips/ms5607/HplMs5607C.nc	Mon Sep  5  
11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  configuration HplMs5607C {
    provides interface I2CPacket<TI2CBasicAddr> ;
    provides interface Resource;
=======================================
--- /trunk/tos/platforms/ucmini/chips/sht21/HplSht21C.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/platforms/ucmini/chips/sht21/HplSht21C.nc	Mon Sep  5  
11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Zsolt Szabo
+ */
+
  configuration HplSht21C {
    provides interface I2CPacket<TI2CBasicAddr> ;
    provides interface Resource;
=======================================
--- /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerC.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerC.nc	Mon Sep  5  
11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Andras Biro
+ */
+
  configuration Stm25pPowerC{
    provides interface SplitControl;
    uses interface SplitControl as SpiControl;
=======================================
--- /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerP.nc	Sun Sep  4  
02:04:37 2011
+++ /trunk/tos/platforms/ucmini/chips/stm25p/Stm25pPowerP.nc	Mon Sep  5  
11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Andras Biro
+ */
+
  module Stm25pPowerP{
    provides interface Init;
    uses interface GeneralIO as Power;
=======================================
--- /trunk/tos/platforms/ucmini/platform.h	Sun Sep  4 02:04:37 2011
+++ /trunk/tos/platforms/ucmini/platform.h	Mon Sep  5 11:01:18 2011
@@ -1,3 +1,37 @@
+/*
+ * Copyright (c) 2011, University of Szeged
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the
+ *   distribution.
+ * - Neither the name of the copyright holder nor the names of
+ *   its contributors may be used to endorse or promote products derived
+ *   from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Author: Miklos Maroti
+ */
+
  // disable watchdog timer at startup (see AVR132: Using the Enhanced  
Watchdog Timer)
  #include <avr/wdt.h>
  #define platform_bootstrap() { MCUSR = 0; wdt_disable(); }



More information about the Tinyos-2-commits mailing list