Hello All,
We are working on the EG95 GSM/GPRS module. We are facing some issue in TCP as a Server mode.
issue :
-
After creating socket as server , Client cannot able to connect.
By port checker we checked the IP with port but it shown port is closed.
But AT+QISTATE shown the socket is in listening mode. -
TCP server create fail in transparent mode.
issue 1 Log :
[2020-09-23_12:29:22:822]
[2020-09-23_12:29:22:822]RDY
[2020-09-23_12:29:22:822]+QSIMSTAT: 1,1
[2020-09-23_12:29:22:931]
[2020-09-23_12:29:22:931]+CFUN: 1
[2020-09-23_12:29:23:931]
[2020-09-23_12:29:23:931]+CPIN: READY
[2020-09-23_12:29:23:931]+QUSIM: 0
[2020-09-23_12:29:27:902]
[2020-09-23_12:29:27:902]+QIND: SMS DONE
[2020-09-23_12:29:29:887]AT
[2020-09-23_12:29:29:887]OK
[2020-09-23_12:29:35:558]
[2020-09-23_12:29:35:558]+QIND: PB DONE
[2020-09-23_12:29:36:590]AT+GMI
[2020-09-23_12:29:36:590]Quectel
[2020-09-23_12:29:36:590]OK
[2020-09-23_12:29:41:668]AT+GMM
[2020-09-23_12:29:41:668]EG95
[2020-09-23_12:29:41:668]OK
[2020-09-23_12:29:47:809]AT+GMR
[2020-09-23_12:29:47:809]EG95EXGAR08A02M1G
[2020-09-23_12:29:47:809]OK
[2020-09-23_12:29:53:914]AT+GSN
[2020-09-23_12:29:53:914]864004040007970
[2020-09-23_12:29:53:914]OK
[2020-09-23_12:30:01:539]AT+CPIN?
[2020-09-23_12:30:01:539]+CPIN: READY
[2020-09-23_12:30:01:539]OK
[2020-09-23_12:30:09:325]AT+CREG=1
[2020-09-23_12:30:09:325]OK
[2020-09-23_12:30:14:075]AT+CREG?
[2020-09-23_12:30:14:075]+CREG: 1,1
[2020-09-23_12:30:14:075]OK
[2020-09-23_12:30:19:981]AT+CSQ
[2020-09-23_12:30:19:981]+CSQ: 21,99
[2020-09-23_12:30:19:981]OK
[2020-09-23_12:30:28:903]AT+QLTS=2
[2020-09-23_12:30:28:903]+QLTS: “2020/09/23,12:31:00+22,0”
[2020-09-23_12:30:28:903]OK
[2020-09-23_12:30:36:012]AT+CGREG=1
[2020-09-23_12:30:36:012]OK
[2020-09-23_12:30:41:358]AT+CGREG?
[2020-09-23_12:30:41:358]+CGREG: 1,1
[2020-09-23_12:30:41:358]OK
[2020-09-23_12:30:56:108]AT+QICSGP=2,1,“WWW”,"","",1
[2020-09-23_12:30:56:108]OK
[2020-09-23_12:31:03:670]AT+QICSGP=2
[2020-09-23_12:31:03:670]+QICSGP: 1,“WWW”,"","",1
[2020-09-23_12:31:03:670]OK
[2020-09-23_12:31:14:138]AT+QIACT=2
[2020-09-23_12:31:15:888]OK
[2020-09-23_12:31:21:982]AT+QIACT?
[2020-09-23_12:31:21:982]+QIACT: 2,1,1,“100.114.33.200”
[2020-09-23_12:31:21:982]OK
[2020-09-23_12:31:46:481]AT+QIOPEN=2,1,“TCP LISTENER”,“127.0.0.1”,0,2020,0
[2020-09-23_12:31:46:481]OK
[2020-09-23_12:31:46:481]+QIOPEN: 1,0
[2020-09-23_12:32:01:430]AT+QISTATE=0,2
[2020-09-23_12:32:01:446]+QISTATE: 1,“TCP LISTENER”,“100.114.33.200”,0,2020,3,2,1,0,“uart1”
Socket is in listening mode and waiting for client…
/***************************************************************************************************************/
Need your valuable support. I am not understand what is the issue.
Thanks,
Chintan