This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

AT Command to get ICCID from nRF9160 modem?

Hi,

We are working on our manufacturing process that involves use of the nRF9160. I need a way to programmatically get the IMEI and ICCID in order to register the device to our cellular provider.

I see there is an AT Command to get the IMEI number (using AT+CGSN). However, I do not see a command to read the ICCID of the SIM card that is currently in the device. In other modems, I've seen commands such as AT+CCID that return the ICCID of the currently inserted SIM.

Any idea how I can read this value from the application software?

Thanks,

Jack Panetta

Parents
  • Hi Jack.

    You can find ICCID by running the AT command:

     AT+CRSM=176,12258,0,0,10

    You will get a response back something like:

    +CRSM: 144,0,"2143658709"

    The "2143658709" is in binary coded decimal format  with switched digits. So in this example it would turn out to be "1234567890".

    To make it clear:

    21 43 65 87 09

    Switch places:

    12 34 56 78 90

    Hope this helps you.

    Best regards,

    Andreas

Reply
  • Hi Jack.

    You can find ICCID by running the AT command:

     AT+CRSM=176,12258,0,0,10

    You will get a response back something like:

    +CRSM: 144,0,"2143658709"

    The "2143658709" is in binary coded decimal format  with switched digits. So in this example it would turn out to be "1234567890".

    To make it clear:

    21 43 65 87 09

    Switch places:

    12 34 56 78 90

    Hope this helps you.

    Best regards,

    Andreas

Children
Related