How to get the SIM number (ICCID) of a modem using AT commands
57,690
Solution 1
It works with AT+CRSM
and also AT+CSIM
.
Solution 2
Try "AT^ICCID?". tested on Huawei E173.
Solution 3
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.
Solution 4
AT+ICCID on galaxy S4 in modem mode.
Solution 5
AT+CICCID on an Iridium satellite modem.
![Forge](https://i.stack.imgur.com/gnC28.jpg?s=256&g=1)
Comments
-
Forge almost 2 years
I'm trying to get the
SIM number
(ICCID
, notIMSI
) of my 3G Huawei E5830 modem usingAT commands
(also calledHayes command set
).Unfortunately, it's not specified in the modem formal documentation.
-
Forge over 13 yearsthere are a few more commands that do that, s.a - AT!ICCID. each device supports it's own at commands, to get those commands use AT+CLAC
-
Gabriel almost 13 yearsI try to use that commands but i allways get CME ERROR: 50, i'm usign a modem huawei e173, do you have any ideas?
-
Pelle over 7 yearsThis works on my EM820W as well, but with the digits pair-wise swapped, eg AT^ICCID? ^ICCID: "981344xyxyxyxyxyxyxyxyxy" where the number printed on the sim is 893144yxyxyxyxyxyx etc.
-
lornova over 2 yearsAlso works with Huawei ME906s-158 with the following command:
mmcli -m 0 --command AT^ICCID?
after restarting NetworkManager and ModemManager in debug mode