The Microsoft Azure IoT device libraries for Node.js contain code that facilitates building devices and applications that connect to and are managed by Azure IoT Hub.
The IoT device SDK for Node.js libraries enable you to:
- Send event data to Azure IoT based services.
- Map server commands to device functions.
- Batch messages to improve communication efficiency.
- Support pluggable transport protocols. HTTPS protocol is available now.
For more information on how to use this library refer to the documents below:
- Prepare your node.js development environment
- Setup IoT Hub
- Provision devices
- Using the DeviceExplorer application to test IoT Hub device connectivity
- Run the node.js sample application
- Node API reference
All the Node.js specific resources are located in the node folder. This folder contains various script files to help you to prepare your development environment. The node folder contains the following subfolders:
This folder contains various JavaScript build scripts.
This folder contains common library code used by both the device and service libraries.
This folder contains application development guideline documents:
This folder contains the device SDK library code.
This folder contains various sample applications that illustrate how to use the device features of the Microsoft Azure IoT SDK for Node.js.