开发者

Check which network a HUAWEI modem is connected to using an AT command?

What is the AT command to get the network name on a HUAWE开发者_开发知识库I USB modem?


If supported by your phone the command AT+COPS? will give you the following results:-

<mode>[,<format>,<oper>[,<AcT>]

If the phone is powered up and actively camped onto a network the <oper> field should contain a 5 or 6 digit number. The first three digits are the Mobile Country Code and the last 2 or 3 are the Mobile Network Code. You can look up the MCC/MNC here http://en.wikipedia.org/wiki/Mobile_Network_Code.

Not all phones support all AT commands so your mileage may vary.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜