I am working on a project to publish sensor data through MQTT using an STM32 processor and the EG91-EX module.
I am able to setup a connection with the MQTT server through LTE.
However, when I try to publish a message using AT+QMTPUBEX, I do not get the ‘>’ prompt back from the module.
How long should I wait for it? I tried up to 30 seconds, but nothing comes.
Is there a way to publish messages without using the > prompt?
Thanks for heloing out.
OK, I found the problem. It turns out that the AT+QMTPUBEX message was not terminating with \r\n and therefor ignored.
Thanks for your inquiry in Quectel forum. Glad to hear that you have find the problem. You can go on your test, if you have any technical issue, please do not hesitate to contact us. Thanks!