-38-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
9
AWS IoT
AWS IoT is a managed cloud service on AWS cloud. You can use AWS IoT Device SDK
to program AI7688H connects to AWS IoT.
It provides 2 different SDKs and compatible with AI7688H is shown below:
Environment Setup
To run the SDK examples you'll need an AWS account and optionally
AWS CLI(Command Line Interface)
Use an SD card to
expand the root file system
.
This is because AWS CLI and device
SDK takes considerable amount of disk spaces.
Sign-up an AWS account
Install AWS CLI. You can install the CLI on AI7688H directly with
pip install awscli
or use your PC to
Generates certificates required by the examples by following the instructions
in
Copy the
certificates, private key, and root-CA
file to AI7688H to ~/certs directory.
You can follow the instructions.
AWS IoT SDK for JavaScript
Simply follow the npm installation steps:
Note that there will be two missing optional dependencies [email protected] and
[email protected] - this can be ignored.