Specifications

Chapter 13 – SIM-Related Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 240
13.3 AT^SATR Query SIM's Answer to Reset Data
Description: AT+CSIM allows direct control of the SIM.
AT^SATR queries the Answer to Reset (ATR) data of the current SIM ISO/IEC 7816-3. The
response to the execute command is a data string of max. 33 bytes sent from the SIM card to the
module, containing information about the SIM and the used data transmission protocols. For ATR
coding please refer to GSM 11.11.
Syntax: Test Command: AT^SATR=?
Responses: OK
Exec Command: AT^SATR
Responses: ^SATR: <response>
OK
ERROR
+CME ERROR: <err>
Parameter:
<response>
Answer to Reset (ATR) data of current SIM.
Notes:
This command is not PIN protected.
This command is supported in airplane mode.
13.4 AT^SXSM Extended SIM Access
Description: AT^SXSM extends AT+CRSM with additional SIM commands.
All parameters of AT^SXSM are used as specified by GSM 11.11. The Multi-Tech wireless
modem handles internally all required SIM interface locking and file selection routines.
The Multi-Tech wireless modem 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.
Syntax: Test Command: AT^SXSM=?
Response: OK
Write Command: AT^SXSM=<command>[, <fileID>[, <P1>, <P2>, <P3>[, <data>]]]
Response: ^SXSM: <sw1>, <sw2>[,<response>]
OK
ERROR
+CME ERROR: <err>
Parameters:
<command>
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 subscriber authentication key Ki, which is stored in the SIM.
<fileID>
Identifier for an elementary data file on SIM, if used by <command>.
<P1>, <P2>, <P3>
Parameters to be passed on by the Multi-Tech wireless modem to the SIM.
<data>
If <command>=136 (RUN GSM ALGORITHM):
16 byte random number.
<sw1>, <sw2>
Status information from the SIM about the execution of the actual command. It is returned in both cases, on
successful or failed execution of the command.
0...255
<response>
Response in case of a successful completion of the previously issued SIM command.
If <command>=136 (RUN GSM ALGORITHM):
The device returns SRES and cipher key Kc as calculated by the SIM.
Byte(s) Description Length
1 - 4 SRES - Signed Response 4
5 - 12 Kc - Cipher Key 8