I have successfully connected with an MQTT client (MQTTfx) to an IoT Hub with no issues.
However when I try to do the same with my device (HL7800 from Sierra Wireless) I get a connect error 5.
What could be the problem here? I am using MQTT 3.1.1 on both occasions and the same username and clientID.
I created different devices to make sure it's not something to do with multiple clients on the same device.