nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
suit_service.h File Reference

The SUIT SSF service allows to start the SUIT DFU, read information about the currently installed manifests and provides services necessary for processing manifests by the local domain. More...

#include <stdlib.h>
#include <stdbool.h>
#include <suit_plat_err.h>
#include <suit_mreg.h>
#include <suit_metadata.h>

Go to the source code of this file.

Data Structures

struct  suit_ssf_manifest_class_info_t
 
#define SUIT_SSF_MISSING_COMPONENT   1
 
#define SUIT_SSF_FAIL_CONDITION   2
 
#define SUIT_SSF_ERR_MANIFESTCLASSID   3
 
typedef int suit_ssf_err_t
 
suit_ssf_err_t suit_check_installed_component_digest (suit_plat_mreg_t *component_id, int alg_id, suit_plat_mreg_t *digest)
 Check if the installed component digest matches.
 
suit_ssf_err_t suit_trigger_update (suit_plat_mreg_t *regions, size_t len)
 Trigger the system update procedure.
 
suit_ssf_err_t suit_get_installed_manifest_info (suit_manifest_class_id_t *manifest_class_id, unsigned int *seq_num, suit_semver_raw_t *version, suit_digest_status_t *status, int *alg_id, suit_plat_mreg_t *digest)
 Read the information about the manifest, that was used to boot the system.
 
suit_ssf_err_t suit_get_install_candidate_info (suit_manifest_class_id_t *manifest_class_id, unsigned int *seq_num, suit_semver_raw_t *version, int *alg_id, suit_plat_mreg_t *digest)
 Check validity and read information about the update candidate.
 
suit_ssf_err_t suit_get_supported_manifest_roles (suit_manifest_role_t *roles, size_t *size)
 Get an array of supported manifest roles.
 
suit_ssf_err_t suit_get_supported_manifest_info (suit_manifest_role_t role, suit_ssf_manifest_class_info_t *class_info)
 Get class info (class id, vendor ID, role) for a given, supported manifest role. Prior to calling this function, suit_get_supported_manifest_roles should be called to get the supported roles.
 

Detailed Description

The SUIT SSF service allows to start the SUIT DFU, read information about the currently installed manifests and provides services necessary for processing manifests by the local domain.