AWS IoT Device SDK C: Fleet Provisioning
AWS IoT Fleet Provisioning
Return to main page ↑
Fleet Provisioning Documentation

Library for the fleet provisioning feature of AWS IoT.Provisioning

When you use AWS IoT fleet provisioning, AWS IoT can generate and securely deliver device certificates and private keys to your devices when they connect to AWS IoT for the first time.

Description of the fleet provisioning feature from AWS IoT documentation

This library provides an API based on the Fleet Provisioning APIs available over MQTT. Features of this library include:

  • Synchronous API functions.
  • User-defined callbacks for handling responses.

Dependencies

Dependencies of the Provisioning library.

dot_inline_dotgraph_1.png
Provisioning direct dependencies

Currently, the Provisioning library has the following dependencies:

  • The MQTT library used to communicate with the AWS IoT Core service. See this page for more information on the MQTT library (and its dependencies)
  • The static memory library will be used if the library is built with IOT_STATIC_MEMORY_ONLY flag set to 1
  • The logging library may be used if AWS_IOT_LOG_LEVEL_PROVISIONING is not IOT_LOG_NONE.

In addition to the components above, the Provisioning library also depends on C standard libraries.

Memory requirements

Memory requirements of the Provisioning library.

Code size

Code size of the Provisioning library.

The following measurements were taken with arm-none-eabi-gcc v9.2.1 (November 2019) with the Provisioning library from April 2020. These values are rough estimates not tuned for any specific ARM processor.

(Also, refer to the MQTT memory requirements, which is a dependency of the Provisioning library.)

Minimal Size Build
No logging, asserts, or diagnostic information. Compiled using the ARM Thumb instruction set (-mthumb) and optimized for size (-Os). Values are in bytes.

object text data bss
aws_iot_provisioning_api 1744 4 72
aws_iot_provisioning_parser 1542 0 0
aws_iot_provisioning_serializer 1278 0 0
total 4564 4 72

Debug Build
All logging, asserts, and diagnostic information enabled. Debugging symbols available (Compiled with -Og -g flags). Compiled using the ARM Thumb instruction set (-mthumb). Values are in bytes.

object text data bss
aws_iot_provisioning_api 5748 4 72
aws_iot_provisioning_parser 5431 0 0
aws_iot_provisioning_serializer 2692 0 0
total 13871 4 72