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.

Forge
  • 6,538
  • 6
  • 44
  • 64

5 Answers5

9

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

gardan
  • 91
  • 1
  • 1
  • 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. – Pelle Nov 09 '16 at 13:03
  • Also works with Huawei ME906s-158 with the following command: `mmcli -m 0 --command AT^ICCID?` after restarting NetworkManager and ModemManager in debug mode – lornova Jan 04 '22 at 14:52
9

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.

SMITA
  • 91
  • 1
  • 1
5

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

Forge
  • 6,538
  • 6
  • 44
  • 64
  • 1
    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+CLAC – Forge Nov 18 '10 at 08:18
  • 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? – Gabriel Sep 10 '11 at 13:15
4

AT+ICCID on galaxy S4 in modem mode.

Zibri
  • 9,096
  • 3
  • 52
  • 44
2

AT+CICCID on an Iridium satellite modem.

Jon Cage
  • 36,366
  • 38
  • 137
  • 215