Crsm – restricted sim access – Westermo GDW-11 User Manual

Page 19

Advertising
background image

General commands 19

6615-2220

+CRSM – Restricted SIM access

Description:

By using this command instead of Generic SIM Access +CSIM TE application has easier
but more limited access to the SIM database. This command transmits to the MT the SIM
<command> and its required parameters.

As response to the command, MT sends the actual SIM information parameters and
response data. MT 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.

As for the CSIM command, there is no locking between two successive commands. The user
should be aware of the precedence of the GSM application commands to the TE commands.

Syntax:

AT +CRSM=<command>[<fileid>[<P1 >,<P2>,<P3>[<data>]]]

Response:

+CRSM:<sw1>,<sw2>[<response>]

+CME ERROR: <err>

Parameters:

<command> Integer type.

Command passed on by the MT to the SIM; refer GSM 11.11 (or 3GPP TS 51.011):

176:

READ

BINARY

178:

READ

RECORD

192:

GET

RESPONSE

242:

STATUS

all other values are reserved and the command will return
+CME ERROR=3

NOTE 1:

The MT internally executes all commands necessary for selecting the desired file, before
performing the actual command.

<fileid> Integer type.

This is the identifier of a elementary datafile on SIM. Mandatory for every command
except STATUS.

NOTE 2:

The range of valid file identifiers depends on the actual SIM and is defined in GSM 11.11
(or 3GPP TS 51.011). Optional files may not be present at all. This value must be in the
range [0 – 65535] else a CME_ERROR=3 is returned.

<P1>, <P2>, <P3> Integer type.

Parameters passed on by the MT to the SIM. These parameters are mandatory for every
command, except GET RESPONSE and STATUS. The values are described in GSM 11.11
(or 3GPP TS 51.011).

Advertising
This manual is related to the following products: