November 2018
Intermediate to advanced
556 pages
14h 42m
English
After we have registered our IoT device, we can start to develop it. AWS provides a complete AWS IoT SDK for several languages at https://aws.amazon.com/it/iot/sdk/. For our test, we will use the JavaScript SDK. We assume that Node.js already installed.
From the GitHub repository at https://github.com/aws/aws-iot-device-sdk-js, clone the examples and install the SDK. We need to open a Command Prompt. From the root directory in which we saved our certificates, we can run the following command:
$ npm init
Accept all the proposed options, then enter the following:
$ npm install aws-iot-device-sdk
We have now installed the Node.js client, so we can start to write our simple client, but we need the endpoint URL. From ...