User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
11SIM management
Page 119 of 401
11SIM management
11.1Generic SIM access +CSIM
+CSIM
SARA-R410M-02B SARA-R410M-52B SARA-R410M-63B SARA-R410M-73B SARA-R410M-83B
SARA-R412M
Modules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No - +CME Error
11.1.1Description
Allows direct control of the SIM by a distant application on the TE. This command transparently transmits the
<command> to the SIM via the MT. The <response> is returned in the same manner to the TE.
The command needs the SIM module to work correctly.
It is recommended to wait some seconds after boot (or reset) before using the command.
11.1.2Syntax
Type Syntax Response Example
Set AT+CSIM=<length>,<command> +CSIM: <length>,<response>
OK
AT+CSIM=14,"A0A40000027F20"
+CSIM: 4,"6E00"
OK
Test AT+CSIM=? OK OK
11.1.3Defined values
Parameter Type Description
<length> Number Length of the characters sent to the TE in <command> or <response> parameters
<command> String Command passed on by MT to SIM in hex format; see the 3GPP TS 51.011 [17] and
ETSI TS 102 221 [73]
<response> String Response to the command passed on by the SIM to the MT (3GPP TS 51.011 [17] and
ETSI TS 102 221 [73])
11.2Restricted SIM access +CRSM
+CRSM
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No < 10 s +CME Error
11.2.1Description
Allows easy access to the SIM database. The set command transmits the SIM command and its required
parameters to the MT. The MT handles internally all SIM-MT interface locking and file selection routines. As
response to the command, the MT sends the actual SIM information parameters and response data. An error
result code may be returned when the command cannot be passed to the SIM, but the failure in the execution
of the command in the SIM is reported in <sw1> and <sw2> parameters.
The expected response time shall be increased when using a remote SIM card via SAP and in case of
simultaneous access to the SIM by another AT interface or by internal clients (e.g. BIP, IMS).
The command needs the SIM module to work correctly.