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;
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)
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
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)
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;
-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)