Adicionar primeiro
This commit is contained in:
15
components/api/include/ota.h
Executable file
15
components/api/include/ota.h
Executable file
@@ -0,0 +1,15 @@
|
||||
#ifndef OTA_H_
|
||||
#define OTA_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "esp_err.h"
|
||||
|
||||
#define OTA_VERSION_URL "https://dzurikmiroslav.github.io/esp32-evse/firmware/version.txt"
|
||||
|
||||
#define OTA_FIRMWARE_URL "https://dzurikmiroslav.github.io/esp32-evse/firmware/"
|
||||
|
||||
esp_err_t ota_get_available_version(char* version);
|
||||
|
||||
bool ota_is_newer_version(const char* actual, const char* available);
|
||||
|
||||
#endif /* OTA_H_ */
|
||||
Reference in New Issue
Block a user