[MQTT] locks up when set authentication and client ID.

Simplify IoT Development.

Moderators: lily.li, violet, seth.welday

Post Reply
jonathanese
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Mon Jul 23, 2018 11:51 pm

[MQTT] locks up when set authentication and client ID.

Post by jonathanese » Tue Apr 16, 2019 4:50 am

I'm using the Wio Tracker
(Wio LTE Cat M1/NB-IoT Tracker)

I can connect to an Azure MQTT server when it does not require authentication. I'm trying to test it using an authenticated MQTT server, but when I try to set authentication or set the client ID, I simply get no response.

Thus far, I'm thinking the main culprit is the length. I am sending "AT+UMQTT=4, "user", "password", and with the actual username and password entered, the string ends up over 160 characters, and includes spaces and a full URI. The strange part is just that I get NO response. Having worked with modems in the past, a bad command will return an error, but there was very little that could return a blank.

Any ideas what could be going on?

EDIT: OK, shortening the username and password allows authentication to pass. Set Client ID returns a failure right away, though.

shane.carter
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Mon Oct 21, 2019 7:53 pm

Re: [MQTT] locks up when set authentication and client ID.

Post by shane.carter » Mon Oct 21, 2019 7:59 pm

Did you ever find a solution to your problem? I am having the same issue

Post Reply