23 lines
479 B
C++
23 lines
479 B
C++
#ifndef UPDATEBYME_H
|
|
#define UPDATEBYME_H
|
|
#include<Update.h>
|
|
#include <HTTPClient.h>
|
|
class UpDateClassByme{
|
|
public:
|
|
UpdateClass updater;
|
|
UpDateClassByme(HttpClient *httptm);
|
|
void performUpdate(Stream &updateSource, size_t updateSize);
|
|
HttpClient *http;
|
|
size_t DownloadFirmwareForurl(String version);
|
|
String CurrentVersion;
|
|
void initme(String Version);
|
|
bool CheckAndUpdate();
|
|
String StationID;
|
|
String GetValueFromNet(String url,String Key);
|
|
void updateversion();
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif |