Send data to EC200U-cn over uart

Hi, I have Interface EC200U-cn to nRF52832 board through UART. I am able to connect server but when send publish command > (promt) is opened. when I send data/message manually it some time successfully sent and some time face in issue to close >(promt) using ctrl+z.
so, I want to sent json formatted data automatically is it possible? or not? How can I fill messages automatically in >.
below is my sample command sequence and responses.

“AT+QMTOPEN=0,"test.mosquitto.org",1883\r\n”,
“AT+QMTCFG="keepalive",0,60\r\n”, // Keep-alive interval set to 60 seconds
“AT+QMTCONN=0,"MyDevice123"\r\n”,
“AT+QMTPUBEX=0,1,1,1,"remed/test",6,\r\n”,

OK
+QMTOPEN: 0,0
OK
OK
+QMTCONN: 0,0,0

How many bytes can I send using AT+QMTPUBEX?
when to use AT+QMTPUBEX and AT+QMTPUB
@lyman-Q @herbert.pan-Q

ctrl+z equal to HEX(1A)
or

1 Like

Thanks for the reply. It possible to sent data automatically when I receive ‘>’? JSON data will be come from nrf52832. Currently, send json data with AT+QMTPUBEX command is not possible.