]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/Deluge/extra/NetProg.nc
Super Duper update to Deluge T2. The manual and the testing scripts are temporary...
[tinyos-2.x.git] / tos / lib / net / Deluge / extra / NetProg.nc
index 5762caef991477faeb59500f9c4103877a121dcc..a216459910151a4e52673e5d411e087b5f0157ef 100644 (file)
@@ -42,16 +42,14 @@ interface NetProg
   command error_t reboot();
 
   /**
-   * Reboot into the image specified by <code>imgNum</code>. This
-   * assumes that an image has been downloaded into slot <code>imgNum</code>
-   * using Deluge.
+   * Reboot into the image specified by <code>imageAddr</code>. This
+   * assumes that an image is present into the external flash
+   * at the <code>imageAddr</code> address.
    *
-   * @param imgNum  Number of image to boot in to.
+   * @param imageAddr  Address in external flash
    * @return        <code>FAIL</code> if the reboot command fails to 
-   *                complete due to an invalid imgNum or incomplete 
-   *                image, 
-   *                does not return, otherwise.
+   *                complete, does not return, otherwise.
    */
-  command error_t programImgAndReboot(uint8_t imgNum);
+  command error_t programImageAndReboot(uint32_t imageAddr);
 
 }