Comm.jar (which is JavaComm) and RxTx do not work well together.
Decide one and go strictly with it - otherwise we won't be able to
identify the problems.


On Dec 10, 12:36 pm, rajun <[EMAIL PROTECTED]> wrote:
> can me use comm.jar and rxtx.jar together ? Is this become crash
> problem in impelementation smslib ? I use opensuse 11, mobile HP Benq
> c30... what for we use java -Dsmslib.serial.polling ? thank all
>
> On Dec 9, 2:26 am, Thanasis <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > The ttyACM0 is not directly recognized by RxTx. There are two way to
> > force RxTx to recognize such ports, both are described 
> > here:http://smslib.org/doc/kb/
>
> > The easiest one is to link the ACM0 to something similar to a normal
> > serial tty port, like ttyS20 and use the latter.
> > You may also need the -Dsmslib.serial.polling switch (also described
> > on the page mentioned above).
>
> > On Dec 8, 3:29 pm, rajun <[EMAIL PROTECTED]> wrote:
>
> > > I tried to send sms via minicom it's success, i use benq c30 as modem
> > > and detect as ttyACM0, while I tried to run ReadMessages.java on
> > > examples.modem.ReadMessages.java I found this error
>
> > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> > > xnuxerx:~ # java -cp /home/admin/ilmiah/rxtx/smslib-v3.3.2-bin/dist/
> > > lib/smslib-3.3.2.jar examples.modem.ReadMessages
> > > 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.3.2>>> Gateway Status change for modem.ttyACM0, OLD: STOPPED 
> > > -> NEW: RESTART
>
> > > org.smslib.GatewayException: Comm library exception:
> > > java.lang.RuntimeException: javax.comm.NoSuchPortException
> > >         at org.smslib.modem.SerialModemDriver.connectPort
> > > (SerialModemDriver.java:92)
> > >         at org.smslib.modem.AModemDriver.connect(AModemDriver.java:
> > > 110)
> > >         at org.smslib.modem.ModemGateway.startGateway
> > > (ModemGateway.java:126)
> > >         at org.smslib.Service$1Starter.run(Service.java:222)>>> Gateway 
> > > Status change for modem.ttyACM0, OLD: RESTART -> NEW: STOPPED
>
> > > xnuxerx:~ #
>
> > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> > > why....? please give me some advice >> thank all ...- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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