Dear,
I am using Sierra Wireless Airprime module GSM GPS HL6528-G2.8V, in which i am facing issue as follows:
- I am initializing GSM and GPS module, after that i am taking frames from GPS module filling it in proper format , forming a required packet of 104 bytes. Then getting connected to TCP ,sending packet over TCP, Diconnection to TCP.
This TCP connection , Packet sending over TCP and disconnection to TCP is continuous with 1 minute of time interval inbetween.
My problem is ,it is sending only 14 packets in this format: by Connecting to TCP, sending of packet and disconnection to TCP. After sending 14 packets it is getting disconnected to TCP automattically.
Following are the output logs i have captured:
AT+CMGF=1
OK
AT+CSCS=“GSM”
OK
AT+CNMI=2,2,0,0,0
OK
AT+KCNXCFG=1,“GPRS”,“RCOMNET”,“adda”,“1234”,“0.0.0.0”,“0.0.0.0”,“0.0.0.0”
OK
AT+KTCPCFG=0,0,“50.116.14.45”,9595
+KTCPCFG: 1
OK
START
AT+GPSSTART=1
OK
+GPSEVINIT: 1
+GPSEVSTART: 1
AT+GPSPVT=1,8,11
CONNECT
+GPSEVPOS: 0
START
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
OK
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
AT+KTCPSTART=1
AT+KTCPSTART=1
CONNECT
$SIS,SIS50,1,N,0,0,0,0,0,0,0,0,0,0,00.000000,00.000000,0,0,000000,000000,0,0,0,0,3,0,0,0,0,0,0,0,0,1,!Received
OK
AT+KTCPCLOSE=1,1
OK
+++AT+GPSSTART=1
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
AT+GPSPVT=1,8,11
CONNECT
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
OK
+GPSPVT: 0,00:00:00,00/00/0000,NO FIX,N 00 00’00.00",E 000 00’00.00",+0000m
AT+KTCPSTART=1
AT+KTCPSTART=1
CONNECT
$SIS,SIS50,2,N,0,0,0,0,0,0,0,0,0,0,00.000000,00.000000,0,0,000000,000000,0,0,0,0,3,0,0,0,0,0,0,0,0,1,!Received
OK
AT+KTCPCLOSE=1,1
OK
in this format only 14 packets are getting sent and TCP getting disconnected after 14 packets.
Please help me to come out of this issue.
Reply.
Thank you.
Chetan Jadhav