Go Down

Topic: GSM DISCONECT (Read 2933 times) previous topic - next topic


Hi, I am doing a project that send data to a server continuosly, but randomly and suddenly the program crash and I can see that the problem is the connection which is lost, I do not want to reboot the program so I need to know how can I make that it reconnects again. I did a client.stop() but it did not work. What do you recommend?


client.stop() should work. this function sends a +++ and AT+QICLOSE command, you should see it with the debug mode activated. After of this execution, you could establish a new connection to your server.


Thanks, the problem is a error 302, I supose that comes from the server because once the error begins never return to a code 200.

Go Up