开发者

Error 302 when executing AT+CMGL="ALL"

开发者 https://www.devze.com 2023-03-28 19:10 出处:网络
I\'m p开发者_高级运维rogramming a modem using AT commands. When I execute AT+CMGL=\"ALL\", I get an inconsistent result. Most of the time, it returned Error 302 (operation not allowed). At other times

I'm p开发者_高级运维rogramming a modem using AT commands. When I execute AT+CMGL="ALL", I get an inconsistent result. Most of the time, it returned Error 302 (operation not allowed). At other times, it returns the list of messages. I'm using Multitech MTCBA-G-U.FA. This inconsistency makes it difficult to know what is happening.

I get the same behaviour when using putty as well. In all instances where AT+CMGL fails, AT always works returning OK.

regards


Did you register with the GSM network via AT+COPS?

You can check via AT+COPS?.


The settings for receiving messages were probably changed. Check with:

AT+CNMI=?

And you can set the setting to directly display a received message

AT+CNMI=1,2,0,0,0
0

精彩评论

暂无评论...
验证码 换一张
取 消