Mqtt.
communicates directly with the MQTT-SN Gateway in the cloud through UDP and MQTT-SN. The third deployment mode is similar to the first one with the difference that the MQTT-SN protocol is used for interaction with the MQTT-SN Gateway in the cloud. In summary: The first scheme is the most typical