X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2FAntiTheft%2FRoot%2FAntiTheftRootAppC.nc;h=2119dda91f9e4dbf78f6d4122edcd0554a7adc99;hb=19d25dd903dad27691ceb63c5e29b132d1346c96;hp=f961ed966353d886ee9011bcffbde09586df4d42;hpb=3121f30fd7ebcc993ce2910da6ed489aa1f0d591;p=tinyos-2.x.git diff --git a/apps/AntiTheft/Root/AntiTheftRootAppC.nc b/apps/AntiTheft/Root/AntiTheftRootAppC.nc index f961ed96..2119dda9 100644 --- a/apps/AntiTheft/Root/AntiTheftRootAppC.nc +++ b/apps/AntiTheft/Root/AntiTheftRootAppC.nc @@ -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; @@ -38,6 +40,8 @@ implementation AntiTheftRootC.LowPowerListening -> Radio; AntiTheftRootC.Leds -> LedsC; + components DisseminationC; + AntiTheftRootC.DisseminationControl -> DisseminationC; /* Next, instantiate and wire a disseminator (to send settings) and a serial receiver (to receive settings from the PC) */ components new DisseminatorC(settings_t, DIS_SETTINGS),