First of all I am new to SMSLib, I just managed to run the ReadMessage
example and in works fine.
The thing is that I want to send a ping to the modem like "AT" every
hour.

Why I want to do this?
  First of all I have implemented an application in C# that received
incoming messages using AT commands. The problem was that after a
couple of hours it stopped working.

I have found several posts with the same problem using SMSLib one of
them is
http://groups.google.com/group/smslib/browse_thread/thread/c38624c51f21d473/ee20011abbde185d?lnk=gst&q=Modem+stops+responding#ee20011abbde185d
.

 After spending a lot of time on debugging my C# app , I noticed that
the device was disconnecting from the COM port if there was no
communication with the device for a couple of hours. It seems that the
OS shuts it down automatically if it's in idle mode for a long time. I
managed to solve this problem by sending an "AT" command every hour
and it worked for 3 days in a row until I stopped it.

 I am now trying to port the C# application to Java and after reading
the posts on the forum I am expecting to have the same problem using
SMSLib.

The question is:
  Is there a way to send AT to the device or a built in method that
pings the GSM Modem?

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion 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.

Reply via email to