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 Pandey, > > Centre for Development of Advanced Computing, > (Formerly NCST), > Gulmohar Cross Road No. 9, > Juhu, Mumbai 400 049. > Tel : +91 22 2620 1606 / 26232199 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
