Hi,

A quick observation is that the baud rate you are using is non-
standard. Switch to the closest standard rate and check if this solves
your issues.

On Sep 9, 3:18 am, Ivy Wang <[email protected]> wrote:
> Hi there,
>
> I've been using the SMSLib for my development. Recently I've been
> getting this error inconsistently. Sometimes I can send messages with
> no problem and sometimes I get this error.
>
> 16:47:43,307 INFO  [Thread-27                     ] smslib
>               - GTW: default.samba75.modem: Opening: COM4 @230400
> Error 31 SetCommConfig
> Error 31 SetCommConfig
> org.smslib.GatewayException: Comm library exception:
> java.lang.RuntimeException:
>  javax.comm.UnsupportedCommOperationException: Win32 Comm Driver:
> Error 31
>         at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java
> :97)
>         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
> 110)
>         at org.smslib.modem.ModemGateway.startGateway
> (ModemGateway.java:158)
>         at org.smslib.Service$1Starter.run(Service.java:252)
>
> I looked it up on the net and seemed like a driver problem. Does
> anybody know how to fix it please??  Thanks in advanced!
>
> =============================================================
> I'm developing on an OSGi platform. This post (http://code.google.com/
> p/smslib/issues/detail?id=138) has been extremely helpful for me. I
> just want to thank those who've contributed.
>
> And here's a list of what I've used:
> SMSLib- v.3.4.2. (downloaded 
> fromhttp://smslib.org/download/osgi/smslib-3.4.2.jar,
> which doesn't seem to be there anymore...)
> JavaComm - v 2.0.1 
> (fromhttp://www.knopflerfish.org/releases/current/docs/jars/comm-win32/com...)
>
> OS: Windows Vista
> OSGi Framework: Apache Felix - v.1.8.0
> ==============================================================
>
> Cheers,
> Ivy
--~--~---------~--~----~------------~-------~--~----~
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