Marcos, thanks for the response.  I appreciate any help at learning
this technology.

The call with the parameters you suggested yield the same result.
Somehow it seems the port is not correct, or correctly setup?

ray@projects:/zeus/hermes/lib/SMSLib/dist/classes$ java
examples.modem.SendMessage -Dsmslib.serial.polling -
Dsmslib.serial.noflush -Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0
Example: 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.5.1
0      2011-10-19 09:16:35,951 [main] INFO  org.smslib.Service  -
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
6      2011-10-19 09:16:35,957 [main] INFO  org.smslib.Service  -
Version: 3.5.1
6      2011-10-19 09:16:35,957 [main] INFO  org.smslib.Service  - JRE
Version: 1.6.0_22
7      2011-10-19 09:16:35,958 [main] INFO  org.smslib.Service  - JRE
Impl Version: 20.0-b11
7      2011-10-19 09:16:35,958 [main] INFO  org.smslib.Service  - O/S:
Linux / i386 / 2.6.38-11-generic-pae
10     2011-10-19 09:16:35,961 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
10     2011-10-19 09:16:35,961 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
10     2011-10-19 09:16:35,961 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
11     2011-10-19 09:16:35,962 [main] INFO
org.smslib.queues.DefaultQueueManager  - Queue directory not defined.
Queued messages will not be saved to filesystem.
12     2011-10-19 09:16:35,963 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
12     2011-10-19 09:16:35,963 [DelayQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
12     2011-10-19 09:16:35,963 [DelayQueueManager] DEBUG
org.smslib.queues.AbstractQueueManager$DelayQueueManager  -
DelayQueueManager running...
12     2011-10-19 09:16:35,963 [main] DEBUG
org.smslib.threading.AServiceThread  - Initialized.
13     2011-10-19 09:16:35,964 [WatchDog] DEBUG
org.smslib.threading.AServiceThread  - Running...
14     2011-10-19 09:16:35,965 [Thread-3] INFO
org.smslib.modem.ModemGateway  - GTW: modem.com1: Starting gateway,
using Huawei (Generic) AT Handler.
14     2011-10-19 09:16:35,965 [Thread-3] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem.com1: Opening: /dev/
ttyACM0 @115200
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
46     2011-10-19 09:16:35,997 [Thread-3] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem.com1: Closing: /dev/
ttyACM0 @115200
1015   2011-10-19 09:16:36,966 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1015   2011-10-19 09:16:36,966 [DelayQueueManager] DEBUG
org.smslib.queues.AbstractQueueManager$DelayQueueManager  -
DelayQueueManager end...
1116   2011-10-19 09:16:37,067 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
1116   2011-10-19 09:16:37,067 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
1216   2011-10-19 09:16:37,167 [WatchDog] DEBUG
org.smslib.threading.AServiceThread  - Stopped.
1216   2011-10-19 09:16:37,167 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem.com1: Stopping gateway...
1217   2011-10-19 09:16:37,168 [main] INFO
org.smslib.modem.SerialModemDriver  - GTW: modem.com1: Closing: /dev/
ttyACM0 @115200
1217   2011-10-19 09:16:37,168 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1217   2011-10-19 09:16:37,168 [main] INFO
org.smslib.modem.ModemGateway  - GTW: modem.com1: Gateway stopped.
1320   2011-10-19 09:16:37,271 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Running...
1320   2011-10-19 09:16:37,271 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager running...
1320   2011-10-19 09:16:37,271 [NotifyQueueManager] DEBUG
org.smslib.notify.NotifyQueueManager$NotificationQueueManager  -
NotifyQueueManager end...
1418   2011-10-19 09:16:37,369 [NotifyQueueManager] DEBUG
org.smslib.threading.AServiceThread  - Stopped.
org.smslib.GatewayException: Comm library exception:
java.lang.RuntimeException: gnu.io.NoSuchPortException
        at
org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java:
102)
        at org.smslib.modem.AModemDriver.connect(AModemDriver.java:114)
        at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:189)
        at org.smslib.Service$1Starter.run(Service.java:276)

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion 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