Hi, I understand that you've linked ACM to ttyS4, right? If you try minicom with ttyS4, does this work?
On Oct 6, 8:19 am, Leonardo Diaz <[EMAIL PROTECTED]> wrote: > Hi, I tried the example for sending sms as follows: > > [EMAIL PROTECTED]:~/gatewaySms/dist/classes$ sudo java > 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. > Web Site:http://smslib.org > This software is distributed under the terms of the Apache v2.0 > License. > Version: 3.3.0>>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: > RESTART > > 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: > 105) > at > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) > at org.smslib.Service$1Starter.run(Service.java:226) > > >>> Gateway Status change for modem.com1, OLD: RESTART -> NEW: STOPPED > > I've compiled SmsLib Jar, so every dependency is OK, I have a USB > virtual COM on /dev/ttyACM0, I can send commands using minicom, > Anyone have any advice?? > > By the way I tried to run the misc.CommTest app, and only detects 2 > serial ports, ttyS0, and ttyS1. > I created a ttyS4 (using ls /dev/ttyS* it returns from 0 to 3) using > a symbolic link but it does not detect it: > if I use the commmand: dmesg | grep tty I get: > > [EMAIL PROTECTED]:~$ dmesg | grep tty > [25969.547069] console [tty0] enabled > [25971.733762] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > [25971.734416] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > [25971.738260] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > [25971.739264] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > [25979.145267] cdc_acm 1-1:1.1: ttyACM0: USB ACM device --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
