Im getting this exception in the readMessages.java file provided
i changed the values of the SerialModemGateway im using my Nokia Phone
and the Com port is Showing as 9 in Device Manager so Using that .
This is the Output...Im using Netbeans IDE 6.7.1  All the Libraries
Have been added and also im using the Usb Cable Provided with my Nokia
phone

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.6
>>> Gateway Status change for modem.com9, OLD: STOPPED -> NEW: RESTART
>>> Gateway Status change for modem.com9, OLD: RESTART -> NEW: STOPPING
>>> Gateway Status change for modem.com9, OLD: STOPPING -> NEW: STOPPED
org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException: javax.comm.NoSuchPortException
        at
org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:
97)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
113)
        at
org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:187)
        at org.smslib.Service$1Starter.run(Service.java:321)

-- 
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.

Reply via email to