RAK5860 WisBlock NB-IoT - MQTT Error

I am trying to send data over MQTT using NB-IoT
I have been able to establish a WAN connection and get results from pinging 8.8.8.8
Then when trying to setup an MQTT connection, it all seems to work apart from trying to publish my message.
Here are the AT command sequence I am using after confirming I can ping the network.

09:24:56.847 -> AT+QMTOPEN=0,"test.mosquitto.org",1883

09:24:56.847 -> OK
09:24:59.374 -> 
09:24:59.374 -> +QMTOPEN: 0,0
09:25:02.815 -> AT+QMTCONN=0,"test"

09:25:02.815 -> OK
09:25:05.546 -> 
09:25:05.546 -> +QMTCONN: 0,0,0
09:25:08.403 -> AT+QMTPUB=0,0,0,0,"arduino","hello world"

09:25:08.487 -> ERROR
09:25:18.561 -> 
09:25:18.561 -> +QMTSTAT: 0,1

Side note: I can subscribe to MQTT just fine

09:58:32.729 -> AT+QMTSUB=0,1,"arduino",0

09:58:32.729 -> OK
09:58:35.784 -> 
09:58:35.784 -> +QMTSUB: 0,1,0,0
09:59:32.063 -> +QMTRECV: 0,0,"arduino","hello from paul"

Any help appreciated

Update:

AT+QMTPUBEX=0,0,0,0,"arduino","hello world"

Works just fine

1 Like