arzlo: Operating system name and version: Windows 10 v1803
Version of smsd: 3.1.21
Smsd installed from: Cygwin
Name and model of a modem / phone: WAVECOM Q2403A
Interface: Serial COM18 USB / ttyS17
Hi! I have the same set up in my linux and it works fine, but I can't make it work on windows 10
I'm stuck at checking if modem is ready, and it gives no response.
Config
# Example smsd.conf. Read the manual for a description
devices=sim1
incoming = /var/spool/sms/incoming
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
os_cygwin = yes
logfile = /var/log/smsd.log
loglevel = 7
errorsleeptime=1
max_continuous_sending = 150000
blockafter = 1
logtime_ms=yes
trust_outgoing =yes
receive_before_send = no
###################################
[sim1]
init = AT+CNMI=2,0,0,2,1
pre_init=0
pin=ignore
status_signal_quality=no
outgoing=yes
detect_unexpected_input=no
trust_spool=no
check_memory_method=41
communication_delay=300
cs_convert=yes
detect_message_routing = no
rtscts = no
device = /dev/ttyS17
incoming = 0
report_device_details = no
check_network = 0
signal_quality_ber_ignore = yes
baudrate=9600
sending_disabled = no
read_timeout = 5
init2 = AT+CSQ
and heres my log
2019-04-26 15:44:45.443,2, smsd: Smsd v3.1.21 started.
2019-04-26 15:44:45.444,2, smsd: Running as Roi:None (197609:197121).
2019-04-26 15:44:45.459,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.u0UHrW /tmp/smsd_data.RlJ1Fv
2019-04-26 15:44:45.561,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2019-04-26 15:44:45.563,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2019-04-26 15:44:45.563,6, smsd: Using logtime format "%Y-%m-%d %H:%M:%S.timems". It produces "2019-04-26 15:44:45.563".
2019-04-26 15:44:45.563,2, smsd: Running in terminal mode.
2019-04-26 15:44:45.595,5, smsd: Outgoing file checker has started. PID: 486.
2019-04-26 15:44:45.595,7, smsd: All PID's: 486,489
2019-04-26 15:44:45.595,5, sim1: Modem handler 0 has started. PID: 489. Will only send messages.
2019-04-26 15:44:45.595,5, sim1: Using communication_delay between new commands 300 milliseconds.
2019-04-26 15:44:45.599,6, sim1: Checking if modem is ready
2019-04-26 15:44:45.599,7, sim1: -> AT
2019-04-26 15:44:45.599,7, sim1: Command is sent, waiting for the answer. (5)
2019-04-26 15:44:50.089,7, sim1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 1.
2019-04-26 15:44:50.089,7, sim1: <-
2019-04-26 15:44:50.401,7, sim1: ->
2019-04-26 15:44:50.401,7, sim1: Command is sent, waiting for the answer. (5)
2019-04-26 15:44:55.183,7, sim1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 2.
2019-04-26 15:44:55.183,7, sim1: <-
2019-04-26 15:44:55.495,7, sim1: -> AT
2019-04-26 15:44:55.495,7, sim1: Command is sent, waiting for the answer. (5)
2019-04-26 15:45:00.249,7, sim1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 3.
2019-04-26 15:45:00.249,7, sim1: <-
2019-04-26 15:45:00.561,7, sim1: ->
2019-04-26 15:45:00.561,7, sim1: Command is sent, waiting for the answer. (5)
2019-04-26 15:45:05.067,7, sim1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 4.
2019-04-26 15:45:05.067,7, sim1: <-
2019-04-26 15:45:05.370,7, sim1: -> AT
2019-04-26 15:45:05.370,7, sim1: Command is sent, waiting for the answer. (5)
2019-04-26 15:45:10.204,7, sim1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 5.
I even followed this guide http://smstools3.kekekasvi.com/topic.php?post=2773#post2773
still not working, what am I missing?
|