I’m using a u-Blox SARA-R422M8S cellular module trying to connect to Azure Iot Hub with the MQTT AT commands. The module supports MQTT 3.1.1. The login request fails with “Broker connection refused, not authorized“. Using the same credidentials in the python example at Microsoft Azure documention, the login succeeds and I can publish. I’ve uploaded the Baltimore root cert and activated the TLS for the socket, so this seems ok as well as I get another errorcode elsewise.
Anyone experienced similar?
PS, here are the AT commands used:
Read more here: Source link