SWUpdate library to be used with RPC.
Fork of SWUpdate by
Diff: SWUpdate.h
- Revision:
- 2:ef2ac9627546
- Parent:
- 1:208de08b1a19
- Child:
- 3:c69fff55fc60
diff -r 208de08b1a19 -r ef2ac9627546 SWUpdate.h --- a/SWUpdate.h Sat Jun 14 15:59:02 2014 +0000 +++ b/SWUpdate.h Sat Jun 14 16:15:30 2014 +0000 @@ -23,6 +23,7 @@ /// @param url is a pointer to a text string of the url from which to download. /// @param name is the base filename of the binary file. /// @param reboot determines whether to automatically reboot to activate the new bin. +/// @return true if the update succeeded (and the reboot was set to DEFER_REBOOT). /// bool SoftwareUpdate(const char *url, const char * name, Reboot_T reboot = DEFER_REBOOT);