IoT Hub expects secure connectivity with AMQP by making a connection over port 5671 when data is ingested from the device to the IoT Hub.
In this recipe, we will make a sender link and a receiver link. The sender will be used for telemetry data to the cloud and the receiver will be designed to accept the commands and process them.