Device-to-cloud and cloud-to-device messaging with IoT Hub

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.

When to use IoT Hub messaging

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.

Next steps