Commands to Retrieve SIM ID Number

Share your code with other community members. Please do not ask for code here; use the appropriate product forum instead.

Commands to Retrieve SIM ID Number

Postby Lucas12 » Thu May 05, 2016 7:26 pm

Hello All,

I am searching for the commands to retrieve my SIM card's ID number. (Batch file Preferred...)
Can any of you help me with this? :D
The purpose is so I can remotely grab the SIM ID #'s without having to pop the SIM cards out of their slots to check.

Thanks, Lucas
Lucas12
 
Posts: 5
Joined: Thu Jan 21, 2016 6:16 am
Has thanked: 1 time
Have thanks: 0 time

Re: Commands to Retrieve SIM ID Number

Postby mlw » Fri May 06, 2016 11:55 am

Lucas,

What unit are you doing this for? Also whan you say SIM ID do you mean its serial number (ICC ID)? Depending on the unit you could try the following.

at+ccid?
at!iccid?
AT+CRSM=176,12258,0,0,10,,”3F00”

Regards

Matt
mlw
 
Posts: 794
Joined: Thu Jun 17, 2010 3:59 am
Has thanked: 0 time
Have thanks: 84 times

Re: Commands to Retrieve SIM ID Number

Postby Lucas12 » Tue May 10, 2016 12:13 pm

Thanks for the reply Matt. :)

You are correct, I need to find the ICCID number.

The main modems I need to check are the MC7700 and MC8790V.
Lucas12
 
Posts: 5
Joined: Thu Jan 21, 2016 6:16 am
Has thanked: 1 time
Have thanks: 0 time

Re: Commands to Retrieve SIM ID Number

Postby mlw » Tue May 10, 2016 12:28 pm

Either of these should do it.

at!iccid?
AT+CRSM=176,12258,0,0,10,,”3F00”

Regards

Matt
mlw
 
Posts: 794
Joined: Thu Jun 17, 2010 3:59 am
Has thanked: 0 time
Have thanks: 84 times

Re: Commands to Retrieve SIM ID Number

Postby Lucas12 » Thu May 12, 2016 12:32 pm

So these commands should be entered after using something like PuTTY to connect to the modem?
Lucas12
 
Posts: 5
Joined: Thu Jan 21, 2016 6:16 am
Has thanked: 1 time
Have thanks: 0 time

Re: Commands to Retrieve SIM ID Number

Postby mlw » Thu May 12, 2016 2:10 pm

Correct.

Regards

Matt
mlw
 
Posts: 794
Joined: Thu Jun 17, 2010 3:59 am
Has thanked: 0 time
Have thanks: 84 times

Re: Commands to Retrieve SIM ID Number

Postby Lucas12 » Thu May 12, 2016 9:05 pm

They worked! Thanks Matt. ;)
Lucas12
 
Posts: 5
Joined: Thu Jan 21, 2016 6:16 am
Has thanked: 1 time
Have thanks: 0 time


Return to Sample code

Who is online

Users browsing this forum: No registered users and 1 guest