RAFW Flexible Software Package Documentation  Release v2.0.1

 
ATCMD_W_OTA_UPDATE_CONFIG Struct Reference

OTA update configuration structure. More...

#include <rm_atcmd_w_core_ota_update.h>

Data Fields

atcmd_w_ota_update_type update_type
 Update type.
 
char url [ATCMD_W_OTA_HTTP_URL_LEN]
 Server address where firmware exists.
 
void(* download_notify )(atcmd_w_ota_update_type update_type, UINT ret_status, UINT progress)
 Callback function pointer to check the download status.
 
void(* renew_notify )(UINT ret_status)
 Callback function pointer to check the renew state. Only for RTOS.
 
UINT auto_renew
 If the value is true, if the new firmware download is successful, it will reboot with the new firmware. Only for RTOS.
 
UINT download_sflash_addr
 Address of sflash where other_fw is stored. Only for MCU_FW and CERT_KEY.
 

Detailed Description

OTA update configuration structure.


The documentation for this struct was generated from the following file: