GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released 48 /
186
Example
AT+CLCK="SC", 2
+CLCK: 0
// Query the status of SIM card lock,0-unlock
OK
AT+CLCK="SC",1,"1234"
// Lock SIM card, the password is 1234
OK
AT+CLCK="SC",2
+CLCK: 1
// Query the status of SIM card lock,1-lock
OK
AT+CLCK="SC",0,"1234"
// Unlock SIM card
OK
5.3. AT+CPIN Enter PIN
"PF" Lock Phone to the very first SIM card
"PN" Network Personalization (refer to GSM 02.22)
"PU"
Network subset Personalization (refer to GSM 02.22)
"PP"
Service Provider Personalization (refer to GSM 02.22)
"PC"
Corporate Personalization (refer to GSM 02.22)
<mode>
0
Unlock
1
Lock
2
Query status
<passwd>
Password
<class>
1
Voice
2
Data
4
FAX
7
All telephony except SMS (Default)
8 Short message service
16 Data circuit sync
32 Data circuit async
<status>
0
Off
1
On
AT+CPIN Enter PIN
Test Command
AT+CPIN=?
Response
OK
Read Command
AT+CPIN?
Response
TA returns an alphanumeric string indicating whether or not
some password is required.