I am successfully able to sendsms. Now I would like to read the replies. I see them in the GUI, so they have arrived. But:
I can see that there are SMSs, but it won’t list them. It does not matter whether I quote the AT+CMGL=\"ALL\" or not.
What am I missing?
thanks a lot for pointing me in the right direction
simon
root@GL-MIFI:~# gl_modem AT AT+CMGF=1
OK
root@GL-MIFI:~# gl_modem AT AT+CPMS?
+CPMS: “ME”,0,255,“ME”,0,255,“ME”,0,255
OK
root@GL-MIFI:~# gl_modem AT AT+CMGL=“ALL”
ERROR
root@GL-MIFI:~#
PS: uqmi -d /dev/cdc-wdm0 --list-messages returns an empty list.
PPS: funny. I deleted the messages, received another SMS, and CPMS? still reports the same three entries. perhaps those aren’t the actual SMSs?
I can list and read the SMS in the GUI without any problem. My question revolves around reading them in the CLI, in an ssh session (or with a script that’s running on the MiFi). The steps I tried to do that are in the original post, that’s as good as a screenshot.
I’ll gladly provide more information about the modem if you tell me where/how to look. In the frontend Admin panel? Or in LuCI?
Can you expand slightly on the usage of the directories under /etc/spool/sms. Specifically, I see one SMS under the “checked” directory and not “sent”. What would cause this.
checked:SMS to be sent
failed:Failed to send SMS
incoming:unread SMS
outgoing:SMS being sent
sent: send successful SMS
storage:SMS received,including read and unread
The number information is wrong, the signal is weak, and the funds cannot be used, which may cause the text message not to be sent