1.1.1.3.4 OTA_SERVICE_Transport_FHMsgReceive
C
uint32_t OTA_SERVICE_Transport_FHMsgReceive(OTA_FILE_HANDLER_CONTEXT *otaFileHandlerCtx)
Summary
Handles the data received from the transport layer.
Description
This function is to extract the file header from the downloaded image and populate the data buffer for flash write.
Precondition
None.
Parameters
Param | Description |
---|---|
otaFileHandlerCtx | The structure related to the file handler for host OTA |
Returns
bytes_written : This variable gives the number of bytes written to the internal buffer for the flash write operation.
Example
OTA_SERVICE_Transport_FHMsgReceive(&otaFileHandlerCtx);
Remarks
None.