Dear Thanasis,

     This is the output as you said, but now I have switched to Nokia 3120
mobile connected through a DKU5 cable.
--------------------------------------------------------------------------------------

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.

Web Site: http://smslib.org

This software is distributed under the terms of the Apache v2.0 License.

Version: 3.3.0-B3

0 [main] INFO org.smslib - SMSLib: A Java API library for sending and
receiving SMS via a GSM modem

or other supported gateways.

Web Site: http://smslib.org

This software is distributed under the terms of the Apache v2.0 License.

0 [main] INFO org.smslib - Version: 3.3.0-B3

0 [main] INFO org.smslib - JRE Version: 1.6.0_07

0 [main] INFO org.smslib - JRE Impl Version: 10.0-b23

0 [main] INFO org.smslib - O/S: Windows XP / x86 / 5.1

31 [Thread-0] DEBUG org.smslib - WatchDog started.

31 [Thread-0] INFO org.smslib - WatchDog running...

31 [Thread-1] INFO org.smslib - Starting gateway, using Generic AT Handler.

31 [Thread-1] INFO org.smslib - Opening: COM3 @57600
*

org.smslib.GatewayException*: Comm library exception:
java.lang.reflect.InvocationTargetException1031 [Thread-0] DEBUG org.smslib
- WatchDog stopped.

1031 [main] INFO org.smslib - Stopping gateway...

>>> Gateway Status change for modem.com3, OLD: STOPPED -> NEW: STOPPED

1031 [main] INFO org.smslib - Closing: COM3 @57600

1031 [main] INFO org.smslib - Gateway stopped.

at org.smslib.modem.SerialModemDriver.connectPort(*SerialModemDriver.java:93
*)

at org.smslib.modem.AModemDriver.connect(*AModemDriver.java:106*)

at org.smslib.modem.ModemGateway.startGateway(*ModemGateway.java:110*)

at org.smslib.Service$1Starter.run(*Service.java:189*)
-----------------------------------------------------------------------------------------------------------------------------

On Tue, Oct 7, 2008 at 6:25 PM, Thanasis <[EMAIL PROTECTED]> wrote:

>
> You may have to disable or uninstall the PC Suite, as these apps hold
> of the comm port for their exclusive use.
>
> Can you please run the example like this:
>
> java -Dsmslib.debug examples.modem.ReadMessages
>
> and post the output?
>
> On Oct 7, 1:41 pm, "Krishna Pandey" <[EMAIL PROTECTED]> wrote:
> > Dear Thanasis,
> >
> >   I am using Nokia 6085 and it is connected through CA-42 cable, I am
> able
> > to use Nokia PC suite.. When I run the program ReadMessages.java, of
> which I
> > have commented most of the part, just to see the Gateway Information... I
> am
> > getting this as output..
> >
> > Plz help me out..
> >
> > Thanks
> > Krishna
> >
> >    *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.
> > Web Site:http://smslib.org
> > This software is distributed under the terms of the Apache v2.0 License.
> > Version: 3.3.0-B3
> >
> > Modem Information:
> > java.lang.NullPointerException
> >     at org.smslib.modem.AModemDriver.write(AModemDriver.java:243)
> >     at
> > org.smslib.modem.athandler.ATHandler.getManufacturer(ATHandler.java:199)
> >     at
> org.smslib.modem.ModemGateway.getManufacturer(ModemGateway.java:651)
> >     at krish.ReadMessages.doIt(ReadMessages.java:62)
> >     at krish.ReadMessages.main(ReadMessages.java:132)
> > java.lang.NullPointerException
> >     at krish.ReadMessages.doIt(ReadMessages.java:87)
> >     at krish.ReadMessages.main(ReadMessages.java:132)
> > *
> >
> > --
> >
>


-- 
With Regards

Krishna

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