How to get the SIM number (ICCID) of a modem using AT commands

我与影子孤独终老i 提交于 2021-02-07 06:51:17

问题


I'm trying to get the SIM number (ICCID, not IMSI) of my 3G Huawei E5830 modem using AT commands (also called Hayes command set).

Unfortunately, it's not specified in the modem formal documentation.


回答1:


for sim900 AT+CCID gives CCID. e.g.89912200000280775659

The first two digits (89 in the example) refers to the Telecom Id. The next two digits (91 in the example) refers to the country code (91-India). The next two digits (22 in the example(MNC of IDEA)) refers to the network code.




回答2:


Try "AT^ICCID?". tested on Huawei E173.




回答3:


It works with AT+CRSM and also AT+CSIM.




回答4:


AT+ICCID on galaxy S4 in modem mode.




回答5:


AT+CICCID on an Iridium satellite modem.



来源:https://stackoverflow.com/questions/4204018/how-to-get-the-sim-number-iccid-of-a-modem-using-at-commands

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!