I start a gprs bearer, launch a TCP/IP server, then sit and wait for client connections. THis all works fine. Except that after a day or few days, if there is no activity, I can not connect a client. The FSU20 does not receive any tcp connection events.
I have learned that the GPRS provider may be dropping the connection (the PDP context). So I have tried shutting down the TCP/IP server and the GPRS bearer and restarting them. However I still seem to run into the same problem. Trouble is I have to leave it a few days to see if it works or fails!
In the failed mode I can still connect via serial, AT+COTS gives me the provider, everything looks OK. I just can’t connect!