I assume you are currently using JavaComm v3, right?
Try with RxTx - sometimes, it works better.

On Dec 17, 12:58 pm, j2ee <[email protected]> wrote:
> Hello,
>
>  I am using SendMessage.java program to send SMS. I have connected
> Multitec GSM Modem to the USB port, and installed driver. I created a
> simbolik link of /dev/ttyUSB0 to /dev/ttyS4. then I tried to execute
> SendMessage.java, Following error is coming. Please help me out..
>
> 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.4
> java.io.IOException: Not all params are supported by kernel
>         at com.sun.comm.LinuxSerial.nativeSetSerialPortParams(Native
> Method)
>         at com.sun.comm.LinuxSerial.setFlowControlMode
> (LinuxSerial.java:374)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.smslib.helper.SerialPort.setFlowControlMode
> (SerialPort.java:580)
>         at org.smslib.modem.SerialModemDriver.connectPort
> (SerialModemDriver.java:82)
>         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
> 111)
>         at org.smslib.modem.ModemGateway.startGateway
> (ModemGateway.java:185)
>         at org.smslib.Service$1Starter.run(Service.java:257)
>
> Please reply me about the problem..
>
> Thanks in Advance..

--

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