Prepare OTA execution
This commit is contained in:
24
esp32_device/main/ota.h
Normal file
24
esp32_device/main/ota.h
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 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
|
Reference in New Issue
Block a user