- Learning AWS IoT
- Agus Kurniawan
- 211字
- 2021-06-30 19:26:06
Setting up the development environment
After we have registered all the IoT devices for AWS IoT, we can set up our development environment. Depending on your kind of IoT device, you can install AWS IoT SDK for your device. You can review the details at https://aws.amazon.com/iot/sdk/.
For testing, we use a computer that acts as an IoT thing. The computer will access AWS IoT. To simplify our case, I use JavaScript SDK for AWS IoT, available at https://github.com/aws/aws-iot-device-sdk-js. Since JavaScript SDK for AWS IoT needs Node.js to run the program, your computer should install Node.js runtime. You can download and install Node.js for your platform from https://nodejs.org/.
To install AWS IoT SDK for JavaScript, do so through the npm package. You should install Node.js runtime for your platform. You can type the following command to install AWS IoT SDK for JavaScript:
$ npm install aws-iot-device-sdk
You can probably run this command at an administrator level if you get an error message due to a security issue.
For the development tool, you can use any text editor to write JavaScript scripts. For instance, you can use Visual Studio Code at https://code.visualstudio.com. You can see my sample JavaScript scripts on Visual Studio Code IDE in the following screenshot:

- Excel 2010中文版完全自學(xué)手冊
- Articulate Studio Cookbook
- InDesign CS6中文版基礎(chǔ)與實(shí)例教程
- 善用圖表:一看就懂的商業(yè)數(shù)據(jù)表達(dá)術(shù)
- 高效能辦公必修課:Excel數(shù)據(jù)處理
- 漫!動(dòng)作!人體動(dòng)態(tài)漫畫素描技法超級(jí)大全
- Office 365 管理實(shí)踐
- Word 2003辦公應(yīng)用實(shí)戰(zhàn)從入門到精通
- Word Excel PPT商務(wù)辦公從新手到高手(白金全彩版)
- Excel 2013應(yīng)用技巧實(shí)例大全
- Excel 2013從入門到精通
- Excel 2016數(shù)據(jù)透視表從入門到精通
- 新手易學(xué):Word 2010+Excel 2010+PowerPoint 2010三合一
- 電腦高效辦公
- PPT職場利器:PPT商務(wù)應(yīng)用案例大全