hi, I built an app that has a trhead that does a servive.readMessage() inside a loop. Y use an USB GSM mothem
I can read messages perfectly, but... if a time happens without receiving messages (an hour aproximately) then when a new message arrives the watchdow restart the gateway, but enters in a loop this is my log: 2009-07-31 17:17:11,843 INFO [STDOUT] 17:17:11,843 INFO [ModemManager] Reading messages from GSM serial modem. 2009-07-31 17:17:56,875 INFO [STDOUT] 17:17:56,875 WARN [smslib] readMessages(): Gateway modem.com does not respond, marking for restart. 2009-07-31 17:18:08,890 INFO [STDOUT] 17:18:08,890 WARN [smslib] WatchDog: Gateway: modem.com restarting. 2009-07-31 17:18:08,890 INFO [STDOUT] 17:18:08,890 INFO [smslib] GTW: modem.com: Stopping gateway... 2009-07-31 17:18:09,062 INFO [STDOUT] 17:18:09,062 INFO [smslib] GTW: modem.com: Closing: COM9 @460800 2009-07-31 17:18:09,062 INFO [STDOUT] 17:18:09,062 INFO [smslib] GTW: modem.com: Gateway stopped. 2009-07-31 17:18:09,062 INFO [STDOUT] 17:18:09,062 INFO [smslib] GTW: modem.com: Starting gateway, using HuaweiE226 (Generic) AT Handler. 2009-07-31 17:18:09,062 INFO [STDOUT] 17:18:09,062 INFO [smslib] GTW: modem.com: Opening: COM9 @460800 2009-07-31 17:18:15,562 INFO [STDOUT] 17:18:15,562 INFO [smslib] GTW: modem.com: GSM: Registered to home network. 2009-07-31 17:18:15,671 INFO [STDOUT] 17:18:15,671 INFO [smslib] GTW: modem.com: Gateway started. 2009-07-31 17:18:16,890 INFO [STDOUT] 17:18:16,890 INFO [ModemManager] Reading messages from GSM serial modem. 2009-07-31 17:19:01,906 INFO [STDOUT] 17:19:01,906 WARN [smslib] readMessages(): Gateway modem.com does not respond, marking for restart. 2009-07-31 17:19:08,890 INFO [STDOUT] 17:19:08,890 WARN [smslib] WatchDog: Gateway: modem.com restarting. 2009-07-31 17:19:08,890 INFO [STDOUT] 17:19:08,890 INFO [smslib] GTW: modem.com: Stopping gateway... 2009-07-31 17:19:09,093 INFO [STDOUT] 17:19:09,093 INFO [smslib] GTW: modem.com: Closing: COM9 @460800 2009-07-31 17:19:09,109 INFO [STDOUT] 17:19:09,109 INFO [smslib] GTW: modem.com: Gateway stopped. 2009-07-31 17:19:09,109 INFO [STDOUT] 17:19:09,109 INFO [smslib] GTW: modem.com: Starting gateway, using HuaweiE226 (Generic) AT Handler. 2009-07-31 17:19:09,109 INFO [STDOUT] 17:19:09,109 INFO [smslib] GTW: modem.com: Opening: COM9 @460800 and then it is still like that. Never again I can receive a message as at first. Please help. I need to put my soft in production. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
