SWUpdate library to be used with RPC.
Fork of SWUpdate by
Diff: SWUpdate_class.h
- Revision:
- 27:c7b275023106
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SWUpdate_class.h Fri Oct 05 07:15:29 2018 +0000 @@ -0,0 +1,23 @@ +#ifndef __SWUPDATE_CLASS_H__ +#define __SWUPDATE_CLASS_H__ + +class UpdateFirmware +{ + public: + int UpdateCheck(void); + void rebootMbed(void); + + /*private: + // =================================================== + // SWUpdate + // =================================================== + // Server url to where the Software will be found. + const char *url = "http://192.168.10.21:8000"; + + // Base filename for the software (e.g. if you save it as "abcdefg.bin", use "abcdefg" here) + // Remember: some servers are case-sensitive! + const char *name = "SWUP";*/ + // =================================================== +}; + + #endif //__SWUPDATE_CLASS_H__ \ No newline at end of file