]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestDhv/TestDhvC-Master.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / apps / tests / TestDhv / TestDhvC-Master.nc
diff --git a/apps/tests/TestDhv/TestDhvC-Master.nc b/apps/tests/TestDhv/TestDhvC-Master.nc
new file mode 100644 (file)
index 0000000..94cf293
--- /dev/null
@@ -0,0 +1,29 @@
+#include "TestDhv.h"
+
+configuration TestDhvC {
+
+}
+
+implementation {
+  components TestDhvP;
+  components LedsC as LedsC;
+  TestDhvP.Leds -> LedsC;
+
+  components DisseminationC;
+  TestDhvP.StdControl -> DisseminationC;
+  /*
+  components new DisseminatorC(uint32_t, 0x1) as Dissem1;
+  TestDhvP.DisseminationValue1 -> Dissem1;
+  TestDhvP.DisseminationUpdate1 -> Dissem1;
+  */
+
+  // ... DISSEMINATORS
+
+  components MainC;
+  TestDhvP.Boot -> MainC;
+
+  components SerialActiveMessageC;
+  components new SerialAMSenderC(AM_DHV_TEST_MSG);
+  TestDhvP.SerialSend -> SerialAMSenderC;
+  TestDhvP.SerialControl -> SerialActiveMessageC;
+}