Hi Thanasis, I cannot find the JavaComm for linux , i am using RxTx ,.. Still i got the following error, javac ReadMessages.java [r...@technocraft sms]# java 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.3 Experimental: JNI_OnLoad called. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 >>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: RESTART org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: gnu.io.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.com1, OLD: RESTART -> NEW: STOPPED any idea about that.... when i type dmseg in terminal .. usb 4-1: new full speed USB device using uhci_hcd and address 2 usb 4-1: configuration #1 chosen from 1 choice cdc_acm 4-1:1.8: *ttyACM0*: USB ACM device usbcore: registered new interface driver cdc_acm drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
i found the modem is attached to /dev/ttyACM0 .. but when running the program by supplying the identified port as input it throws error message ... Thanks in advance.. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
