本文介绍了麻烦设置“首选消息存储"在三星Galaxy上使用AT + CPMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当通过USB将Samsung Galaxy S连接到超级终端时,我无法从调制解调器检索任何消息.命令ATAT+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表示invalid memory index.

AT+CPMS命令具有三个参数,其官方语法为AT+CPMS=<mem1>[,<mem2>[,<mem3>]].但是,我认为问题在于手机在使用不同的<mem1><mem2>值时会感到窒息.

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.

因此,尽管官方有效的语法只允许给出<mem1>,但由于某些实现问题,我怀疑某些电话上的语法实际上是AT+CPMS=<mem1>,<mem2>[,<mem3>]((可能仅限于<memN>的某些值/组合)) .据我所知,索尼爱立信的电话就是这种情况,但是多年来我一直给<mem1><mem2>赋予相同的值,所以我的记忆可能有些生锈.

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-19 00:20