]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
updated with support for the iris mote, fixed a compile bug
authorsallai <sallai>
Mon, 19 Nov 2007 17:21:19 +0000 (17:21 +0000)
committersallai <sallai>
Mon, 19 Nov 2007 17:21:19 +0000 (17:21 +0000)
apps/AntiTheft/Nodes/AntiTheftAppC.nc
apps/AntiTheft/Nodes/Makefile
apps/AntiTheft/README.txt
apps/AntiTheft/Root/AntiTheftRootAppC.nc
apps/AntiTheft/Root/Makefile

index 44f9ba8162c4b6cbfd1f595cfedbd398bd583544..6f68aa995f46bdcecbd00e5e7357b7be239b0bdc 100644 (file)
@@ -29,8 +29,10 @@ implementation
   components CC1000CsmaRadioC as Radio;
 #elif defined(PLATFORM_MICAZ)
   components CC2420ActiveMessageC as Radio;
+#elif defined(PLATFORM_IRIS)
+  components DummyLPLMacC as Radio;
 #else
-#error "The AntiTheft application is only supported for mica2 and micaz nodes"
+#error "The AntiTheft application is only supported for mica2, micaz and iris nodes"
 #endif
 
   AntiTheftC.Boot -> MainC.Boot;
index ba61cec3c86006a6e2b1b19244ea4353bdf7c550..6d49bff887097efc0c1cff5b6e00e6fd7e3308c5 100644 (file)
@@ -1,5 +1,5 @@
 SENSORBOARD=mts300
-PFLAGS += -I%T/lib/net/ctp -I%T/lib/net -I%T/lib/net/le -I%T/lib/net/drip
+PFLAGS += -I%T/lib/net/ctp -I%T/lib/net -I%T/lib/net/4bitle -I%T/lib/net/drip
 COMPONENT=AntiTheftAppC
 include $(MAKERULES)
 
index e2da9adf1f9c8b48da6d4f348854ce754378a982..0579942e59a62cfc494f88a95bb1c8d56964068f 100644 (file)
@@ -27,8 +27,8 @@ using the java GUI found in the java subdirectory.
 Nodes blink their yellow LED when turned on or when an internal error
 occurs, and blink their green LED when new settings are received.
 
-This demo is written for mica2 or micaz motes using the mts300 sensor
-board.
+This demo is written for mica2, micaz or iris motes using the mts300
+sensor board.
 
 The code in the Nodes directory should be installed on the motes
 detecting theft. Each mote should have a separate id, and a mts31n0 or
@@ -45,11 +45,11 @@ The java directory contains a control GUI for the antitheft demo app.
 Usage:
 
 The following instructions will get you started with the AntiTheft demo
-(the instructions are for mica2 motes, replace mica2 with micaz if using
-micaz motes)
+(the instructions are for mica2 motes, replace mica2 with micaz or iris
+if using either of those motes)
 
 1. Compile the root and node code for the antitheft application for your
-   platform (mica2 or micaz):
+   platform (mica2, micaz or iris):
 
     $ (cd Nodes; make mica2)
     $ (cd Root; make mica2)
index f3f3c4a8c4be4d9c430f43455fe74b08a7386d2c..2119dda91f9e4dbf78f6d4122edcd0554a7adc99 100644 (file)
@@ -28,8 +28,10 @@ implementation
   components CC1000CsmaRadioC as Radio;
 #elif defined(PLATFORM_MICAZ)
   components CC2420ActiveMessageC as Radio;
+#elif defined(PLATFORM_IRIS)
+  components DummyLPLMacC as Radio;
 #else
-#error "The AntiTheft application is only supported for mica2 and micaz nodes"
+#error "The AntiTheft application is only supported for mica2, micaz and iris nodes"
 #endif
 
   AntiTheftRootC.Boot -> MainC;
index 8f1c4b5d003960255a7bb41a984878c637f80684..247c8a0d64d4306bc32aa78c030233dfae22ea75 100644 (file)
@@ -1,4 +1,4 @@
-PFLAGS += -I%T/lib/net/ctp -I%T/lib/net -I%T/lib/net/le -I%T/lib/net/drip
+PFLAGS += -I%T/lib/net/ctp -I%T/lib/net -I%T/lib/net/4bitle -I%T/lib/net/drip
 COMPONENT=AntiTheftRootAppC
 include $(MAKERULES)