Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 99 of 259
+CRSM - Restricted SIM Access
<command>
[,<fileid>
[,<P1>,<P2>,<P3>
[,<data>]]]
required parameters. ME handles internally all SIM-ME interface locking and
file selection routines. As response to the command, ME sends the actual
SIM information parameters and response data.
Parameters:
<command> - command passed on by the ME to the SIM
176 - READ BINARY
178 - READ RECORD
192 - GET RESPONSE
214 - UPDATE BINARY
220 - UPDATE RECORD
242 - STATUS
<fileid> - identifier of an elementary data file on SIM. Mandatory for every
command except STATUS.
<P1>,<P2>,<P3> - parameter passed on by the ME to the SIM; they are
mandatory for every command except GET
RESPONSE and STATUS
0..255
<data> - information to be read/written to the SIM (hexadecimal character
format).
The response of the command is in the format:
+CRSM: <sw1>,<sw2>[,<response>]
where:
<sw1>,<sw2> - information from the SIM about the execution of the actual
command either on successful or on failed execution.
<response> - on a successful completion of the command previously
issued it gives the requested data (hexadecimal character
format). It’s not returned after a successful UPDATE BINARY
or UPDATE RECORD command.
Note: this command requires PIN authentication. However commands
READ BINARY and READ RECORD can be issued before PIN
authentication and if the SIM is blocked (after three failed PIN authentication
attempts) to access the contents of the Elementary Files.
Note: use only decimal numbers for parameters <command>, <fileid>,
<P1>, <P2> and <P3>.
AT+CRSM=? Test command returns the OK result code
Example
Read binary, ICCID(2FE2)
AT+CRSM=176,12258,0,0,10
+CRSM: 144,0,982850702001107686F4