Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem:
QuoteBlueocean (Model : U-GSM-35)
Siemen Chipset T35
SIM holder integrated
3V SIM Interface
Activity Status Indication
Power Output: Class4(2W @ EGSM 900/GSM 850); Class1 (1W @ GSM 1800/1900)
Normal operation temperature: -20 to 55ºC
Operating Voltage : 5 to 24VDC
Typical idle mode supply current: 5mA
Baud rates: 300-115200 bits/s
Compliant with ETSI GSM Phase 2 +
Control via AT commands (GSM07.07 & 07.05)
Interface: USB (Proliant USB to Serial Driver)
Hi Ke Ke,
I have got a modem which requires me to install Prolific USB to Serial Converter, and what happened is when smsd detects the readiness of the device; it gets time out. For your reference, I have added the config file and log file outputs below. Please let me know what should I do to make it work?
Thanks for your kind help in advance.
SMSD.conf
Quote# Example smsd.conf. Read the manual for a description
devices = GSM1
logfile = /var/log/smsd.log
loglevel = 7
os_cygwin = yes
delaytime = 10
incoming_utf8 = yes
receive_before_send = yes
trust_outgoing = yes
checked = /var/log/ssmd/checked
failed = /var/log/ssmd/failed
incoming = /var/log/ssmd/incoming
outgoing = /var/log/ssmd/outgoing
report = /var/log/ssmd/report
saved = /var/log/ssmd/saved
sent = /var/log/ssmd/sent
#eventhandler = filename
[GSM1]
#init = AT+CMEE=1
init = AT+CNMI=2,0,0,2,1
#init = AT+CPMS="SM"
pin = 2537
baudrate = 115200
rtscts = yes
memory_start = 1
device = /dev/com4
incoming = no
outgoing = yes
smsc = +6596197777
SMSD.log
Quote2011-05-09 10:08:27,2, smsd: Smsd v3.1.14 started.
2011-05-09 10:08:27,2, smsd: Running as SYSTEM:Administrators.
2011-05-09 10:08:27,7, smsd: Running startup_check (shell): /var/log/ssmd/incoming/smsd_script.lpNbfJ /tmp/smsd_data.by76wd
2011-05-09 10:08:28,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-05-09 10:08:28,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-05-09 10:08:28,2, smsd: Running in terminal mode.
2011-05-09 10:08:28,5, smsd: Outgoing file checker has started. PID: 3164.
2011-05-09 10:08:28,7, smsd: All PID's: 3164,1712
2011-05-09 10:08:28,5, GSM1: Modem handler 0 has started. PID: 1712. Will only send messages.
2011-05-09 10:08:28,5, smsd: Moved file /var/log/ssmd/outgoing/M2JiY2M3YzQtMTgyZi1mNTkwLTAwMDAtMDEyZmQyODFjOWQz.txt to /var/log/ssmd/checked
2011-05-09 10:08:28,5, smsd: Moved file /var/log/ssmd/outgoing/YTAwNTVkNzYtMmVhYS03OTRjLTAwMDAtMDEyZmQyODFjNjc4.txt to /var/log/ssmd/checked
2011-05-09 10:08:28,6, GSM1: Checking if modem is ready
2011-05-09 10:08:28,7, GSM1: -> AT
2011-05-09 10:08:28,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:35,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-05-09 10:08:35,7, GSM1: <-
2011-05-09 10:08:35,7, GSM1: -> . [square character]
2011-05-09 10:08:35,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:41,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-05-09 10:08:41,7, GSM1: <-
2011-05-09 10:08:41,7, GSM1: -> AT
2011-05-09 10:08:41,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:48,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 3.
2011-05-09 10:08:48,7, GSM1: <-
2011-05-09 10:08:48,7, GSM1: -> .[square character]
2011-05-09 10:08:48,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:08:54,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 4.
2011-05-09 10:08:54,7, GSM1: <-
2011-05-09 10:08:54,7, GSM1: -> AT
2011-05-09 10:08:54,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:01,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 5.
2011-05-09 10:09:01,7, GSM1: <-
2011-05-09 10:09:01,7, GSM1: -> .[square character]
2011-05-09 10:09:01,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 6.
2011-05-09 10:09:07,7, GSM1: <-
2011-05-09 10:09:07,7, GSM1: -> AT
2011-05-09 10:09:07,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:14,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 7.
2011-05-09 10:09:14,7, GSM1: <-
2011-05-09 10:09:14,7, GSM1: -> .[square character]
2011-05-09 10:09:14,7, GSM1: Command is sent, waiting for the answer
2011-05-09 10:09:17,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 3164.
2011-05-09 10:09:18,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 8.
2011-05-09 10:09:18,7, GSM1: <-
2011-05-09 10:09:18,2, GSM1: Failed to initialize modem GSM1. Stopping.
2011-05-09 10:09:18,2, GSM1: Modem handler 0 terminated. PID: 1712, was started 11-05-09 10:08:28.
2011-05-09 10:09:18,2, smsd: Smsd mainprocess terminated. PID 3164, was started 11-05-09 10:08:28.
We had to stop the windows service to debug the config. So far no solutions for this yet.
Some AT Command Reference are here; http://www.bluocean.biz/technicalinfo.html