EC20CN Multiple server connection

How to connect same module with 2 servers simultaneously.Is it possible?If yes ,Please recommend some AT Commands and methods.

Hello Pradeep,

AT+QICSGP=1,1,“”,“”,“”,1 // to set the apn using context 1

AT+QIACT=1 //to switch ON GPRS data connection

AT+QIACT? //check if you got the ip address eg: +QIACT: 1,1,1,“10.10.10.10”

AT+QIOPEN=1,0,“TCP”,“<Your 1st IP/domain>”,,0,0 //fill your ip and port number to open socket connection with connection id 0 and context 1 which you have already sent with QICSGP

AT+QIOPEN=1,1,“TCP”,“<Your 2nd IP/domain>”,,0,0 //fill your 2nd ip and port number to open socket connection with connection id 1 and context 1 which you have already sent with QICSGP

use AT+QISEND=<connection_id>, //If you want to send data to 1st IP use connection_id 0 and for 2nd ip use connection_id 1.

AT+QISEND=0,50 //eg: to send 50 bytes of data to connection id 0

AT+QISEND=1,30 //eg: to send 30 bytes of data to connection id 1

you can hold 12 connections simultaneously I think. Hope the commands give you the idea to implement your logic.

Regards
Hareesh S

Thanks,
I will check the same.