SWUpdate library to be used with RPC.
Fork of SWUpdate by
Diff: SWUpdate.h
- Revision:
- 0:e221363f7942
- Child:
- 1:208de08b1a19
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SWUpdate.h Mon Apr 21 00:20:05 2014 +0000 @@ -0,0 +1,14 @@ + +#include "mbed.h" + +#ifndef SWUPDATE_H +#define SWUPDATE_H + +typedef enum { + DEFER_REBOOT, + AUTO_REBOOT +} Reboot_T; + +bool SoftwareUpdate(const char *url, const char * name, Reboot_T reboot = DEFER_REBOOT); + +#endif // SWUPDATE_H