title | description | services | documentationcenter | author | manager | editor | ms.assetid | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Understand Azure IoT Hub messaging | Microsoft Docs |
Developer guide - device-to-cloud and cloud-to-device messaging with IoT Hub. Includes information about message formats and supported communications protocols. |
iot-hub |
.net |
dominicbetts |
timlt |
3fc5f1a3-3711-4611-9897-d4db079b4250 |
iot-hub |
multiple |
article |
na |
na |
09/14/2017 |
dobett |
Use IoT Hub messaging to communicate with your devices by:
- Sending device-to-cloud messages from your devices to your solution back end.
- Sending cloud-to-device messages from the solution back end to your devices.
Core properties of IoT Hub messaging functionality are the reliability and durability of messages. These properties enable resilience to intermittent connectivity on the device side, and to load spikes in event processing on the cloud side. IoT Hub implements at least once delivery guarantees for both device-to-cloud and cloud-to-device messaging.
For an introduction to the capabilities of IoT Hub, see the articles Azure and Internet of Things and Overview of the Azure IoT Hub service.
Use device-to-cloud messages for sending time series telemetry and alerts from your device app, and cloud-to-device messages for one-way notifications to your device app.
- Refer to Device-to-cloud communication guidance if in doubt between using device-to-cloud messages, reported properties, or file upload.
- Refer to Cloud-to-device communication guidance if in doubt between using cloud-to-device messages, desired properties, or direct methods.
- Learn about IoT Hub device-to-cloud messaging.
- Learn about IoT Hub cloud-to-device messaging.