16:44:07.777 -> AT+QMTOPEN=0,"<URL>",8883
16:44:07.777 -> OK
16:44:10.246 ->
16:44:10.246 -> +QMTOPEN: 0,0
16:44:12.523 -> AT+QMTCONN=0,"Test","<USERNAME>","<PASSWORD>"
16:44:12.555 -> OK
16:44:12.910 ->
16:44:12.910 -> +QMTCONN: 0,1
16:44:12.910 ->
16:44:12.910 -> +QMTSTAT: 0,1
16:45:57.355 -> AT+QMTOPEN=0,"<URL>",8883
16:45:57.355 -> OK
16:45:57.875 ->
16:45:57.875 -> +QMTOPEN: 0,0
16:46:01.585 -> AT+QMTCONN=0,"Test","<USERNAME>","<PASSWORD>"
16:46:01.619 -> OK
16:46:01.945 ->
16:46:01.945 -> +QMTCONN: 0,1
16:46:01.945 ->
16:46:01.945 -> +QMTSTAT: 0,1
My concern is it my flow is right to publish data on Azure cloud?
As I am not executing the AT+QMTCFG=" “,0,” “,” “,” " AT command mentioned in example for without SSL, but is this compulsory to execute this command then, how should I run it for Azure cloud?
Although I have executed following commands
AT+QMTCFG="keepalive",0,120
OK
AT+QMTCFG="version",0,4
OK
AT+QMTCFG="session",0,1
OK
AT+QMTCFG="timeout",0,5,10,1
OK
AT+QMTCFG="will",0,0,0,0,"",""
OK
AT+QMTOPEN=0,"<URL>",8883
OK
+QMTOPEN: 0,0
AT+QMTCONN=0,"Test","<USERNAME>","<PASSWORD>"
OK
+QMTCONN: 0,1
+QMTSTAT: 0,1
@rodney.wang suggest me the flow of AT commands to publish data on azure IoT hub.
Thanks.