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.

SIM900 socket connected or not?

Status
Not open for further replies.

muttley_br

Newbie level 1
Joined
Apr 9, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Brazil
Activity points
1,290
Hello there! I'm new here as a registered member but not as reader. I've learned a lot here and I'm sure this is a great forum!

Well... I'm working with SIM900 and PIC32, using GPRS as a TCP Server. Everything is perfect (transparent mode), my client can connect and exchange data from one side to another. I've also added a keep alive on client side (2 in 2 minutes, using socket protocol), so (I think) GPRS provider can't drop my client when it's on and idle.

What is happening is that, suddenly, my client didn't receive the ACK from SIM900 and close the socket. But for SIM900 it's still connected! DCD pin keeps OFF and if I quit transparent mode and use +CIPSTATUS, it returns CONNECT OK. Only after a (very) long time, SIM900 notices that and enters in CLOSED status...

Is anyone facing this problem? Why is this happening?

Thanks a lot!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top