AWS IoT Device SDK C: Shadow
AWS IoT Device Shadow library
Return to main page ↑
Test Configuration

Configuration settings of the Shadow system tests.

Configuration settings are C pre-processor constants. They can be set with a #define in the config file (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 Shadow system tests. In addition to the settings on this page, them Shadow system tests will also be affected by settings that affect all tests.

configpagemarker

AWS_IOT_TEST_SHADOW_THING_NAME

The Thing Name to use in the Shadow system tests.

Thing Names are used to manage devices with AWS IoT. No default value is provided for Thing Names, so this constant must be defined. In addition to the Thing 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 Thing Name.

IOT_TEST_MQTT_SHORT_KEEPALIVE_INTERVAL_S

The keep-alive interval to use in the Shadow system tests.

MQTT PINGREQ packets will be sent at this interval.

Possible values: Any positive integer.
Recommended values: This value should be the shortest keep-alive interval supported by the connection.
Default value (if undefined): 30