Motorola G24 Guide Developer's Manual page 339

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

Chapter 3: AT Commands Reference
Example
AT+CPIN=?
OK
AT+CLCK="SC",1,"<correct PIN>"//Not case-sensitive
OK
The facility is enabled by the +CLCK command (Refer to
"+CLCK, Facility Lock" on page
3-259)
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN="<correct PIN>"
OK
AT+CPIN?
+CPIN: READY
OK
The status of the SIM is still enabled, but the PIN is READY for this session.
The SIM is enabled per session. After power-up SIM must be unlocked again by using the +CLCK
command.
The following case shows an example of three unsuccessful attempts at entering the PIN:
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//PIN is blocked. The PUK is needed for unblocking.
OK
AT+CPIN="<PUK>","<NEW PIN>" //Enter PUK and new PIN
OK
AT+CLCK="FD",1,"<wrong PIN2>"
+CME ERROR: incorrect password
AT+CLCK="FD",1,"<wrong PIN2>"
+CME ERROR: incorrect password
AT+CLCK="FD",1,"<wrong PIN2>"
+CME ERROR: SIM PUK2 required
AT+CPIN?
+CPIN: SIM PUK2//PIN2 is blocked. The PUK2 is needed for unlocking.
OK
AT+CPIN="<PUK2>","<NEW PIN2>" //Enter PUK2 and new PIN2
OK
December 31, 2007
AT Commands Reference Manual
3-255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents