]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Do the propoer LPL selection on IRIS for the AntiTheft app
authormmaroti <mmaroti>
Thu, 24 Apr 2008 21:15:50 +0000 (21:15 +0000)
committermmaroti <mmaroti>
Thu, 24 Apr 2008 21:15:50 +0000 (21:15 +0000)
apps/AntiTheft/Nodes/AntiTheftAppC.nc
apps/AntiTheft/Root/AntiTheftRootAppC.nc
tos/platforms/iris/ActiveMessageC.nc

index 6f68aa995f46bdcecbd00e5e7357b7be239b0bdc..006fd989c302e64c9c8beec290b140335c59854a 100644 (file)
@@ -30,7 +30,7 @@ implementation
 #elif defined(PLATFORM_MICAZ)
   components CC2420ActiveMessageC as Radio;
 #elif defined(PLATFORM_IRIS)
-  components DummyLPLMacC as Radio;
+  components ActiveMessageC as Radio;
 #else
 #error "The AntiTheft application is only supported for mica2, micaz and iris nodes"
 #endif
index 2119dda91f9e4dbf78f6d4122edcd0554a7adc99..213a50a24aecf88942a0b0964d5b3ed4f37041de 100644 (file)
@@ -29,7 +29,7 @@ implementation
 #elif defined(PLATFORM_MICAZ)
   components CC2420ActiveMessageC as Radio;
 #elif defined(PLATFORM_IRIS)
-  components DummyLPLMacC as Radio;
+  components ActiveMessageC as Radio;
 #else
 #error "The AntiTheft application is only supported for mica2, micaz and iris nodes"
 #endif
index eda2370c05f570ab66ddf0413f2f9c1feccb2935..80c325843650a2d51f4eb9032b980e16ca574d8b 100644 (file)
@@ -36,6 +36,7 @@ configuration ActiveMessageC
                interface PacketAcknowledgements;
                interface PacketField<uint8_t> as PacketLinkQuality;
                interface PacketTimeStamp<TMicro, uint16_t>;
+               interface LowPowerListening;
                interface PacketLastTouch;
        }
 }
@@ -55,4 +56,5 @@ implementation
        PacketLinkQuality = MAC;
        PacketTimeStamp = MAC;
        PacketLastTouch = MAC;
+       LowPowerListening = MAC;
 }