SolarEnergy/esp32_device/main/ota.h

25 lines
323 B
C
Raw Permalink Normal View History

2024-10-05 18:28:55 +00:00
/**
* OTA functions
*/
#pragma once
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Update device to a desired version
*
* Returns TRUE in case of success / FALSE otherwise
*/
bool ota_perform_update(const char *version);
#ifdef __cplusplus
}
#endif