The Azure IoT Node.js Device Client Library is can be used to build applications on devices that interact with Azure IoT Hub.
- Send event data to Azure IoT Hub.
- Receive messages from IoT Hub.
- Support for multiple communications protocols, including MQTT (optionally over WebSockets), AMQP (optionally over WebSockets), or HTTP.
- Synchronize an Azure IoT Hub device Twin with Azure IoT Hub from a device
- Implement Azure IoT Hub Direct Device Methods on devices
- Implement Azure IoT Device Mangement features on devices
- Get started in minutes with the azure-iot-device npm package
- Check out the simple samples provided in this repository
- Try out the Node-RED node for Azure IoT Hub
Device SDK subfolders:
Device SDK Client package. This is used in conjunction with a protocol implementation package coming from one of the transport
folder.
Protocol-specific SDK packages for: AMQP, AMQP over WebSockets, MQTT, MQTT over WebSockets and HTTP.
Sample applications exercising basic features.
Sample Node-RED module for Azure IoT Hub.
This is meant to serve only basic scenarios for testing and is not recommended as a production-ready node-red module.