有没有人可以告诉我,有没有什么AT命令可以让我检测到当前的操作员名称?
我用过AT+COPS吗?它返回了运算符的数字代码: 0,2,40410
然后,我使用命令AT+WOPN = 0,40410返回运算符的字母数字值
但这只给出了Airtel运营商的名称,而对于其他运营商,它会给出一个错误。
请帮帮我。
发布于 2014-08-05 16:57:31
您应该以was pointed out身份使用AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]命令,但<mode>值必须为3,才不会覆盖现有的<mode>值:
<mode>: integer type
3 set only <format> (for read command +COPS?), do not attempt
registration/deregistration (<oper> and <AcT> fields are ignored);
this value is not applicable in read command response.<format>必须为0或1
<format>: integer type
0 long format alphanumeric <oper>
1 short format alphanumeric <oper>
2 numeric <oper>所以你的命令是
AT+COPS=3,0
AT+COPS?发布于 2012-11-30 18:30:34
您需要先设置格式。
AT+COPS=1,2"2“表示数字格式,这将返回例如40410
AT+COPS=1,0"0“表示长字母数字格式,应返回操作员名称字符串。
第一个参数是<mode> -选择所需的值。有关此AT命令的完整文档,请参阅http://www.3gpp.org/ftp/Specs/html-info/27007.htm上的3GPP TS 27.007文档
设置好模式和格式后,发送AT+COPS?,您就可以获得所需格式的操作员姓名。
发布于 2012-11-30 14:54:29
你有没有试过- AT+QSPN。
适用于我的Quectel调制解调器。
https://stackoverflow.com/questions/13640205
复制相似问题