13 lines
409 B
C
13 lines
409 B
C
#pragma once
|
|||
|
|
#include "esp_err.h"
|
||
|
|
#include <stdbool.h>
|
||
|
|
#include <stdint.h>
|
||
|
|
void device_ota_boot_guard(void);
|
||
|
|
void device_ota_boot_ready(void);
|
||
|
|
bool device_ota_supported(void);
|
||
|
|
const char *device_ota_version(void);
|
||
|
|
int64_t device_ota_version_code(void);
|
||
|
|
void device_ota_poll(void);
|
||
|
|
// MQTT is a wakeup only; the manifest is fetched over factory-authenticated TLS.
|
||
|
|
void device_ota_request(const char *task_id);
|