here is the log output of AT command,
Code: Select all
AT+CSQ
+CSQ: 29,99
OK
AT+CREG?
+CREG: 0,1
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+CGSOCKCONT=1,"IP","Jionet"
OK
AT+CGPADDR
+CGPADDR: 1,25.34.200.216
OK
AT+CGACT?
+CGACT: 1,1
AT+CSSLCFG="sslversion",0,4
OK
AT+CSSLCFG="authmode",0,1
OK
AT+CCERTDOWN="BaltimoreCyberTrustRoot.crt.pem",1262
AT+CSSLCFG="cacert",0,"BaltimoreCyberTrustRoot.crt.pem"
OK
AT+CCERTLIST
+CCERTLIST: "BaltimoreCyberTrustRoot.crt.pem"
OK
AT+NETOPEN
OK
+NETOPEN: 0
AT+CMQTTSTART
+CMQTTSTART: 0
OK
AT+CMQTTACCQ=0, "testdev"
OK
AT+CMQTTSSLCFG=0,0
OK
AT+CMQTTWILLTOPIC=0,32
devices/testdev/messages/events/
OK
AT+CMQTTWILLMSG=0,17,1
>SIMCOM Connected!
OK
AT+CMQTTCONNECT=0,"tcp://IOTHUB.azure-devices.net:8883",90,1,"IOTHUB.azure-devices.net/testdev/?api-version=2018-06-30","SharedAccessSignaturesr=IOTHUB.azuredevices.net%2Fdevices%2Ftestdev&sig=0xNig7Hcyd9MJUiEyGCQLASM5pTEB1NP7MAy%2FssAi58%3D&se=1639212345"
OK
+CMQTTCONNECT: 0,6
+CMQTTCONNLOST: 0,1