Represents the OTA data interface functions. More...
#include <ota_interface_private.h>
Data Fields | |
| OtaErr_t(* | initFileTransfer )(const OtaAgentContext_t *pAgentCtx) | 
| OtaErr_t(* | requestFileBlock )(OtaAgentContext_t *pAgentCtx) | 
| OtaErr_t(* | decodeFileBlock )(const uint8_t *pMessageBuffer, size_t messageSize, int32_t *pFileId, int32_t *pBlockId, int32_t *pBlockSize, uint8_t *const *pPayload, size_t *pPayloadSize) | 
| OtaErr_t(* | cleanup )(const OtaAgentContext_t *pAgentCtx) | 
Represents the OTA data interface functions.
The functions in this structure are used for the data operations during over the air updates like requesting file blocks.
| OtaErr_t(* OtaDataInterface_t::initFileTransfer) (const OtaAgentContext_t *pAgentCtx) | 
Initialize file transfer.
| OtaErr_t(* OtaDataInterface_t::requestFileBlock) (OtaAgentContext_t *pAgentCtx) | 
Request File block.
| OtaErr_t(* OtaDataInterface_t::decodeFileBlock) (const uint8_t *pMessageBuffer, size_t messageSize, int32_t *pFileId, int32_t *pBlockId, int32_t *pBlockSize, uint8_t *const *pPayload, size_t *pPayloadSize) | 
Decode a cbor encoded fileblock.
| OtaErr_t(* OtaDataInterface_t::cleanup) (const OtaAgentContext_t *pAgentCtx) | 
Cleanup related to OTA data plane.