The phone does not answer... Have you tried with hyperterminal? Connect and give an "AT" command. Do you get any "OK" back?
On Apr 8, 5:09 am, greener <[email protected]> wrote: > OK.... I'm getting furthur. My last post was due to misconfiguration > of the logger + now I am using a Razr V3 on Com5. When running > SendMessage and RecieveMessage I am getting the error below: > > --------------------------------------------------------------------------- > ------ > Example: Read messages from a serial gsm modem. > 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 > Version: 3.4.0 > 7-Apr-2009 9:58:54 PM 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 > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: Version: 3.4.0 > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: JRE Version: 1.6.0_04 > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: JRE Impl Version: 10.0-b19 > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: O/S: Windows XP / x86 / 5.1 > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem.com5: Starting gateway, using Generic AT Handler. > 7-Apr-2009 9:58:54 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem.com5: Opening: COM5 @57600 > 7-Apr-2009 9:59:43 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem.com5: Closing: COM5 @57600>>> Gateway Status change for > modem.com5, OLD: STOPPED -> NEW: RESTART > > org.smslib.TimeoutException: No response from device. > at org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:514) > at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:306) > at org.smslib.modem.athandler.ATHandler.getSimStatus(ATHandler.java: > 130) > at org.smslib.modem.AModemDriver.connect(AModemDriver.java:131) > at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:158) > at org.smslib.Service$1Starter.run(Service.java:238) > 7-Apr-2009 9:59:44 PM org.smslib.helper.Logger logInfo > INFO: GTW: modem.com5: Stopping gateway... > java.lang.NullPointerException > at org.smslib.scheduler.Scheduler.remove(Scheduler.java:84) > at org.smslib.AGateway.stopGateway(AGateway.java:360) > at org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:168) > at org.smslib.Service.stopService(Service.java:314) > at ReadMessages.doIt(ReadMessages.java:161) > at ReadMessages.main(ReadMessages.java:206) > > >>> Gateway Status change for modem.com5, OLD: RESTART -> NEW: STOPPING > > ------------------------------------------------------------------- > > Here is CommTest > > Searching for devices... > > Found port: COM3 > Trying at 9600... Getting Info... Found: ERROR > Trying at 14400... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 19200... Getting Info... Found: ERROR > Trying at 28800... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 33600... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 38400... Getting Info... Found: ERROR > Trying at 56000... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 57600... Getting Info... Found: ERROR > Trying at 115200... Getting Info... Found: ERROR > > Found port: COM1 > Trying at 9600... no device found > Trying at 14400... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 19200... no device found > Trying at 28800... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 33600... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 38400... no device found > Trying at 56000... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 57600... no device found > Trying at 115200... no device found > > Found port: COM5 > Trying at 9600... no device found > Trying at 14400... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 19200... no device found > Trying at 28800... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 33600... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 38400... no device found > Trying at 56000... no device found > (javax.comm.UnsupportedCommOperationException: Unsupported baud rate) > Trying at 57600... no device found > Trying at 115200... no device found > > Test complete. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
