-39-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
Make sure you have copied proper certification files to ~/certs directory before
running the examples.
Then you should be able to run the examples from the SDK:
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 “
subscribe_publish_sample”
application directory: