devices = GSM1
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
receive_before_send = no
autosplit = 3
loglevel = 7
[GSM1]
loglevel_lac_ci = 8
report_device_details = yes
loglevel = 7
device = /dev/ttyUSB2
incoming = yes
pin = ignore
baudrate = 2400
The error is:
2015-10-06 10:06:37,6, GSM1: Checking if Modem is registered to the network
2015-10-06 10:06:37,7, GSM1: -> AT+CREG?
2015-10-06 10:06:37,7, GSM1: Command is sent, waiting for the answer
2015-10-06 10:06:48,7, GSM1: put_command expected (\+CREG:.*OK)|(ERROR), timeout occurred. 1.
2015-10-06 10:06:48,7, GSM1: <- Error
2015-10-06 10:06:48,3, GSM1: Error: Unexpected answer from Modem after +CREG?, waiting 1 sec. before retrying
I've spent hours on this and simply cannot work out what I am missing.
How to I prevent CREG from being sent, or have the response ignored?
« Last edit by IBMPortablePC on Tue Oct 06, 2015 10:22, 111 months ago. »