Lists the different callbacks that can be used during OTA updates.
Callbacks of type tpfOtaNotifCb and tpfOtaUpdateCb should be passed onto m2m_ota_init at system initialization. Other callbacks are provided to handle the various steps of Host File Download.
Typedefs | |
typedef void(* | tpfOtaNotifCb )(tstrOtaUpdateInfo *pstrOtaUpdateInfo) |
A callback to get notification about a potential OTA update. More... | |
typedef void(* | tpfOtaUpdateCb )(uint8 u8OtaUpdateStatusType, uint8 u8OtaUpdateStatus) |
A callback to get OTA status update, the callback provides the status type and its status. The OTA callback provides the download status, the switch to the downloaded firmware status and roll-back status. More... | |
void(* tpfOtaNotifCb)(tstrOtaUpdateInfo *pstrOtaUpdateInfo) |
A callback to get notification about a potential OTA update.
[in] | pstrOtaUpdateInfo | A structure to provide notification payload. |
A callback to get OTA status update, the callback provides the status type and its status.
The OTA callback provides the download status, the switch to the downloaded firmware status and roll-back status.
[in] | u8OtaUpdateStatusType | Possible values are listed in tenuOtaUpdateStatusType. |
[in] | u8OtaUpdateStatus | Possible values are listed as enumerated by tenuOtaUpdateStatus. |