
HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 81 of 229
+CRSM - Restricted SIM Access
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 and may be e.g..
28471 meaning ACMmax file (6F37)
28423 meaning IMSI file (6F07)
28473 meaning ACM file (6F39)
28481 meaning PUKT file (6F41)
28482 meaning SMS file (6F42)
<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
OK
Read record, ADN(6F3A)
AT+CRSM=178,28474,1,4,40