Sorry, its not clear to me still. Can you please elaborate on the open scheme and standard scheme? When should I configure for MQTT…before setting ppp connection or after setting up ppp connectin?
Data dial up is successful for me. I got a CONNECT response for ATD*99#. After that what should I do? I want to configure the MQTT parameters before connecting to MQTT server. But I am not able to find the right sequence. Can you help me?
I have attached the sequence of AT command sent and corresponding responses which I got for your ref.
---------------------------------->
I (11105) UART: AT Command sent : AT+CPIN?
I (12115) UART: Received Response -
+CPIN: READY
OK
I (12115) UART: Received string :
+CPIN: READY
OK
I (12115) UART: Sim is active!!
I (12125) UART: ==========================================
I (12125) UART: AT Command sent : AT+CREG?
I (13135) UART: Received Response -
+CREG: 0,1
OK
I (13135) UART: Received string :
+CREG: 0,1
OK
I (13135) UART: Sim is active!!
I (13145) SLAVE_DEVICE: Registered to network successfully!!!
I (13145) SLAVE_DEVICE: ==========================================
I (13155) UART: AT Command sent : AT+CGREG?
I (14155) UART: Received Response -
+CGREG: 0,1
OK
I (14155) UART: Received string :
+CGREG: 0,1
OK
I (14155) UART: Connected to PS nw successfully!!
I (14165) SLAVE_DEVICE: Registered to PS Network successfully!!!
I (14165) SLAVE_DEVICE: ==========================================
I (14175) UART: AT Command sent : AT+CGDCONT=1,“IP”,“airtelgprs.com”
I (15185) UART: Received Response -
OK
I (15185) UART: Received string :
OK
I (15185) UART: Connected to APN successfully!!
I (15185) SLAVE_DEVICE: Connected to APN succeesfully!!!
I (15195) SLAVE_DEVICE: ==========================================
I (15205) UART: AT Command sent : AT+CGATT=1
I (16205) UART: Received Response -
OK
I (16205) UART: Received string :
OK
I (16205) UART: Connected to APN!!
I (16205) SLAVE_DEVICE: Attached to Network successfully!!!
I (16215) UART: AT Command sent : AT+CGACT=1,1
I (17275) UART: Received Response -
OK
I (17275) UART: Received string :
OK
I (17275) UART: PDP Context activated successfully!!!
I (17275) SLAVE_DEVICE: PDP Context activated successfully
I (17285) UART: AT Command sent : ATD*99#
I (18295) UART: Received Response -
CONNECT
I (18295) UART: Received string :
CONNECT
I (18295) UART: PPP initiated successfully!!
I (18295) SLAVE_DEVICE: PPP initiated successfully!!!
I (18305) SLAVE_DEVICE: ==========================================
I (19315) UART: AT Command sent : +++
I (21315) UART: Received Response -
NO CARRIER
I (22315) UART: No response received!!!
I (23315) UART: No response received!!!
I (24315) UART: No response received!!!
I (25315) UART: No response received!!!
I (26315) UART: No response received!!!