23 lines
536 B
C
23 lines
536 B
C
#ifndef H_MESH_OTA
|
|
#define H_MESH_OTA
|
|
|
|
#include <string.h>
|
|
#include "esp_wifi.h"
|
|
#include "esp_system.h"
|
|
#include "esp_event.h"
|
|
#include "esp_log.h"
|
|
#include "esp_mesh.h"
|
|
#include "esp_mesh_internal.h"
|
|
#include "nvs_flash.h"
|
|
#include "driver/gpio.h"
|
|
#include "esp_ota_ops.h"
|
|
#include "esp_partition.h"
|
|
|
|
#include "https_client.h"
|
|
|
|
bool bNewerVersion(const char* pu8Local, const char* pu8Remote);
|
|
|
|
esp_err_t errExtractVersionNumber(unsigned char* pu8Data, uint32_t* pu32DataLenght, char* pc8RemoteVersionNumber);
|
|
|
|
#endif /* H_MESH_OTA */
|