无法设置“首选消息存储"在三星 Galaxy 上使用 AT+CPMS [英] Trouble setting "Preferred Message Storage" with AT+CPMS on Samsung Galaxy
问题描述
通过 USB 将 Samsung Galaxy S 连接到超级终端时,我无法从调制解调器检索任何消息.命令AT
和AT+CMGF=1
起作用,AT+CPMS=?
返回不同的可用内存.
When connecting Samsung Galaxy S via USB to Hyperterminal, I cannot retrieve any messages from the modem. The commands AT
and AT+CMGF=1
work, and AT+CPMS=?
returns different memories available.
但是当我尝试执行以下命令时:AT+CPMS="SM"
(或任何其他内存)我得到:cms error 321
.有谁能够帮助我?谢谢!
But when I try to execute the following command: AT+CPMS="SM"
(or any other memory) I get: cms error 321
. Can anybody help me? Thanks!
附加信息:
AT+CPMS=?
+CPMS: ("BM","ME","SM","SR"),("ME","SM"),("BM","ME","SM","SR")
AT+CPMS="SM"
+CMS ERROR: 321
推荐答案
来自 27.005 +CMS ERROR 321
表示无效内存索引
.
AT+CPMS
命令有3个参数,官方语法AT+CPMS=
.但是我认为问题在于手机因具有不同的
和
值而窒息.
The AT+CPMS
command has three parameters with official syntax AT+CPMS=<mem1>[,<mem2>[,<mem3>]]
. However I think that the problem is that the phone chokes at having different <mem1>
and <mem2>
values.
所以虽然官方有效的语法只允许给出
我怀疑语法实际上是 AT+CPMS=
在某些手机上由于某些实现问题,(可能仅限于
的某些值/组合).据我所知,索尼爱立信的手机就是这种情况,但多年来我一直给
和
赋予相同的值,所以我的记忆可能有点生疏了.
So although the official valid syntax would allow for only giving <mem1>
I suspect the syntax to actually be AT+CPMS=<mem1>,<mem2>[,<mem3>]
on some phones due to some implementation issue, (possibly limited to just certain values/combinations for <memN>
). As far as I remember this was the case for phones from SonyEricsson, but I have always given both <mem1>
and <mem2>
with the same value for many years, so my memory might be a bit rusty.
我确实认为其他手机也可能如此;如果您搜索 AT+CPMS
的示例用例,您会发现两者都比仅提供 <mem1>
更常见(坦率地说,我很难想象场景您真正想要从一个存储读取/删除并从另一个存储写入/发送的地方).鉴于我的记忆是正确的,所描述的行为应该也适用于您的手机,因为三星在其 Galaxy 手机中使用了 ST-Ericsson 的软件.
I do think it is might be the case for other phones as well; if you search for example use cases of AT+CPMS
you will see that giving both is more common than just <mem1>
(and frankly I have a hard time imagining scenarios where you really want to read/delete from one storage and write/send from another storage). Given that my memory is correct, the described behaviour should be applicable for your phone as well since Samsung uses software from ST-Ericsson in their Galaxy phones.
这篇关于无法设置“首选消息存储"在三星 Galaxy 上使用 AT+CPMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!