AWS IoT Device SDK C:
Fleet Provisioning
AWS IoT Fleet Provisioning
|
Return to main page ↑ |
Configuration settings of the Provisioning system tests.
Configuration settings are C pre-processor constants. They can be set with a #
in the config file (define
iot_config.h
) or by using a compiler option such as -D
in gcc. If a configuration setting is not defined, the library will use a "sensible" default value (unless otherwise noted). Because they are compile-time constants, a library must be rebuilt if a configuration setting is changed.
The settings on this page only affect the Provisioning system tests. In addition to the settings on this page, them Provisioning system tests will also be affected by settings that affect all tests.
The Template name to use in the Provisioning system tests.
Provisioning Templates are used to facilitate provisioning of devices with AWS IoT Core. No default value is provided for Template Names, so this constant must be defined. In addition to the Template Name, AWS IoT credentials (root CA certificate, client certificate, and client certificate private key) must be provided to run the system tests. The AWS IoT policy must also be properly configured.
Possible values: A string representing an AWS IoT Fleet Provisioning Template Name.
The list of parameters to pass as device context in the Provisioning system tests.
Template parameters are used to provide context of the device requesting provisioning.
Possible values: A C-style list initialization of parameters.
Recommended values: A "SerialNumber" parameter is required by the default Provisioning Template, that is created by the AWS IoT Console, to create a Thing resource. It should also include other parameter name-value pairs that are needed by the Provisioning Template.
Default value (if undefined): A "SerialNumber" parameter name without the value. The parameter value should to be specified.