Azure SDK for Embedded C
Data Fields
az_iot_adu_client_update_request Struct Reference

Structure that holds the parsed contents of the ADU request in the Plug and Play writable properties sent by the ADU service. More...

#include <az_iot_adu_client.h>

Data Fields

az_iot_adu_client_workflow workflow
 
az_span update_manifest
 
az_span update_manifest_signature
 
az_iot_adu_client_file_url file_urls [_az_IOT_ADU_CLIENT_MAX_TOTAL_FILE_COUNT]
 
uint32_t file_urls_count
 

Detailed Description

Structure that holds the parsed contents of the ADU request in the Plug and Play writable properties sent by the ADU service.

Field Documentation

◆ file_urls

az_iot_adu_client_file_url az_iot_adu_client_update_request::file_urls[_az_IOT_ADU_CLIENT_MAX_TOTAL_FILE_COUNT]

An array of files associated with the deployment. These are then correlated with specific steps of the update via their IDs.

◆ file_urls_count

uint32_t az_iot_adu_client_update_request::file_urls_count

Number of items in file_urls.

◆ update_manifest

az_span az_iot_adu_client_update_request::update_manifest

Description of the content of an update.

Note
This will come as an escaped string. This is done to guarantee ordering of JSON values so that we may verify a signature over the payload. The user must unescape it using an API such as az_json_string_unescape() before subsequently calling az_iot_adu_client_parse_update_manifest() with it.

◆ update_manifest_signature

az_span az_iot_adu_client_update_request::update_manifest_signature

A JSON Web Signature (JWS) with JSON Web Keys used for source verification.

◆ workflow

az_iot_adu_client_workflow az_iot_adu_client_update_request::workflow

A set of values that indicate which deployment the agent is currently working on.


The documentation for this struct was generated from the following file: