70 int (*ota_start)(
struct lws_ota *g);
78 int (*ota_report_current)(
struct lws_ota *g,
int bad);
89 int (*ota_get_last_fw_unixtime)(uint64_t *fw_unixtime);
112 #define LWSOTAFIN_OK 0
113 #define LWSOTAFIN_BAD 1
LWS_VISIBLE LWS_EXTERN int lws_plat_ota_get_last_fw_unixtime(uint64_t *fw_unixtime)
LWS_VISIBLE LWS_EXTERN int lws_plat_ota_start(struct lws_ota *g)
LWS_VISIBLE LWS_EXTERN int lws_plat_ota_report_current(struct lws_ota *g, int bad)
LWS_VISIBLE LWS_EXTERN void lws_plat_ota_queue(struct lws_ota *g, lws_ota_async_t a)
@ LWSOTARET_UPDATE_AVAILABLE
LWS_VISIBLE LWS_EXTERN const char * lws_ota_variant_name(void)
void(* lws_ota_cb_t)(void *ctx, lws_ota_ret_t r)
int ota_periodic_check_secs