#include <lws-ota.h>
Definition at line 66 of file lws-ota.h.
 
◆ ota_start
      
        
          | int(* lws_ota_ops_t::ota_start) (struct lws_ota *g) | 
      
 
Creates the ota task and queues LWS_OTA_ASYNC_START on it. 
Definition at line 70 of file lws-ota.h.
 
 
◆ ota_queue
Queue next command to OTA task (args are in g) 
Definition at line 73 of file lws-ota.h.
 
 
◆ ota_report_current
      
        
          | int(* lws_ota_ops_t::ota_report_current) (struct lws_ota *g, int bad) | 
      
 
Report information to the platform code about how we feel about the current boot... if we can check the OTA then we report it seems in good shape (bad = 0), if we can identify it's brain-damaged then (bad = 1). What action the platform takes about these reports is up to the platform code 
Definition at line 78 of file lws-ota.h.
 
 
◆ ota_progress
      
        
          | int(* lws_ota_ops_t::ota_progress) (lws_ota_ret_t state, int percent) | 
      
 
Gets called so the platform can represent OTA progress, give platform a chance to choose what to do about an available update 
Definition at line 85 of file lws-ota.h.
 
 
◆ ota_get_last_fw_unixtime
      
        
          | int(* lws_ota_ops_t::ota_get_last_fw_unixtime) (uint64_t *fw_unixtime) | 
      
 
tries to recover the newest firmware unixtime that had been OTA'd into fw_unixtime, updates from same or earlier unixtime are ignored for update purposes. 
Definition at line 89 of file lws-ota.h.
 
 
◆ ota_periodic_check_secs
      
        
          | int lws_ota_ops_t::ota_periodic_check_secs | 
      
 
Check after this many seconds for a new update 
Definition at line 94 of file lws-ota.h.
 
 
The documentation for this struct was generated from the following file: