RAK5010 publish MQTT messages ERROR

Hi everyone, I’m trying to send data from RAK5010 to cloud using MQTT. I was successful in connecting to cloudmqtt.com and getting data from there. But when I try to send data up there, I get error ERROR:RUI_AT_UNSUPPORT 1. Looks like I made a syntax error. I use termite 3.4 to send commands to RAK5010 and it doesn’t seem to understand the character I want to send. I also tried pressing “Ctrl+Z” as instructed in the documentation Quectel_BG96_MQTT_Application_Note_V1.0 but it doesn’t work, and when I press “enter” it shows the error as below and the rak5010 module hangs, no response. Here is the full AT command and the error I made:

at+set_config=cellular:(AT+QMTCFG=“aliauth”,0)
+QMTCFG: “aliauth”,“”,“”,“”
OK

at+set_config=cellular:(AT+QMTOPEN=0,“tailor.cloudmqtt.com”,12269)
OK
+QMTOPEN: 0,0

at+set_config=cellular:(AT+QMTCONN=0,“rak5010”,“khdcbvkq”,“EDKN68_xOv1Z”)
OK
+QMTCONN: 0,0,0

at+set_config=cellular:(AT+QMTSUB=0,1,“topic/pub”,0)
OK
+QMTSUB: 0,1,0,0

at+set_config=cellular:(AT+QMTPUB=0,0,0,0,“topic/pub”)

Hello Rak5010
Hello Rak5010
ERROR:RUI_AT_UNSUPPORT 1

I just like to clarify.

That is the reply on at+set_config=cellular:(AT+QMTPUB=0,0,0,0,“topic/pub”)?

Here is the image for the error I got

I also try with command at+set_config=cellular:(Hello Rak5010)
and at+set_config=cellular:(“Hello Rak5010”) as shown below but it causes rak5010 module to hang and become unresponsive

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.