AI7688H User Manual
-41-
Copyright@2016 AcSiP
AWS IoT Embedded-C SDK
Requirements
You'll need a computer running OS X or Ubuntu Linux. This is because you need the cross
compilation toolchain to use the AWS IoT C SDK.
Building and Running SDK Examples
Follow the steps below to know how to build the example applications.
1.
OpenWrt SDK
) . Make sure you can build
and deploy a helloworld example without problem.
2.
Locate the path to the cross compilation toolchain. If you extract the OpenWrt SDK in path
WRT_SDK, the toolchain is in
3.
Download the AWS IoT Embedded-C SDK. There are 2 versions. In this example we download
the
mbedTLS from ARM
version.
4.
Extract the downloaded AWS IoT SDK, in this example we use the path AWS_SDK.
5.
Use your AWS IoT Console, choose
"Connect a device"
to generate certification files.
Download and store the certification files to AWS_SDK/certs directory.
6.
Navigate the the
subscribe_publish_sample
sample application directory:
7.
Copy the resulting configuration text to aws_iot_config.h, it will look similar to this: