]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/tymo/LinkMonitor.nc
Initial tymo commit
[tinyos-2.x.git] / tos / lib / net / tymo / LinkMonitor.nc
diff --git a/tos/lib/net/tymo/LinkMonitor.nc b/tos/lib/net/tymo/LinkMonitor.nc
new file mode 100644 (file)
index 0000000..fd86277
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2007 Romain Thouvenin <romain.thouvenin@gmail.com>
+ * Published under the terms of the GNU General Public License (GPLv2).
+ */
+
+#include "AM.h"
+
+/**
+ * LinkMonitor - Interface to signals broken links in the neighborhood.
+ *
+ * @author Romain Thouvenin
+ */
+
+interface LinkMonitor {
+
+  event void brokenLink(am_addr_t neighbor);
+
+}