IoT Hub provides messaging, which is reliable and durable, by providing the following two types of communication between devices and IoT backend solutions:
- Send device-to-cloud messages
- Send cloud-to-device messages
IoT Hub implements at least once delivery guarantees for the messages. That means, when using device-to-cloud and cloud-to-device messaging, it will deliver the messages at least once. IoT Hub currently supports different devices: facing protocols mostly known as MQTT, AMQP, and HTTPS.
IoT Hub has defined a common message format, so that all device-facing protocols the communication work seamlessly. To make sure our devices are running as we expect them to, we will also want to be notified of our IoT device's state, which can be either be running or stopped. IoT Hub is built on technologies like event hubs and service bus to facilitate this device...