thanks for replyI solved this problem. But now i am getting another problem.
When I try to add gateway then it gives Invalid CREG Response
I am sending you the output of my code.
Any help will greatly appreciated.

>>>Output of program
>>
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: SMSLib: A Java API library for sending and receiving SMS via a GSM
modem or other supported gateways.
This software is distributed under the terms of the Apache v2.0 License.
Web Site: http://smslib.org
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: Version: 3.4.3
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: JRE Version: 1.6.0_10
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: JRE Impl Version: 11.0-b15
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: O/S: Windows XP / x86 / 5.1
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: Starting gateway, using Generic AT Handler.
Oct 17, 2009 10:08:03 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: Opening: COM3 @19200
Oct 17, 2009 10:08:08 AM org.smslib.helper.Logger logWarn
WARNING: GTW: 1: Erroneous CPIN response, proceeding with defaults.
Oct 17, 2009 10:08:10 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: GSM: Invalid CREG response.
Oct 17, 2009 10:08:11 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: Stopping gateway...
Oct 17, 2009 10:08:11 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: Closing: COM3 @19200
Oct 17, 2009 10:08:11 AM org.smslib.helper.Logger logInfo
INFO: GTW: 1: Gateway stopped.
org.smslib.GatewayException: GSM: Invalid CREG response.
GSM: Invalid CREG response.
Problem at service start
        at
org.smslib.modem.AModemDriver.waitForNetworkRegistration(AModemDriver.java:425)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:165)
        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:185)
        at org.smslib.Service$1Starter.run(Service.java:257)
BUILD SUCCESSFUL (total time: 8 seconds)



On Sat, Oct 17, 2009 at 5:47 AM, Peogrammer Base <[email protected]>wrote:

>
> RECV :+CMS ERROR: 28(cr)ModemCOM2
> CMS Error 28: Retrying...
> Running...
>
> when sending sms this erroe occured?
> when this error occured?
>
> >
>

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

Reply via email to