SWUpdate library to be used with RPC.

Fork of SWUpdate by David Smart

SWUpdate_class.h

Committer:
sohaibqamar
Date:
2018-10-05
Revision:
27:c7b275023106

File content as of revision 27:c7b275023106:

#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__