FreeRTOS:
OTA
Over the Air Update library
|
Return to main page ↑ |
OTA File Context Information. More...
#include <aws_iot_ota_agent.h>
Data Fields | |
uint8_t * | pucFilePath |
union { | |
int32_t lFileHandle | |
uint8_t * pucFile | |
}; | |
uint32_t | ulFileSize |
uint32_t | ulBlocksRemaining |
uint32_t | ulFileAttributes |
uint32_t | ulServerFileID |
uint8_t * | pucJobName |
uint8_t * | pucStreamName |
Sig256_t * | pxSignature |
uint8_t * | pucRxBlockBitmap |
uint8_t * | pucCertFilepath |
uint8_t * | pucUpdateUrlPath |
uint8_t * | pucAuthScheme |
uint32_t | ulUpdaterVersion |
bool | bIsInSelfTest |
uint8_t * | pucProtocols |
OTA File Context Information.
Information about an OTA Update file that is to be streamed. This structure is filled in from a job notification MQTT message. Currently only one file context can be streamed at time.
uint8_t* OTA_FileContext_t::pucFilePath |
Local file pathname.
int32_t OTA_FileContext_t::lFileHandle |
Device internal file pointer or handle. File type is handle after file is open for write.
uint8_t* OTA_FileContext_t::pucFile |
File type is RAM/Flash image pointer after file is open for write.
uint32_t OTA_FileContext_t::ulFileSize |
The size of the file in bytes.
uint32_t OTA_FileContext_t::ulBlocksRemaining |
How many blocks remain to be received (a code optimization).
uint32_t OTA_FileContext_t::ulFileAttributes |
Flags specific to the file being received (e.g. secure, bundle, archive).
uint32_t OTA_FileContext_t::ulServerFileID |
The file is referenced by this numeric ID in the OTA job.
uint8_t* OTA_FileContext_t::pucJobName |
The job name associated with this file from the job service.
uint8_t* OTA_FileContext_t::pucStreamName |
The stream associated with this file from the OTA service.
Sig256_t* OTA_FileContext_t::pxSignature |
Pointer to the file's signature structure.
uint8_t* OTA_FileContext_t::pucRxBlockBitmap |
Bitmap of blocks received (for de-duping and missing block request).
uint8_t* OTA_FileContext_t::pucCertFilepath |
Pathname of the certificate file used to validate the receive file.
uint8_t* OTA_FileContext_t::pucUpdateUrlPath |
Url for the file.
uint8_t* OTA_FileContext_t::pucAuthScheme |
Authorization scheme.
uint32_t OTA_FileContext_t::ulUpdaterVersion |
Used by OTA self-test detection, the version of FW that did the update.
bool OTA_FileContext_t::bIsInSelfTest |
True if the job is in self test mode.
uint8_t* OTA_FileContext_t::pucProtocols |
Authorization scheme.