Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem to keep GPRS connection with TCP socket

Status
Not open for further replies.

ashish.talaviya

Junior Member level 1
Joined
Jan 8, 2016
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
146
Problem to keep GPRS connection with TCP server

Hello guys,
I'm using Sim 900 for TCP/IP Application. I've TCP test application running on host pc with static IP, I've tune GPRS in transparent mode here is the manual script fro gprs...



Code:
AT

OK
Checking Simcard!
AT+CSMINS?

+CSMINS: 0,1
SIMcard is inserted!

AT+CREG?

+CREG: 0,1
Network is registered!
AT+GSN

867330025574495

OK
Device IMEI:867330025574495
AT+CSPN?

+CSPN: "
Service Provider: !dea
Inside apn
!dea
AT+CSTT="internet"
AT+CSTT="airtelgprs.com"

ERROR
AT+CSQ

+CSQ: 
Network Strength: 21

AT+CIPSHUT

SHUT OK

AT+CIPMUX=0

OK

AT+CIPMODE=1

OK

AT+CIPSTATUS

OK

STATE: 
IP Status: IP INITIAL
AT+CGATT=1

OK

AT+CIICR

ERROR
AT+CIPSTATUS

OK

STATE: 
IP Status: IP INITIAL
AT+CIFSR


Local IP: ERROR
AT+CIPSTATUS

OK

STATE: 
IP Status: IP INITIAL

AT+CIPSTART="TCP","xxx.xx.xxx.xxx","xxx"

OK
for this script I'm able to open socket, and able to send and receive data
now the problem starts after 5 min elapse. gprs modem nothing sends nor receive

i need to inform you all that the entire system that I've tested for 2 month, every thing is working great for 2 month but the problem started just for few days ago
I'm using "Airtel"(I'm suing CUG card) sim card , where as for "idea" sim card the system working fine.


guys any idea?
I'll appreciate all precious comments and Suggestions.
Thanks
 
Last edited by a moderator:

Re: Problem to keep GPRS connection with TCP server

+CSPN: "
Service Provider: !dea
Inside apn
!dea
AT+CSTT="internet"
AT+CSTT="airtelgprs.com"

If you using airtel simcard currently so your service provider should be airtel above listing shows its idea selected.

mismatching in sim selecting.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top