Specifications

AT Command Set
TC35-ATC-01-V02.10 Page 82/145 02.10 / 23.05.2001
4.39 AT+CRSM Restricted SIM access
Test command
AT+CRSM=?
Response
OK
Write command
AT+CRSM=<co
mmand>[,<fileid
>
[,<P1>,<P2>,<P
3> [,<data>]]]
Response
By using this command instead of generic SIM Access TE application has easier
but more limited access to the SIM database. As response to the command, ME
sends the actual SIM information parameters and response data.
+CRSM: <sw1>, <sw2> [,<response>] OK
If error is related to ME functionality:
+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
<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; parameters passed on by the ME to the
SIM
<data> information which shall be written to the SIM (hexade-
cimal character format)
<sw1>, <sw2> integer type; information from the SIM about the execu-
tion of the actual command. These parameters are deli-
vered to the TE in both cases, on successful or failed
execution of the command
<response> response of a successful completion of the command
previously issued (hexadecimal character format)
Reference
GSM 07.07
Note
Parameters <command>, <fileid>, <P1>, <P2>, <P3> can also be entered in
hexadecimal format. Hexadecimal characters have to start with 0x.