In this recipe, we have only scratched the surface of what the IoT Hub SDK is capable of doing. For example, we could even send cloud-to-device messages that allow us to queue up a set of messages for the device to digest. We could have also sent a direct message. This is like a cloud-to-device message that sends a message to a device but does not queue the message. If a device is offline, the message never gets sent. Another option would have been to upload to a blob. This allows us to upload log or binary files securely and directly to blob storage. Finally, we could have used device twins, which allow us to have a configuration file set on the device and can be queried across a fleet of devices. This would help us find out if an update did not work or a setting did not get set properly.





















































