AWS IoT Fleet Provisioning  v1.0.0
AWS IoT Fleet Provisioning Library
Configurations

Configurations of the AWS IoT Fleet Provisioning Library.

configpagestyle

Configuration settings are C pre-processor constants. They can be set with a \#define in the config file (fleet_provisioning_config.h) or by using a compiler option such as -D in gcc.

FLEET_PROVISIONING_DO_NOT_USE_CUSTOM_CONFIG

Define this macro to build the AWS IoT Fleet Provisioning Library without the custom config file fleet_provisioning_config.h. Without the custom config, the the AWS IoT Fleet Provisioning Library builds with default values of config macros defined in the fleet_provisioning_config_defaults.h file.

If a custom config file is provided, then FLEET_PROVISIONING_DO_NOT_USE_CUSTOM_CONFIG must not be defined.

Default value: FLEET_PROVISIONING_DO_NOT_USE_CUSTOM_CONFIG is not defined by default and the library expects a fleet_provisioning_config.h file.

LogError

Macro used in the Fleet Provisioning library to log error messages. To enable error logging, this macro should be mapped to an application-specific logging implementation.

Note
This logging macro is called in the Fleet Provisioning library with parameters wrapped in double parentheses to be ISO C89/C90 standard compliant. For a reference POSIX implementation of the logging macros, refer to the fleet_provisioning_config.h file, and the logging-stack in demos folder of the AWS IoT Embedded C SDK repository.

Default value: Error logs are turned off, and no code is generated for calls to the macro in the Fleet Provisioning library on compilation.

LogWarn

Macro used in the Fleet Provisioning library to log warning messages. To enable warning logging, this macro should be mapped to an application-specific logging implementation.

Note
This logging macro is called in the Fleet Provisioning library with parameters wrapped in double parentheses to be ISO C89/C90 standard compliant. For a reference POSIX implementation of the logging macros, refer to the fleet_provisioning_config.h file, and the logging-stack in demos folder of the AWS IoT Embedded C SDK repository.

Default value: Warning logs are turned off, and no code is generated for calls to the macro in the Fleet Provisioning library on compilation.

LogInfo

Macro used in the Fleet Provisioning library to log info messages. To enable info logging, this macro should be mapped to an application-specific logging implementation.

Note
This logging macro is called in the Fleet Provisioning library with parameters wrapped in double parentheses to be ISO C89/C90 standard compliant. For a reference POSIX implementation of the logging macros, refer to the fleet_provisioning_config.h file, and the logging-stack in demos folder of the AWS IoT Embedded C SDK repository.

Default value: Info logs are turned off, and no code is generated for calls to the macro in the Fleet Provisioning library on compilation.

LogDebug

Macro used in the Fleet Provisioning library to log debug messages. To enable debug logging, this macro should be mapped to an application-specific logging implementation.

Note
This logging macro is called in the Fleet Provisioning library with parameters wrapped in double parentheses to be ISO C89/C90 standard compliant. For a reference POSIX implementation of the logging macros, refer to the fleet_provisioning_config.h file, and the logging-stack in demos folder of the AWS IoT Embedded C SDK repository.

Default value: Debug logs are turned off, and no code is generated for calls to the macro in the Fleet Provisioning library on compilation.