Text/SMS messages dissappears automatically | Telit Cinterion IoT Developer Community
January 2, 2017 - 7:46am, 4813 views
I have this strange problem with the EHS6T LAN.
Received messages gets deleted as soon as they hit the terminal.
I can see this by continuously issuing a AT+CPMS? which gives this result:
+CPMS: "ME",0,4,"ME",0,4,"ME",0,4
+CPMS: "ME",0,4,"ME",0,4,"ME",0,4
+CPMS: "ME",1,4,"ME",1,4,"ME",1,4
+CPMS: "ME",1,4,"ME",1,4,"ME",1,4
+CPMS: "ME",0,4,"ME",0,4,"ME",0,4
+CPMS: "ME",0,4,"ME",0,4,"ME",0,4
The line "+CPMS: "ME",1,4,"ME",1,4,"ME",1,4" shows that there's a message ready, but after a few seconds it is gone automatically.
Please advise on what to do?
Hello,
Could you check the firmware version with ATI1 and also paste AT&V reply?
Is it possible to set other SMS storage, for example "SM"?
Are you using the "Module Services Application" service?
Regards,
Bartłomiej
AT&V shows this result:
ACTIVE PROFILE:
E1 Q0 V1 X4 &C1 &D2 &S0 \Q3
S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002
+CBST: 7,0,1
+CRLP: 61,61,78,6
+CR: 0
+CRC: 0
+CMGF: 0
+CNMI: 1,0,0,0,0
+CMEE: 0
+ICF: 3
+DTMF: 0
+CSMS: 0,1,1,1
+CREG: 0,1
+CLIP: 0,2
+COPS: 0,0,"Telia-Telenor DK",2
+CGSMS: 1
ATI1 shows this result:
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.42
Hello,
And how about the SMS storage - have you also tried other storages like SM?
Have you ever used the "Module Services Application" service?
We'll try to test it.
Regards,
Bartłomiej
Hi again
Same thing actually happens when I change the SMS storage:
AT+CPMS="SM"
-> +CPMS: 0,50,0,50,0,50 (which is just right)
But after a few seconds I issue:
AT+CPMS?
-> +CPMS: "ME",0,4,"ME",0,4,"ME",0,4
Just like deleting the messages, the adapter resets this setting back to "ME"!
I don't know what "Module Services Application service" is. Can you explain?
I am issuing these commands directly through a socket interface to the LAN port on a fixed IP-address and port 1234.
Commands like ATE0, AT+CMGF=1, AT+CMGF=0 works correctly, the settings are retained. But not settings around the SMS storage.
Still ***** all the help you can give!
Hello,
My colleagues are investigating this issue. We were able to reproduce this behavior but only on LAN terminal. The LAN terminal is different from other terminals because it has additional processor where the Linux OpenWrt system resides which is managing all the networking features. The module is just used as a modem here. There is probably some demon process working which deletes all the short messages. So it might only be the case to disable this demon. I will write more when I get more information.
Regards,
Bartłomiej
Looking forward to hearing more...
Hello,
We did some tests and it seems that the deleting is caused by the smsd which is a powerful sms handling tool for sending/receiving sms messages.
You can disable the smsd and the problem should be solved:
1. Go via telnet to the EHS6LAN console.
2. Type "ps", you’ll see something like this: " 1297 root 1384 S /usr/local/bin/smsd -n MAINPROCESS -p/var/run/smsd.pid -i/var/run/smsd.working -l/var/log/smsd.log"
It shows the smsd is running.
3. Disable the smsd: type to the console: "/etc/init.d/smstools3 disable“
4. Reboot it: type to the console: "reboot"
5. Go via telnet to the EHS6LAN console.
6. Type "ps" - you’ll NOT see anything containing "…..smsd…."
It shows you the smsd is not running anymore.
Regards,
Bartłomiej
Thank you for helping.
I have now disabled that software. Is there any way it can reactivate on its own if the modem is reset somehow?
Then I might want to remove it all together instead of just disabling it.
Hello,
I think that this is rather a question to Linux or OpenWrt experts. There isn't any hardware reset that would cause this. But if you would like to make any update of the OpenWrt system it might probably be restored.
Regards,
Bartłomiej