]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/blip/nwprog/DelugePatch.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / net / blip / nwprog / DelugePatch.nc
diff --git a/tos/lib/net/blip/nwprog/DelugePatch.nc b/tos/lib/net/blip/nwprog/DelugePatch.nc
new file mode 100644 (file)
index 0000000..ae94655
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ *  An interface for obtaining the identification data of an
+ *  image. The pointer returned by readDone will be destroyed by the
+ *  next read.
+ *
+ *  @author Razvan Musaloiu-E. <razvanm@cs.jhu.edu>
+ *  @author Chieh-Jan Mike Liang <cliang4@cs.jhu.edu>
+ */
+
+interface DelugePatch
+{
+  command error_t decodePatch(uint8_t imgNumPatch, uint8_t imgNumSrc, uint8_t imgNumDst);
+  event void decodePatchDone(uint8_t imgNumPatch, uint8_t imgNumSrc, uint8_t imgNumDst, error_t error);
+}