Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-309
UI (User Interface)

+CRSM, Restricted SIM Access

This command provides limited access to the Elementary Files on the SIM. Access to the SIM
database is restricted to the commands which are listed at <command>. All parameters of
AT+CRSM are used as specified by GSM 11.11 version 8.7.0. As response to the command, the
G24 sends the actual SIM information parameters and response data. Error result code "+CME
ERROR" may be returned if the command cannot be transferred to the SIM, e.g. if the SIM is not
inserted, or defected, or PIN1/PUK authentication required, or required input parameters not
present. However, failure in the execution of the command in the SIM is reported in <sw1> and
<sw2> parameters.
Some of the AT+CRSM commands require PIN/PIN2 authentication.
Command
Type Syntax Response/Action Remarks
Set AT+CRSM=<command>
,[<file_id>[,<P1>,<P2>,<
P3>[,<data>]]]
+CRSM:
<sw1>,<sw2>[,<response>]
OK
or:
+CME ERROR: <err>
Set command transmits the
SIM <command> and its
required parameters to the ME.
ME sends the actual SIM infor-
mation parameters and
response data.
Test AT+CRSM=? +CRSM:
(list of supported
<command>s),
(possible <file_id>s range
value),
(possible <P1> range
value),
(possible <P2> range
value),
(possible <P3>range value),
OK
or:
+CME ERROR: <err>
The test command returns the
possible ranges of CRSM
parameters.