My experience is that some GSM modems are a bit unreliable, my suggestions are:
- Make sure you are handling callbacks from PPP that may inform of a disconnect. You can then close and re-establish your PPP session - Some GSM modems may need a software reset or even hardware reset when connection is dropped. Cheers Ivan > Date: Mon, 12 Nov 2012 13:38:53 +0100 > From: Walter S?gessser <[email protected]> > To: [email protected] > Subject: [lwip-users] Problems Connecting to a GSM Router > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" > > We have developed a gateway that sends data gathered from some devices > to a server. Via LAN -> WAN this works fine and reliably for months > without failure. Now a customer has connected a GSM rounter instead. In > principle this works, too. But after a not predictable time (minutes, > hours, ... ) the GSM-router locks. When trying to establish a > TCP-connection via "netconn_connect" I get -10 (connection aborted). > I don't see how I could change the behavior for the connect command -- > either it works or it does not. Actually I think the problem is with the > GSM-router, but may be, just may be anyone knows a trick or a special > consideration to get rid of this connection problem. > > The connection gets closed after each transmission and the repetition > rate is about 5 minutes. Thus the amount of data cannot be the problem. > > Thanks for any hint! > Walter > > No Title > > _______________________________________________ > *Walter S?gesser > *Dipl.-Ing. (FH) > Software Development > _______________________________________________ > *asp ag advanced solar products > *Burgerfeldstrasse 19, CH-8730 Uznach SG, Switzerland > TEL: +41 (0)55 61 66 107 > FAX:+41 (0)55 61 66 111 > [email protected] <mailto:[email protected]> > www.asp-ag.com <http://www.deltaenergysystems.com/> > ________________________________________________ > _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
