Add an AWS IoT application to your image

You can build your applications to connect to AWS IoT platform using the AWS IoT support already included in Digi Embedded Yocto. Use the AWS IoT demo code and its recipe as a reference to create your own AWS IoT applications and recipes. To know how to create your AWS IoT application see topic AWS IoT device SDK for embedded C.

  1. Add your AWS IoT application package.
  2. Edit your project's conf/local.conf file and add the package to the list of packages to install. For example to add the AWS IoT demo:

    IMAGE_INSTALL_append = " awsiotsdk-demo"

    Note Note the white space after the quotes when adding packages to IMAGE_INSTALL_append.

  3. Generate the certificates for the AWS IoT application. See 2.1. Generate the certificates for the AWS IoT example.
  4. Configure the required AWS IoT parameters. See 2.2. Configure the required AWS IoT parameters.
  5. Build your firmware as usual.