components CC1000CsmaRadioC as LPLProvider;
App.LPL -> LPLProvider;
#endif
+
+#if defined(PLATFORM_IRIS)
+ components RF230ActiveMessageC as LPLProvider;
+ App.LPL -> LPLProvider;
+#endif
}
COMPONENT=LowPowerSensingBaseAppC
CFLAGS += -I.. -I../universal_sensors
+CFLAGS += -DLOW_POWER_LISTENING
#CFLAGS += -I.. -I../tmote_onboard_sensors
#CFLAGS += -DCC1K_DEFAULT_FREQ=CC1K_914_077_MHZ
#endif
#include "LowPowerSensingMsgs.h"
-#define LOW_POWER_LISTENING
enum {
LPL_INTERVAL = 2000,
SAMPLING_INTERVAL = 3000,
components CC1000CsmaRadioC as LPLProvider;
App.LPL -> LPLProvider;
#endif
+
+#if defined(PLATFORM_IRIS)
+ components RF230ActiveMessageC as LPLProvider;
+ App.LPL -> LPLProvider;
+#endif
+
}
COMPONENT=LowPowerSensingPeriodicSamplerAppC
CFLAGS += -I.. -I../sampleLog
CFLAGS += -I.. -I../universal_sensors
+CFLAGS += -DLOW_POWER_LISTENING
#CFLAGS += -I.. -I../tmote_onboard_sensors
#CFLAGS += -DCC1K_DEFAULT_FREQ=CC1K_914_077_MHZ