GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released 51 /
186
Example
AT+CPIN?
+CPIN: READY
OK
AT+CPWD="SC","1234","4321"
// Change SIM card password to “4321”
OK
AT+CPIN?
// Restart module or re-activate the SIM card, query PIN
code is locked
+CPIN: SIM PIN
OK
AT+CPIN="4321"
// PIN must be entered to define a new password “4321”
+CPIN: READY
OK
5.5. AT+CRSM Restricted SIM Access
"OX"
BOIC-exHC (Barr Outgoing International Calls except to Home Country) (refer to
GSM02.88[6] clause 1)
"AI"
BAIC (Barr All Incoming Calls) (refer to GSM02.88[6] clause 2)
"IR"
BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer
to GSM02.88 [6] clause 2)
"AB"
All Barring services (refer to GSM02.30[19]) (applicable only for
<mode>
=0)
"AG"
All outgoing barring services (refer to GSM02.30[19]) (applicable only for
<mode>
=0
"AC"
All incoming barring services (refer to GSM02.30[19]) (applicable only for
<mode>
=0)
"FD" SIM fixed dialing memory feature
"P2" SIM PIN2
<pwdlength>
Integer. Max. length of password
<oldpwd>
Password specified for the facility from the user interface or with command
<newpwd>
New password
AT+CRSM Restricted SIM Access
Test Command
AT+CRSM=?
Response
OK
Write Command
AT+CRSM=<Command>[,<fileId>[,<P
1>,<P2>,<P3>[,<data>]]]
Response
+CRSM: <sw1>, <sw2> [,<response>]