Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 640
Clement Avatar asked Dec 13 '25 07:12

Clement


2 Answers

The latest 3GPP spec lists the command you want as +CPINR

like image 132
barry Avatar answered Dec 15 '25 00:12

barry


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.

like image 29
Alex K. Avatar answered Dec 15 '25 02:12

Alex K.