Hello,
I am having a modem HL8518, which fails to connect to TCP server while using SIM2.
But it works fine on SIM1
Following are the commands used,
AT+CGDCONT=1,“IP”,“APN_NAME”\r // Setting APN Name.
AT+CGACT=1,1\r // Activating GPRS.
AT+KCNXCFG=1,“GPRS”,“APN_NAME”\r //Configuring GPRS configuration.
AT+KTCPCFG=1,0,“IP_ADDERSS”,PORT\r //Configuring IP & port.
AT+KTCPCNX=1\r //Connecting to IP address.
The connection fails as follows,
OK
+KCNX_IND: 1,4,1
+KCNX_IND: 1,2,1,2,30
+KCNX_IND: 1,4,2
+KCNX_IND: 1,2,2,2,30
+KTCP_NOTIF: 1,0
I have used same set of AT commands for SIM1. Its working fine. But fails on SIM2.
Does anyone know what could be the issue?