OTA_SERVICE_Transport_Complete
C
bool OTA_SERVICE_Transport_Complete(void)
Summary
Validate OTA_COMPLTETE.
Description
Once all host images have been transferred, the host MCU will receive the %OTA_COMPLETE% status event. Upon receipt of %OTA_COMPLETE%, the host MCU uses the OTAV, 01 command to inform the RNBD451 about the validation status and the commencement of the validation process.
Precondition
This function is invoked when the entire binary image is received, that is, when the end of file is reached.
Parameters
None
Returns
If the host be unable to identify the OTA_COMPLETE keyword, or if the response received upon the completion of the file transfer is not the expected message, this function will return as false. However, if these conditions are met, the function will return as true.
Example
OTA_SERVICE_Transport_Complete();
Remarks
None.