14.SIM related Commands

The AT commands described in this chapter are related to the Subscriber Identity Module (SIM) connected to MC55.

Note:

If using data from the SIM please bear in mind that the content of all Elementary Files is subject to change at any moment!

This is true because the network can change the SIM's data in the background via the SIM Application Toolkit (SAT) procedure "Data download to SIM". For a detailed description please refer to GSM 11.14, [22].

To get informed that changing Elementary Files has taken place the TA needs to hook to the SAT Proactive Com- mand "REFRESH". To achieve this, the AT command interface of SAT, i.e. Remote-SAT, needs to be activated. An overview is given at Chapter 15., SIM Application Toolkit (SAT) Commands, additional information is available with the document "Remote-SAT User Guide" [4].

14.1AT+CRSM Restricted SIM Access

AT+CRSM offers easy access of the Elementary Files on the SIM. Access to the SIM database is restricted to the commands which are listed at <command>. However, additional SIM commands are available via AT^SXSM. All parameters of AT+CRSM are used as specified by GSM 11.11 [21]. MC55 handles internally all required SIM interface locking and file selection routines.

As response to the command, the MC55 sends the actual SIM information parameters and response data. Error result code "+CME ERROR" may be returned if the command cannot be passed to the SIM, e.g. if the SIM is not inserted. However, failure in the execution of the command in the SIM is reported in <sw1> and <sw2> param- eters.

Please beware of possible changes to Elementary Files by the network at any time, refer Chapter 14., SIM related Commands.

Syntax

Test Command

AT+CRSM=?

Response(s)

OK

Write Command

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

Response(s)

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

OK ERROR

+CME ERROR: <err>

Reference(s)

GSM 07.07

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

% % % % % % ! ! !

Parameter Description

<command>(num)

 

SIM command number.

 

 

176

READ BINARY

 

 

 

 

 

MC55_ATC_V04.00

Page 368 of 475

3/17/06

Confidential / Released

 

 

Page 368
Image 368
Siemens MC55 AT manual SIM related Commands, 14.1 AT+CRSM Restricted SIM Access, At+Crsm=?, +CRSM sw1,sw2,response