SWUpdate library to be used with RPC.

Fork of SWUpdate by David Smart

Committer:
WiredHome
Date:
Mon Apr 21 00:20:05 2014 +0000
Revision:
0:e221363f7942
Child:
1:208de08b1a19
Software Update - not yet reliable

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 0:e221363f7942 1
WiredHome 0:e221363f7942 2 #include "mbed.h"
WiredHome 0:e221363f7942 3
WiredHome 0:e221363f7942 4 #ifndef SWUPDATE_H
WiredHome 0:e221363f7942 5 #define SWUPDATE_H
WiredHome 0:e221363f7942 6
WiredHome 0:e221363f7942 7 typedef enum {
WiredHome 0:e221363f7942 8 DEFER_REBOOT,
WiredHome 0:e221363f7942 9 AUTO_REBOOT
WiredHome 0:e221363f7942 10 } Reboot_T;
WiredHome 0:e221363f7942 11
WiredHome 0:e221363f7942 12 bool SoftwareUpdate(const char *url, const char * name, Reboot_T reboot = DEFER_REBOOT);
WiredHome 0:e221363f7942 13
WiredHome 0:e221363f7942 14 #endif // SWUPDATE_H