Specifications
3GPP
3GPP TS 27.007 V6.3.0 (2003-
06)
8
6
Release 6
<response> : response to the command passed on by the SIM to the MT in the format as described in
GSM 51.011 [28] (hexadecimal character format; refer +CSCS)
Implementation
Optional.
8.18 Restricted SIM access +CRSM
Table 78: +CRSM action command syntax
Command
Possible response(s)
+CRSM=<command>[,<fileid>
[,<P1>,<P2>,<P3>[,<data>]]]
+CRSM: <sw1>,<sw2>[,<response>]
+CME ERROR: <err>
+CRSM=?
Description
By using this command instead of Generic SIM Access +CSIM TE application has easier but more limited access to the
SIM database. Set command transmits to the MT the SIM <command> and its required parameters. MT handles
internally all SIM-MT interface locking and file selection routines. As response to the command, MT sends the actual
SIM information parameters and response data. MT error result code +CME ERROR may be returned when the
command cannot be passed to the SIM, but failure in the execution of the command in the SIM is reported in <sw1>
and <sw2> parameters. Refer to subclause 9.2 for <err> values.
Coordination of command requests to SIM and the ones issued by GSM/UMTS application inside the MT is
implementation dependent. However the TE should be aware of the precedence of the GSM/UMTS application
commands to the TE commands.
Defined values
<command> (command passed on by the MT to the SIM; refer GSM 51.011 [28]):
176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS
all other values are reserved
NOTE 1: The MT internally executes all commands necessary for selecting the desired file, before performing the
actual command.
<fileid>: integer type; this is the identifier of a elementary datafile on SIM. Mandatory for every command
except STATUS
NOTE 2: The range of valid file identifiers depends on the actual SIM and is defined in GSM 51.011 [28]. Optional
files may not be present at all.
<P1>, <P2>, <P3>: integer type; parameters passed on by the MT to the SIM. These parameters are mandatory for
every command, except GET RESPONSE and STATUS. The values are described in GSM 51.011 [28]
<data>: information which shall be written to the SIM (hexadecimal character format; refer +CSCS)
<sw1>, <sw2>: integer type; information from the SIM about the execution of the actual command. These
parameters are delivered to the TE in both cases, on successful or failed execution of the command