im using ITegno GSM modem , ubuntu operating system, and the system seems to recognise my modem in /dev/ttyUSB0
I collect all the required jar and so file in one directory commons-net-1.4.1.jar librxtxParallel.so librxtxSerial.so log4j-1.2.15.jar ReadMessages.java RXTXcomm.jar smslib-3.3.0.jar I modified the tutorial [0] to create my own ReadMessages.java [1] then I can succesfully compile by using $ javac -cp smslib-3.3.0.jar:commons-net-1.4.1.jar:log4j-1.2.15.jar:RXTXcomm.jar ReadMessages.java but when I try to run the program using $ java -cp smslib-3.3.0.jar:commons-net-1.4.1.jar:log4j-1.2.15.jar:RXTXcomm.jar:. ReadMessages I get this messages ---start (not part of message)--- 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 Experimental: JNI_OnLoad called. Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 >>> Gateway Status change for Modem1, OLD: STOPPED -> NEW: RESTART org.smslib.TimeoutException: No response from device. at org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:489) at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:287) at org.smslib.modem.athandler.ATHandler.getSimStatus(ATHandler.java:133) at org.smslib.modem.AModemDriver.connect(AModemDriver.java:117) at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:108) at org.smslib.Service$1Starter.run(Service.java:226) >>> Gateway Status change for Modem1, OLD: RESTART -> NEW: STOPPED ---end (not part of message)--- I also try to run using super user mode but I also get the same message. anybody can help me? thank you [0] http://code.google.com/p/smslib/wiki/Examples_ReadMessages [1] http://abdul.arfan.googlepages.com/ReadMessages.java -- Abdul Arfan http://arfan86.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
