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

5

8

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.

Baughman answered 17/11, 2010 at 11:43 Comment(0)
B
5

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

Baughman answered 17/11, 2010 at 12:9 Comment(2)
there 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+CLACBaughman
I try to use that commands but i allways get CME ERROR: 50, i'm usign a modem huawei e173, do you have any ideas?Rauscher
F
10

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.

Filip answered 8/3, 2014 at 4:57 Comment(0)
E
9

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

Euell answered 5/8, 2013 at 13:41 Comment(2)
This 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.Malonis
Also works with Huawei ME906s-158 with the following command: mmcli -m 0 --command AT^ICCID? after restarting NetworkManager and ModemManager in debug modeEpsilon
B
5

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

Baughman answered 17/11, 2010 at 12:9 Comment(2)
there 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+CLACBaughman
I try to use that commands but i allways get CME ERROR: 50, i'm usign a modem huawei e173, do you have any ideas?Rauscher
R
4

AT+ICCID on galaxy S4 in modem mode.

Rectilinear answered 12/8, 2013 at 15:58 Comment(0)
S
2

AT+CICCID on an Iridium satellite modem.

Scald answered 17/10, 2013 at 12:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.