Have tried the following sequence of AT commands, the connection keeps closing. Please tell me where I'm going wrong.
23:22:08.825 -> AT
23:22:08.825 -> OK
23:23:05.805 -> AT+CSQ
23:23:05.805 -> +CSQ: 20,99
23:23:05.805 ->
23:23:05.805 -> OK
23:24:40.356 -> AT+CREG?
23:24:40.356 -> +CREG: 0,1
23:24:40.356 ->
23:24:40.356 -> OK
23:27:11.411 -> AT+CGREG?
23:27:11.411 -> +CGREG: 0,1
23:27:11.411 ->
23:27:11.411 -> OK
23:29:45.275 -> AT+CGSOCKCONT=1,"IP","www"
23:29:45.320 -> OK
23:29:59.902 -> AT+CGPADDR
23:29:59.902 -> +CGPADDR: 1,0.0.0.0
23:29:59.902 -> +CGPADDR: 2,36.2.129.0.103.113.245.137.0.0.0.11.32.62.58.1
23:29:59.902 -> +CGPADDR: 3,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
23:29:59.902 ->
23:29:59.902 -> OK
23:33:44.184 -> AT+CGACT?
23:33:44.184 -> +CGACT: 1,0
23:33:44.184 -> +CGACT: 2,1
23:33:44.184 -> +CGACT: 3,0
23:33:44.184 ->
23:33:44.184 -> OK
23:36:47.204 -> AT+CSSLCFG="sslversion",0,4
23:36:47.204 -> OK
23:38:29.182 -> AT+CSSLCFG="authmode",0,1
23:38:29.182 -> OK
23:38:44.781 -> AT+CCERTLIST
23:38:44.781 -> +CCERTLIST: "BaltimoreCyberTrustRoot.crt.pem"
23:38:44.827 ->
23:38:44.827 -> OK
23:38:58.324 -> AT+CSSLCFG="cacert",0,"BaltimoreCyberTrustRoot.crt.pem"
23:38:58.369 -> OK
23:40:03.615 -> AT+NETOPEN
23:40:03.655 -> OK
23:40:03.882 ->
23:40:03.882 -> +NETOPEN: 0
23:40:54.885 -> AT+NETOPEN?
23:40:54.885 -> +NETOPEN: 1
23:40:54.885 ->
23:40:54.885 -> OK
23:41:42.751 -> AT+CMQTTSTART
23:41:42.797 -> +CMQTTSTART: 0
23:41:42.797 ->
23:41:42.797 -> OK
23:41:54.708 -> AT+CMQTTACCQ=0, "DemoDevice01"
23:41:54.755 -> OK
23:44:20.600 -> AT+CMQTTSSLCFG=0,0
23:44:20.600 -> OK
23:46:15.902 -> AT+CMQTTWILLTOPIC=0,38
23:46:15.948 -> >devices/DemoDevice01/messages/events/
23:46:50.072 -> OK
23:47:37.671 -> AT+CMQTTWILLMSG=0,17,1
23:47:37.671 -> >SIMCOM Connected!
23:47:47.848 -> OK
23:48:55.344 -> AT+CMQTTCONNECT=0,"tcp://#####.azure-devices.net:8883",90,1,"aunoaiothubprod.azure-devices.net/DemoDevice01/?api-version=2018-06-30","SharedAccessSignature sr=#####.azure-devices.net%2Fdevices%2FDemoDevice01&sig=#####&se=1687198367"
23:48:55.344 -> OK
23:48:56.668 ->
23:48:56.668 -> +CMQTTCONNECT: 0,6
23:48:56.668 ->
23:48:56.668 -> +CMQTTCONNLOST: 0,1