Author |
Post |
|
#1 Wed Aug 30, 2017 14:53, 90 months ago.
|
Member
Registered: Aug 2017
Location: United Kingdom
|
Operating system name and version: Debian 9 Version of smsd: 3.1.15-2 Smsd installed from: sources Name and model of a modem / phone: Huawei E3531 Interface: /dev/ttyUSB0 Hi, I wonder if someone can help me. I am trying to set up smstools, and so far it seems I can send without problems, but i am having less success with receiving them - or at least messages sent to the E3531 do not appear in the 'incoming' folder. (If i plug the E3531 in to a windows PC and go through the HiLink web interface, the received messages are listed - i assume this is an indication that the messages are being stored on internal memory rather than the SIM card.) my smsd.conf is: [GSM1] init = AT+CPMS="SM" device = /dev/ttyUSB0 incoming = yes baudrate = 19200 memory_start = 0 'smsdconf' Syntax Highlight powered by GeSHi Looking at the 'I cannot receive messages' section in the FAQ, changing the init string to AT+CPMS="ME" does not seem to have any effect, and changing the init string to "MT" as below [GSM1] init = AT+CPMS="MT" device = /dev/ttyUSB0 incoming = yes baudrate = 19200 memory_start = 0 'smsdconf' Syntax Highlight powered by GeSHi gives the error in the log What would be the best way to proceed? Thanks in advance.
|
|
#2 Wed Aug 30, 2017 15:20, 90 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
As you have tried with SM and ME memories, and both are empty even when there should be a message received, the device likely is broken or not compatible with standard AT commands. Some time ago there have been two similar situations here: [solved] Cannot receive SMS with Huawei E3131[answered] not receiving smsPossibly the situation sounds pretty similar, so look at those posts first.
|
|
#3 Wed Aug 30, 2017 15:46, 90 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
One more thing, please check what is the firmware of your device:
- stop the smsd if it's running - start smsd in communication mode: smsd -C GSM1 - press enter and give a command: AT^FHVER
What is the response?
|
|
#4 Thu Aug 31, 2017 06:46, 90 months ago.
|
Member
Registered: Aug 2017
Location: United Kingdom
Topic owner
|
Thanks for your help with this Keke, it is much appreciated. Entering AT^FHVER gives I will start to work my way through the other forum threads you suggested now.
|
|
#5 Thu Aug 31, 2017 07:08, 90 months ago.
|
Member
Registered: Aug 2017
Location: United Kingdom
Topic owner
|
So, using a terminal connection smsd -C GSM1if I enter AT+CPMS? it returns then if i send a message to the E3531, and AT+CPMS? again it returns and then immediately afterwards entering AT+CPMS? again it returns Is it interesting that "SM" only appears in the returned string, on the first attempt before the message is received by the stick?
|
|
#6 Thu Aug 31, 2017 09:00, 90 months ago.
|
Member
Registered: Aug 2017
Location: United Kingdom
Topic owner
|
I believe I have had a bit of a break through using these settings in smsd.conf i can send and receive messages with the E3531 GSM1] init = AT+CPMS="SM";+CNMI=2,0,0,2,1 device = /dev/ttyUSB0 incoming = yes baudrate = 19200 memory_start = 0 report_device_details = yes report = yes hangup_incoming_call = yes 'smsdconf' Syntax Highlight powered by GeSHi It seems the issue was with the CNMI mode. It seems as default the E3531 is set to 2,1,2,2,0 (or my one was at least).
|
|
#7 Sat Feb 10, 2018 12:45, 84 months ago.
|
Member
Registered: Feb 2018
Location: Cote d'Ivoire (Ivory Coast)
|
Hi dears, i am new using the forum but not using SMSTOOLS3 and was facing a similar problem. SMS were received but not shown in my webapp. While checking smsd.log file I noticed that ME memory was growing up after each test message sent So I finally solved the issue with this config file: [GSM1] init = AT+CPMS="ME";+CNMI=2,0,0,2,1 device = /dev/ttyUSB0 incoming = yes baudrate = 19200 memory_start = 0 report_device_details = yes report = yes hangup_incoming_call = yes 'smsdconf' Syntax Highlight powered by GeSHi Hope it will help somebody! Thanks Keke for this great piece of software! God bless you
|