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.

[SOLVED] SIM900-Server not available to clients while still in listening mode

Status
Not open for further replies.

ponnus

Full Member level 2
Joined
Mar 17, 2011
Messages
142
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Location
Cochin, INDIA
Activity points
2,226
Hai,
I am using SIM 900 modem as a server. My Gprs server is running correctly and clients can connect to it. But after listening for a short time, it becomes unavailable in the network.i.e, no clients can connect to it. But when I checked the status of modem, it says it is still in LISTENING mode.

Does anyone faced this problem?

Thank you
 

Hai,
Sometimes I'm getting this response:
OK
ATZ
OK

I found that this command is to restore the user profile.
But I'm not sending this command to modem in mu program. I'm using the modem with C program in linux

Thanks
 

Hai,
I've solved the problem partially.

I was using multi connection using my SIM900 server. The problem was due to continuous multiple connections from client, because of this the server get stuck. So, I've to restart the modem. i.e, each time when the client needs to send data, it establishes a connection, and close it after sending data. The client needs to send data continuously, so establishing and closing connections continuously. This caused multiple connections and the server get stuck after some data transfer.

Now,I am maintaining a single connection between client and server, and I'm not closing the connection once it is established. If somehow the connection is closed, the client will re-establish the connection.

But,sometimes the client is not able to re-establish a connection,as the server no more accept client connections, while the status shows it is still in listening mode. But, now if reconfigure the server,without restarting the modem, client can connect to new server.

But,the problem is that I am not able to know when the server get stuck. Even if the server don't accept the incoming connections, the status shows it is still in LISTENING mode.

Thanks
 

Hai,

Did anyone experience such problems?
Iif the server is not able to accept incoming connections, i think there should be a way to identify that.
At this stage,I tried to connect to server from the same modem, and it showed CONNECT FAIL. So, I came to know that the server get stuck and should restart the modem.

When the server is not available, why is it showing SERVER LISTENING status?
Also, I tried AT+CGACT? command to check if the PDP context is alive or not?
But, it is always giving
+CGACT: 1,0
+CGACT: 3,0
irrespective of whether gprs is attached or not.

Is there any command to know the original status of server or gprs at this state?

Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top