Specifications
AT Command Set
TC3X_ATC_01_V04.00 Page 111 of 204 29.05.2002
4.39 AT+CRSM Restricted SIM access
Test command
AT+CRSM=?
Response
OK
Write command
AT+CRSM=<com
mand>[,<fileId>
[,<P1>,<P2>,<P3>
[,<data>]]]
By using this command the TE has access to the SIM database. SIM access is
restricted to the commands which are listed below.
As response to the command the ME sends the current SIM information
parameters and response data. ME 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.
Response
+CRSM: <sw1>, <sw2> [,<response>]
OK / ERROR / +CME ERROR: <err>
Parameter
<command> 176 READ BINARY
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS
all other values are reserved; refer GSM 11.11.
<fileId> integer type; this is the identifier for an elementary
data file on SIM. Mandatory for every command
except STATUS
<P1>,<P2>,<P3> integer type, range 0 - 255
parameters to be passed on by the ME to the SIM;
refer GSM 11.11.
<data> information which shall be written to the SIM
(hexadecimal character format)
<sw1>, <sw2> integer type, range 0 - 255
status 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; refer GSM 11.11.
<response> response of a successful completion of the command
previously issued (hexadecimal character format)
Reference
GSM 07.07
Note