Accessing IoT Hubs is easy now that SDKs have been made available by Microsoft. These are open source and can be easily downloaded from GitHub. There are multiple language supports for using these SDKs. We will be using C# samples in this chapter to create a simulator and communicate with IoT Hub, followed by receiving these in another console's IoT solutions.
We can use HTTP, AMQP, or MQTT protocols. To connect with other platforms, we can use the protocol gateway that implements the custom communication; it is nothing but a framework. One of the options for implementing it is a cloud gateway, where we accept the data as a cloud service and then ingest it into the IoT Hub.