Specifications

Chapter 14 – SIM-Related Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 196
14.3 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 modem or may be saved in the user
profile (AT&W).
Test Command Syntax: AT^SCKS=?
Response: ^SCKS:(list of supported <mode>s)
OK
Read Command Syntax: AT^SCKS?
Response: ^SCKS: <mode>, <SimStatus>
OK
ERROR
+CME ERROR: <err>
Write Command Style: AT^SCKS=<mode>
Response: OK
ERROR
+CME ERROR: <err>
Parameter Descriptions:
<mode>
0 Suppress unsolicited result codes. Default.
1 Output unsolicited result codes
<SimStatus>
0 Card holder tray removed or SIM connection error
1 SIM inserted(refer to note)
Unsolicited Result Code:
^SCKS: <SimStatus> During startup, and if the Multi-Tech wireless modem’s SIM connection status has
changed an unsolicited result code (URC) is issued.
Notes:
<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.
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 module; e.g., with “AT+CFUN= n,1”
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