![]() |
RAFW Flexible Software Package Documentation
Release v2.0.1
|
|
Settings structure used for ota update requests. More...
#include <rm_atcmd_w_core_ota_common.h>
Data Fields | |
| atcmd_w_ota_update_type | update_type |
| FW type being downloaded. | |
| char | url [ATCMD_W_OTA_HTTP_URL_LEN] |
| OTA Server address where RTOS firmware exists. | |
| 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 |
| Flash address where the downloaded FW is written. | |
| 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 | update_state |
| Status of the download process (not_ready, ready, progress, finish, stop). | |
| UINT | status |
| Download status. (success or failed) | |
| UINT | progress_rtos |
| RTOS download progress. | |
| UINT | progress_mcu_fw |
| MCU FW download progress. | |
| UINT | progress_cert_key |
| CERT_KEY download progress. | |
Settings structure used for ota update requests.