gemini1028: Operating system name and version: CentOS 6.4
Version of smsd: smstools3-3.1.15
Smsd installed from: sources
Name and model of a modem / phone: quectel m10
Interface: TCP/IP (@IP:port)
Hi,
How i can change string > ATE0+CMEE=1;+CREG=2 it appear in smsd.log
and gsm module return ERROR
2014-02-20 08:13:03,6, GSM2: Pre-initializing modem
2014-02-20 08:13:03,7, GSM2: -> ATE0+CMEE=1;+CREG=2
2014-02-20 08:13:03,7, GSM2: Command is sent, waiting for the answer
2014-02-20 08:13:04,7, GSM2: <- ERROR
2014-02-20 08:13:04,3, GSM2: Modem did not accept the pre-init string
2014-02-20 08:13:04,6, GSM2: Initializing modem
2014-02-20 08:13:04,7, GSM2: -> AT+CNMI=1,2,0,1,0
2014-02-20 08:13:04,7, GSM2: Command is sent, waiting for the answer
2014-02-20 08:13:04,7, GSM2: <- OK
2014-02-20 08:13:04,7, GSM2: -> AT+CSQ
2014-02-20 08:13:04,7, GSM2: Command is sent, waiting for the answer
2014-02-20 08:13:05,7, GSM2: <- +CSQ: 8,0 OK
2014-02-20 08:13:05,6, GSM2: Signal Strength Indicator: (8,0) -97 dBm (Marginal)
2014-02-20 08:13:05,6, GSM2: Checking if Modem is registered to the network
2014-02-20 08:13:05,7, GSM2: -> AT+CREG?
2014-02-20 08:13:05,7, GSM2: Command is sent, waiting for the answer
2014-02-20 08:13:05,7, GSM2: <- +CREG: 0,1 OK
My config
# SMSD Config Basics
devices = GSM1, GSM2, GSM3, GSM4, GSM5, GSM6
logfile = /var/log/smsd.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
loglevel = 7
# m10
[GSM1]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9101
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
[GSM2]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9102
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
[GSM3]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9103
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
[GSM4]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9104
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
[GSM5]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9105
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
[GSM6]
init = AT+CNMI=1,2,0,1,0
device = @192.168.2.135:9106
baudrate = 115200
incoming = yes
report = yes
report_device_details = yes
signal_quality_ber_ignore = yes
Any suggestions?
Thanks in advance!
best regards,
Andrey
|