SWUpdate library to be used with RPC.

Fork of SWUpdate by David Smart

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SWUpdate_class.h Source File

SWUpdate_class.h

00001 #ifndef __SWUPDATE_CLASS_H__
00002 #define __SWUPDATE_CLASS_H__
00003 
00004 class UpdateFirmware
00005 {     
00006     public:
00007         int UpdateCheck(void);
00008         void rebootMbed(void);
00009     
00010     /*private:
00011         // ===================================================
00012         // SWUpdate
00013         // ===================================================
00014         // Server url to where the Software will be found.
00015         const char *url = "http://192.168.10.21:8000";
00016         
00017         // Base filename for the software (e.g. if you save it as "abcdefg.bin", use "abcdefg" here)
00018         // Remember: some servers are case-sensitive!
00019         const char *name = "SWUP";*/
00020         // ===================================================
00021 };
00022  
00023  #endif //__SWUPDATE_CLASS_H__