How to get the SIM number (ICCID) of a modem using AT commands
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.
Try "AT^ICCID?". tested on Huawei E173.
It works with AT+CRSM
and also AT+CSIM
.