ionuts71: Yes, your â€dirty trick†fixed the issue, thank you.
Is it another proper solution for this problem?
|
ionuts71: Operating system name and version: CentOS 7
Version of smsd: 3.1.20
Smsd installed from: smstools3-3.1.19.tar.gz
Name and model of a modem / phone: Huawei
Interface: USB
Hi,
I've followed the next steps:
# yum install usbutils gcc
# wget http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
# tar -xzvf mm-1.4.2.tar.gz
# cd mm-1.4.2/
# ./configure --prefix=/usr
# make
# make install
# wget http://smstools3.kekekasvi.com/packages/smstools3-3.1.20.tar.gz
# tar -xzvf smstools3-3.1.20.tar.gz
# cd smstools3/
# vi src/Makefile (commented line: CFLAGS += -D NOSTATS)
# make
# make install
When I try to start smsd I get the following error:
smsd: error while loading shared libraries: libmm.so.14: cannot open shared object file: No such file or directory
What can I do?
|
ionuts71: OK. Solved... Sorry, I've missed this setting :)
|
ionuts71: I use Windows 10 + Cygwin + SMS Server Tool 3 + Huawei E122 modem.
If it is only one message stored in modem memory, in smsd.log I have:
GSM1: -> AT+CPMS?
GSM1: Command is sent, waiting for the answer. (5)
GSM1: <- +CPMS: "SM",1,10,"SM",1,10,"SM",1,10 OK
GSM1: Used memory is 1 of 10
GSM1: Trying to get stored message 1
GSM1: -> AT+CMGR=1
GSM1: Command is sent, waiting for the answer. (5)
GSM1: <- OK
but no incomming message appear in the incomming folder.
The correct AT command for the first message must be:
AT+CMGR=0
Also, the last command in order to read the memory must be:
AT+CMGR=9, not =10
I think that incomming messages are numbered from 0 to 9, not from 1 to 10.
Now I also have an error in smsd.log file when the software tries to read the message no. 10:
GSM1: Trying to get stored message 10
GSM1: -> AT+CMGR=10
GSM1: Command is sent, waiting for the answer. (5)
GSM1: <- +CMS ERROR: 500 (Unknown error)
GSM1: No SMS received (reading interrupted)
BR,
Ioan
|