A new AWS IoT Device SDK is now available. It is a complete rework, built to improve reliability, performance, and security. We invite your feedback! The aws-iot-device-sdk.js package allows developers to write JavaScript applications that access the AWS IoT Platform via MQTT or MQTT over the Secure WebSocket Protocol. It can be used in Node.js environments as well as in-browser applications. This package is built on top of mqtt.js and provides three classes: 'device', 'thingShadow' and 'jobs'. The 'device' class wraps mqtt.js to provide a secure connection to the AWS IoT platform and expose the mqtt.js interfaces upward. It provides features to simplify the handling of intermittent connections, including progressive backoff retries, automatic re-subscription upon connection and queued offline publishing with a configurable drain rate. Beginning with Release v2.2.0 of the SDK, AWS collects usage metrics indicating which language and version of the SDK is being used.

Features

  • The 'thingShadow' class implements additional functionality for accessing Thing Shadows via the AWS IoT API
  • The 'jobs' class implements functionality to interact with the AWS IoT Jobs service
  • The user can also update the device's Thing Shadow in AWS IoT and the remote device will synchronize with the new state
  • AWS IoT Node.js SDK will only support Node version 4 or above
  • Included in this package is an example 'agent'
  • Rotation of security certificates, device reboots, and custom device specific management tasks

Project Samples

Project Activity

See All Activity >

Categories

Communications, IoT

License

Apache License V2.0

Follow AWS IoT SDK for JavaScript

AWS IoT SDK for JavaScript Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AWS IoT SDK for JavaScript!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Communications Software, JavaScript IoT Software

Registered

2022-07-04