Search code examples
at-commandmodem

AT command for SIM Pin retries left


Does anyone know an AT command that will allow me to query how many retries of entering PIN on a SIM card before it locks me out?

I've tried AT+CPIN? but that does not give me how many times I can enter the PIN before I need a PUK. How do normal phones do it?

Thanks in advance.


Solution

  • It's not part of the ETSI spec so it depends on the equipment your using.

    It's most often called the "Pin Counter" and can be read via AT^SPIC however your best bet is looking for "Pin Counter" in the devices AT command documentation.