13.4 AT^SCKS Query SIM and Chip Card Holder Status
Description:
Test Command Syntax:
Response:
Read Command Syntax:
Response:
Write Command Style:
Response:
Parameter Descriptions:
<mode>
0
1
<SimStatus>
0
1
2
Unsolicited Result Code:
^SCKS: <SimStatus>
Note:
Example:
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
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 query can be used for the locally attached and remote SIM's as well. For details
regarding Remote SIM Access refer to AT^SRSA.
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).
AT^SCKS=?
^SCKS:(list of supported <mode>s)
OK
AT^SCKS?
^SCKS: <mode>, <SimStatus>
OK
ERROR
+CME ERROR: <err>
AT^SCKS=<mode>
OK
ERROR
+CME ERROR: <err>
Suppress unsolicited result codes. Default.
Output unsolicited result codes
Card holder tray removed or SIM connection error
SIM inserted(refer to note)
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".
If the Remote SIM Access feature is activated (refer to AT^SRSA) and a SIM card error
occurs while accessing the remote SIM, the MC75 switches to its local SIM, if any. If the
SIM card error occurs while local SIM access, use of the remote SIM is still possible.
During startup, and if the Multi-Tech wireless modem's SIM connection status has
changed an unsolicited result code (URC) is issued.
<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.
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
Chapter 13 – SIM-Related Commands
222
Need help?
Do you have a question about the MultiModem EDGE and is the answer not in the manual?