Specifications
Chapter 13 – SIM-Related Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 241
Example:
Use <command>=136 (RUN GSM ALGORITHM) to obtain SRES and cipher key Kc values as calculated by the SIM.
at^sxsm=136,,0,0,16,”0011223 Start SIM command “RUN GSM ALGORITHM” with 16 byte random number.
3445566778899AABBCCDDEEFF”
^SXSM: SRES (bytes 1-4) and Cypher Key Kc (bytes 5-12) values as returned by the
SIM.
144,0,00112233445566778899AA
BB
OK
Notes:
• This command is PIN protected.
• This command is supported in airplane mode.
13.5 AT^SCKS Query SIM and Chip Card Holder Status
Description: This command controls the SIM connection presentation mode and queries the connection status
of the SIM and the card holder tray of the Multi-Tech wireless modem.
The read command returns the URC presentation mode and the status of the SIM card
connection.
The write command enables or disables the presentation of URCs to report whether or not the
SIM card is connected.
If the ME is powered down or reset (AT+CFUN or AT^SMSO) the current presentation mode
setting <mode> will not be retained. Therefore the setting <mode>=1 needs to be restored after
power on the Multi-Tech wireless device or may be saved in the user profile (AT&W).
Syntax: Test Command: AT^SCKS=?
Response: ^SCKS:(list of supported <mode>s)
OK
Read Command: AT^SCKS?
Response: ^SCKS: <mode>, <SimStatus>
OK
ERROR
+CME ERROR: <err>
Write Command: AT^SCKS=<mode>
Response: OK
ERROR
Unsolicited Result Code:
^SCKS: <SimStatus> During startup, and if the Multi-Tech wireless device's SIM connection status
has changed an unsolicited result code (URC) is issued.
+CME ERROR: <err>
Parameters:
<mode> This parameter can be stored with AT&W and can be displayed with AT&V.
0 Suppress unsolicited result codes. Default. This is the factory default value and can be restored
to '0' with AT&F.
1 Output unsolicited result codes
<SimStatus>
0 Card holder tray removed or SIM connection error
1 SIM inserted (refer to note)
2 The SIM interface HW has been deactivated to prevent possible damage (e.g., if a SIM with
invalid or unsupported electrical specifications has been detected).
The SIM interface can be reactivated only with a restart of the device; e.g., "AT+CFUN=n,1".
Note: <SimStatus> reflects the status of the SIM and the cardholder tray. Therefore, if an empty
SIM card tray is inserted, two URCs will be presented, indicating status 1 followed by 0; i.e., a
SIM is inserted into the cardholder tray but no SIM connection could be established.
Example:
AT^SCKS=1 Activates the presentation of unsolicited result codes
OK
Now, after inserting an empty card tray, the following URCs appear:
^SCKS: 1 Tray connected
^SCKS: 0 No SIM card found
Notes:
• This command is not PIN protected.
• This command is supported in airplane mode.