Dear Thanasis
My problem is solved. I put the parameters "-
Dsmslib.serial.polling -Djava.library.path=/usr/share/java/jdk1.6.0_05/
jre/bin" in the VM arguments not in the Program Arguments of
Eclipse :)
With kind regards.
Thanks for all
Santiago
On Oct 9, 2:49 pm, Thanasis <[EMAIL PROTECTED]> wrote:
> Have you put the RxTx .so file in "usr/share/java/jdk1.6.0_05/jre/
> bin"?
> Are the /dev/ttyS96 permissions correct?
>
> If you try with minicom (say, send an AT command) do you get something
> back?
>
> On Oct 9, 10:47 pm, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > Oopss... I should read before I answer :(
>
> > On Oct 9, 10:45 pm, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > > Use the "-Dsmslib.serial.polling" configuration switch as well.
>
> > > On Oct 9, 10:10 pm, santiago_762000 <[EMAIL PROTECTED]> wrote:
>
> > > > Hello There
>
> > > > I have a trouble related to TimeoutException, Ubuntu 8.0.4 and
> > > > Motorola U6. I have configured the bin and ext directories according
> > > > to the SMSLib tutorial to work with RXTX. In addition, I created the
> > > > symbolic link sudo ln -s /dev/ttyACM0 /dev/ttyS96. Finally, I run the
> > > > program to send messages with the program arguments -
> > > > Dsmslib.serial.polling -Djava.library.path=/usr/share/java/jdk1.6.0_05/
> > > > jre/bin from Eclipse. The application always print
> > > > "org.smslib.TimeoutException: No response from device". I don't know
> > > > what is the problem.
> > > > Please help me with this issue
>
> > > > With kind regards
> > > > Thanks for all.
>
> > > > Santiago
>
> > > > On Sep 5, 3:02 pm, Martin <[EMAIL PROTECTED]> wrote:
>
> > > > > Thanks a lot. It works now
>
> > > > > /Martin
>
> > > > > On Sep 5, 8:05 pm, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > > > > > See here:http://smslib.org/doc/?page=kb, section "Virtual Serial
> > > > > > Ports and Linux".
>
> > > > > > Does using the "-Dsmslib.serial.polling" parameter make things any
> > > > > > better?
>
> > > > > > On Sep 5, 8:36 pm, Martin <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hi Thanasis!
>
> > > > > > > Thanks for the reply. I got that thing to work after a while. But
> > > > > > > still I can't send an SMS. The error I'm getting now is the
> > > > > > > following:
>
> > > > > > > org.smslib.TimeoutException: No response from device.
> > > > > > > at
> > > > > > > org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:474)
> > > > > > > at
> > > > > > > org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:272)
> > > > > > > at
> > > > > > > org.smslib.modem.athandler.ATHandler.getSimStatus(ATHandler.java:
> > > > > > > 127)
> > > > > > > at
> > > > > > > org.smslib.modem.AModemDriver.connect(AModemDriver.java:118)
> > > > > > > at
> > > > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
> > > > > > > at org.smslib.Service$1Starter.run(Service.java:189)
>
> > > > > > > And I'm using an old Ericsson T68. I have tried to search for
> > > > > > > info but
> > > > > > > I can't find anything that is useful.
>
> > > > > > > Thanks in advance
>
> > > > > > > Martin
>
> > > > > > > On Aug 31, 9:11 pm, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > Ensure that you have installed the two (2) files of RxTx
> > > > > > > > correctly.
> > > > > > > > Also have a look
> > > > > > > > here:http://code.google.com/p/smslib/wiki/KByoumay
> > > > > > > > have to use the -Djava.library.path directive
>
> > > > > > > > On Aug 31, 9:16 pm, Martin <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > Hi!
>
> > > > > > > > > I got this message when I'm trying to run SendMessage from
> > > > > > > > > the modem
> > > > > > > > > sample.
>
> > > > > > > > > org.smslib.GatewayException: Comm library exception:
> > > > > > > > > java.lang.reflect.InvocationTargetException
> > > > > > > > > at
> > > > > > > > > org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:
> > > > > > > > > 93)
> > > > > > > > > at
> > > > > > > > > org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
> > > > > > > > > at
> > > > > > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
> > > > > > > > > at org.smslib.Service$1Starter.run(Service.java:189)
>
> > > > > > > > > I read about this on the smslib page and there it said that
> > > > > > > > > this
> > > > > > > > > problem is due to a group setting. So I added myself to the
> > > > > > > > > group uucp
> > > > > > > > > but that didn't work. And know I don't know what to do? I can
> > > > > > > > > also
> > > > > > > > > mention that the CommTest finds the phone. Any suggestions?
>
> > > > > > > > > I run with the following settings:
> > > > > > > > > Ubuntu 8.04
> > > > > > > > > Java 6 (only jre)
> > > > > > > > > RxTx
>
> > > > > > > > > Many thanks
>
> > > > > > > > > Martin- Hide quoted text -
>
> > > > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---