- 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:

- Word/Excel/PPT 2007辦公應用從入門到精通
- Excel2019高級進階:SQL應用
- 高效能辦公必修課:Excel數據處理
- Excel 2010在會計與財務管理日常工作中的應用
- 游戲引擎原理與實踐·卷1:基礎框架
- AutoCAD 2018中文版室內裝潢設計從入門到精通
- Excel 2016辦公專家從入門到精通(視頻自學版)
- Word/Excel/ PPT 2010入門與提高
- Office 2021辦公應用實戰從入門到精通
- 和秋葉一起學:秒懂Word
- DPDK應用基礎
- Office 2013入門與提高(超值版)
- Excel函數、圖表與透視表從入門到精通(全新版)
- Excel/PPT 2016辦公應用從入門到精通
- Excel原理與技巧大全