2 at+csim generic sim access, Ac75 at command set – Siemens AC75 User Manual

Page 405

Advertising
background image

AC75 AT Command Set

14.2 AT+CSIM

s

AC75_ATC_V01.002

Page 405 of 569

10/30/06

Confidential / Released

14.2

AT+CSIM Generic SIM Access

AT+CSIM

allows direct control of the SIM.

Compared to Restricted SIM Access command

AT+CRSM

, the definition of

AT+CSIM

allows the ME to take more

control over the SIM interface.

For parameter and SIM result coding please refer GSM 11.11

[24]

.

However, only the following SIM commands are supported by

AT+CSIM

: SELECT, STATUS, READ BINARY,

UPDATE BINARY, READ RECORD, UPDATE RECORD, SEEK, INCREASE and GET RESPONSE.

The SIM interface design requires that some actions need more than one command, e.g. access to an Elemen-

tary File's data requires a prior SELECT command. To ensure that two commands related to the same action are

sent to the SIM consecutively, i.e. without being interrupted by other software entities, each SELECT command

will be buffered in an internal directory path. Before performing new commands the internal directory path will be

checked to enable the retransmittion of the buffered SELECT command's (explicit selection).

The directory path can be used to queue up to 20 Files e.g. 19 Dedicated Files (DF's) and 1 Elementary File (EF).

After each

AT+CSIM

execution the Master File (MF) which acts as a logical root will be selected to guarantee

that other software entities are not affected.

Syntax

Parameter Description

Length of

<command>

or

<response>

string.

Command passed on by the ME to the SIM.

Response data of the command returned by the SIM.

Example

The following examples explain how to use

AT+CSIM

.

Test Command

AT+CSIM=?

Response(s)

OK

Write Command

AT+CSIM=

<length>

,

<command>

Response(s)

+CSIM:

<length>

,

<response>

OK

ERROR

+CME ERROR:

<err>

Reference(s)

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

GSM 07.07

-

+

+

+

+

+

+

-

+

-

<length>

(num)

<command>

(str)

<response>

(str)

AT+CSIM=14,"A0A40000027F10"

Select DF-Telekom

+CSIM: 4,"9F19"

Command successful, length '19' of the response

data

OK

Advertising