Motorola g20 Developer's Manual page 188

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

AT Commands Reference
Table 81. +CPIN Parameters (Continued)
<Parameter>
SIM PIN
AT+CPIN=<pin>
SIM PUK
AT+CPIN=<puk>,<newpin>
SIM PUK2
AT+CPIN=<puk2>,<newpin2>
Example
AT+CPIN=?
OK
At+clck="SC*",1, "<correct PIN>"
OK
The facility is enabled by the +CLCK command (Refer to "+CLCK, Facility Lock" on page 178)
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN="<correct PIN>"
OK
AT+CPIN?
+CPIN: READY
OK
From now the status of the SIM is enabled, but the PIN is READY
The following case shows an example of three unsuccessful attempts at entering the PIN:
AT+CPIN="<PUK>","<NEW PIN>"
OK
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN="<wrong pin>"
+CME ERROR: "incorrect password"
AT+CPIN="<wrong pin>"
+CME ERROR: "incorrect password"
AT+CPIN="<wrong pin>"
+CME ERROR: "SIM PUK required"
AT+CPIN?
+CPIN: SIM PUK
OK
AT+CPIN="<PUK>","<NEW PIN>"
174
Description
//PIN is blocked. The PUK is needed for unblocking.
//Enter PUK and new PIN
98-08901C68-O

Advertisement

Table of Contents
loading

Table of Contents