MQTT problem with connection

Hello,
i’m using a sodaq ubee R410 to connect to a broker but it doesn’t work with AT COMMAND,

19:13:22.051 -> ERROR
19:13:26.833 -> AT+CEREG?

19:13:26.880 -> +CEREG: 0,1
19:13:26.880 ->
19:13:26.880 -> OK
19:15:20.089 -> AT+UMQTTNV=0

19:15:20.124 -> +UMQTTNV: 0,1

19:15:20.158 ->
19:15:20.158 -> OK
19:15:40.156 -> AT+UMQTT=0,“I”

19:15:40.190 -> +UMQTT: 0,1

19:15:40.223 ->
19:15:40.223 -> OK
19:15:45.939 -> AT+UMQTT?

19:15:49.951 ->
+UMQTT: (more)

19:15:49.984 ->
19:15:49.984 -> OK
19:16:32.967 -> AT+UMQTT=3,“MY_IP”,1883

19:16:33.035 -> +UMQTT: 3,1

19:16:33.035 ->
19:16:33.069 -> OK
19:17:16.374 -> AT+UMQTTC=1

19:19:40.037 -> +UMQTTC: 1,0

19:19:40.072 ->
19:19:40.072 -> OK
19:20:30.897 -> AT+UMQTTC=2,0,0,“user/ublox”,“Hi! This is an MQTT message.”

19:20:31.032 -> +CME ERROR: Operation not allowed

19:20:31.100 ->

19:20:37.368 -> AT+UMQTTC=2,0,0,“user/ublox”,“Hi! This is an MQTT message.”

19:20:37.504 -> +CME ERROR: Operation not allowed

19:20:37.571 ->

19:20:49.226 -> AT+UMQTTER?

19:20:49.226 -> +UMQTTER: 28,28

19:20:49.295 ->
19:20:49.295 -> OK
19:20:54.328 -> AT+UMQTTC=1

19:22:10.090 -> +UMQTTC: 1,0

Can you help me please?

Hi @Anton1,

What is the modem firmware version?
You can use ATI9 to get the firmware version.

Best regards,
Jan

It’s the last:
ATI9:L0.0.00.00.05.08,A.02.04

It gives me this error;
+UMQTTER: 350,-20043

Thank you…

Regards

1 Like

Hi @Anton1,

Thanks for the extra information.
What is the MQTT broker you use?
I know that there are some issues with specific MQTT brokers.
Have you tried the public services like hivemq and mosquitto?
As I can remember correctly one of these services also had an issue with the R410M MQTT implementation.

Best regards,
Jan

YES, I’m using Mosquitto, and i read that i have a limit of 30 characters for usurname, but i don’t need of them, infact I don’t use AT+UMTT=4

I notice another kind of problem, is it possible that I have always an error on TCP socket?
USOER=65 also if I don’t set nothing about it?
Then USOCO=0,“address”,port, give me “CME:OPERATION NOT ALLOW”