1.6.3.5 SYS_OTA_Config Struct

C

typedef struct {
    /*Auto reset is enabled or not*/
    uint8_t autoreset;
    
    /*OTA periodic check is enabled or not*/
    bool ota_periodic_check;
    
    /*OTA auto update is enabled or not*/
    bool ota_auto_update;
    
    /*periodic check time interval*/
    uint32_t periodic_check_interval;
    
    /*Application version*/
    uint32_t app_version;
    
    /*ota server url*/
    char *json_url;
    
    /*json url while taking input from CLI command*/
    char json_url_cli[JSON_URL_MAX_LEN];
    
} SYS_OTA_Config;

Summary

Used for passing on the configuration related to the OTA service.

Remarks

None.