]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/types/Lpl.h
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / types / Lpl.h
diff --git a/tos/types/Lpl.h b/tos/types/Lpl.h
new file mode 100644 (file)
index 0000000..05219ba
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef LPL_H
+#define LPL_H
+
+/**
+ * Amount of time, in milliseconds, to keep the radio on after
+ * a successful receive addressed to this node
+ */
+#ifndef DELAY_AFTER_RECEIVE
+#define DELAY_AFTER_RECEIVE 100
+#endif
+
+/**
+ * The LPL defaults to stay-on.
+ */
+#ifndef LPL_DEF_LOCAL_WAKEUP
+#define LPL_DEF_LOCAL_WAKEUP 0
+#endif
+
+#ifndef LPL_DEF_REMOTE_WAKEUP
+#define LPL_DEF_REMOTE_WAKEUP 0
+#endif
+
+#endif