104 int32_t * pBlockSize,
105 uint8_t *
const * pPayload,
106 size_t * pPayloadSize );
OtaErr_t
The OTA API return status. OTA agent error codes are in the upper 8 bits of the 32 bit OTA error word...
Definition: ota.h:80
OtaJobStatus_t
Gives the status of the job operation.
Definition: ota.h:186
OtaMqttStatus_t
The OTA MQTT interface return status.
Definition: ota_mqtt_interface.h:90
OtaErr_t cleanupData_Mqtt(const OtaAgentContext_t *pAgentCtx)
Cleanup related to OTA data plane over MQTT.
Definition: ota_mqtt.c:1260
OtaErr_t updateJobStatus_Mqtt(const OtaAgentContext_t *pAgentCtx, OtaJobStatus_t status, int32_t reason, int32_t subReason)
Update job status over MQTT.
Definition: ota_mqtt.c:954
const char * OTA_MQTT_strerror(OtaMqttStatus_t status)
Status to string conversion for OTA MQTT interface status.
Definition: ota_mqtt.c:1285
OtaErr_t requestJob_Mqtt(const OtaAgentContext_t *pAgentCtx)
Check for available OTA job over MQTT.
Definition: ota_mqtt.c:854
OtaErr_t cleanupControl_Mqtt(const OtaAgentContext_t *pAgentCtx)
Cleanup related to OTA control plane over MQTT.
Definition: ota_mqtt.c:1232
OtaErr_t decodeFileBlock_Mqtt(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.
Definition: ota_mqtt.c:1193
OtaErr_t initFileTransfer_Mqtt(const OtaAgentContext_t *pAgentCtx)
Initialize file transfer over MQTT.
Definition: ota_mqtt.c:1022
OtaErr_t requestFileBlock_Mqtt(OtaAgentContext_t *pAgentCtx)
Request File block over MQTT.
Definition: ota_mqtt.c:1088
Macros, enums, variables, and definitions internal to the OTA Agent module and shared by other OTA mo...
The OTA agent is a singleton today. The structure keeps it nice and organized.
Definition: ota.h:339