Should add -
- Linux / Fedora. Pentium Core 2 Duo. Using a Huawei E620modem, but
its the logging that's the issue (for starters).
- installed log4j as per log4j INSTALL instructions, tested (as per
log4j INSTALL, with their test source) and that works fine.
- Edited the CommTest program (SMSLIB) to send SMS using AT commands,
that works fine.
- But not able to use log4j in SendMessage, and get this output (note,
CommTest, and CommSMS <my edit of CommTest to send SMS using AT
commands> works fine):

xample: Send message 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.4.6
log4j:WARN No appenders could be found for logger (smslib).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
for more info.
Again Version: 3.4.6
Step 1
Step 2
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
org.smslib.TimeoutException: No response from device.
        at org.smslib.modem.AModemDriver$CharQueue.get(AModemDriver.java:534)
        at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:337)
        at org.smslib.modem.AModemDriver.getResponse(AModemDriver.java:312)
        at org.smslib.modem.athandler.ATHandler.getSimStatus(ATHandler.java:
140)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:131)
        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:187)
        at org.smslib.Service$1Starter.run(Service.java:321)
Experimental:  JNI_OnLoad called.

-- 
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