Hi,
I am trying to connect to an MQTT server using an Airtel M2M sim and a normal SIM.
It worked with normal SIM but didnt with the M2M sim. I have attached the response from LTE using both the sims for the same command (AT+QMTCONN=<client_idx>,,,).
Normal SIM’s output:
I (17783) UART: AT Command sent : AT+QMTCONN=4,“ClientID”,“Username”,“Pwd”
I (19513) UART: Response from LTE -
OK
+QMTCONN: 4,0,0
M2M SIM’s Output:
I (17843) UART: AT Command sent : AT+QMTCONN=4,“ClientId”,“UserName”,“Pwd”
I (19043) UART: Response from LTE -
OK
+QMTSTAT: 4,1
+QMTCONN: 4,1
When I changed the client_idx to 3 with M2M sim, I got +QMTSTAT: 4,3 with error code being 3 (Not able to send CONNECT packet)
Please guide me with this. Am I missing anything with M2M sim?