14.2AT^SXSM Extended SIM Access

AT^SXSM extends AT+CRSM with additional SIM commands.

All parameters of AT^SXSM are used as specified by GSM 11.11 [21]. MC55 handles internally all required SIM interface locking and file selection routines.

MC55 may return error result code "+CME ERROR" if the command cannot be passed to the SIM, e.g. if no SIM is inserted. However, errors related to SIM action are reported in <sw1> and <sw2> parameters as defined in GSM 11.11 [21].

Syntax

Test Command

AT^SXSM=?

Response(s)

OK

Write Command

AT^SXSM=<command>[, <fileID>[, <P1>, <P2>, <P3>[, <data>]]]

Response(s)

^SXSM: <sw1>, <sw2>[,<response>]

OK ERROR

+CME ERROR: <err>

 

PIN

ASC0

ASC1

MUX1

MUX2

MUX3

Charge

 Last

 

 

%

%

%

%

%

%

!

! !

 

 

 

 

 

 

 

 

 

 

 

Parameter Description

<command>(num)

136

RUN GSM ALGORITHM

 

Start the authentication mechanism and cipher key generation on the SIM. It

 

runs the algorithms A3 and A8 using a 16 byte random number and the sub-

 

scriber authentication key Ki, which is stored in the SIM.

<fileID>(num)

Identifier for an elementary data file on SIM, if used by <command>.

<P1>(num)

Parameter to be passed on by the MC55 to the SIM.

<P2>(num)

Parameter to be passed on by the MC55 to the SIM.

<P3>(num)

Parameter to be passed on by the MC55 to the SIM.

<data>(str)

If <command>=136 (RUN GSM ALGORITHM): 16 byte random number.

MC55_ATC_V04.00

Page 370 of 475

3/17/06

Confidential / Released

 

 

Page 370
Image 370
Siemens MC55 AT Atsxsm Extended SIM Access, Atsxsm=?, ATSXSM=command, fileID, P1, P2, P3, data, Sxsm sw1, sw2,response