Disable PIN code using Gsm modem AT commands


2 Comments  →
   by Dost Muhammad Shah    2 Comments  →

If you have a PIN code enabled SIM card and want to remove /disable PIN code using AT commands follow these commands,
suppose 9546 is the current PIN code , Replace 9546 with your PIN code, >>> shows the response from modem.

AT+CPIN?
>>> +CPIN: SIM PIN // pin codes need to be entered
>>> OK

AT+CPIN="9546"
>>>; OK

AT+CLCK="SC",0,"9546" // disable pin code
>>> OK

AT+CPIN?
>>> +CPIN: READY

 

RECOMMENDED READ  Raspberry Pi 2 Model B

Leave a comment
      1. Enter the wrong pin three times, your sim would get blocked, Now get the PUK code from operator and create a new pin
      Reply

Leave a Reply