> 2.17.1 | Intialization of RSA

> This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropriate buttons on the toolbar.

> 2.17.1.1 | Description

> This chapter describes the initialization of Remote SIM Access (RSA). The following AT commands might be of interest when using the RSA feature:

> • | The AT+CMEE command chooses the format of result codes for mobile equipment errors. By factory default (AT+CMEE=0), simply “ERROR” will be returned. For better error detection, we recommend to select either the numeric format (AT+CMEE=1) or the extended text format (AT+CMEE=2). For further details see Section 2.2.2 or [2].

> • | The AT^SCKS command is used to check the current status of the SIM (local or remote).

> • | The AT^SM20 command specifies two call setup response modes, i.e. two different modes of responses returned when dialing voice call numbers with ATD. AT^SM20=1 (factory default) causes the ME to respond once the call setup is completed either successfully (“OK”) or unsuccessfully (“NO CARRIER”, “NO DIAL TONE”, “BUSY”). AT^SM20=0 causes the ME to return “OK” immediately after dialing was completed (i.e. before call setup terminates successfully or unsuccessfully).

> • | The AT^SSET command controlls the “^SSIM READY” URC indicating that the SIM data reading process (e.g. reading the SIM phonebook) has been completed. You may watch the reading of the SIM phonebook by sending the “AT^SIND=adnread,1” command. After sending this command every read SIM phonebook entry will be reported as an URC.

> 2.17.1.2 | Used AT commands

> Command | Explanation
> AT+CMEE | Report Mobile Equipment Error
> AT^SCKS | Set SIM connection presentation mode
> AT^SM20 | Set M20 Compatibility
> AT^SSET | Indicate SIM data ready

> For further details about the commands see [2].

> 2.17.1.3 | Flow chart

> Figure 166: RSA initialization

> 2.17.1.4 | Hints

> • | Note, that all RSA URC’s will be displayed on all active serial channels.

> 2.17.1.5 | Example

> ***************************************
> Comment: Remote SIM Access Initialization
> ***************************************
> ***************************************
> Comment: Query SIM PIN status (valid Mux 1 and Mux 2).
> ***************************************
> Subscr 3 Send: AT+CPIN?
> Subscr 3 Receive: AT+CPIN?
> Subscr 3 Receive: +CPIN: READY
> Subscr 3 Receive:
> Subscr 3 Receive: OK
> ***************************************
> Comment: Initialization of Mux 1.
> Comment: Switch on network registration URC.
> ***************************************
> Subscr 3 Send: AT+CREG=1
> Subscr 3 Receive: AT+CREG=1
> Subscr 3 Receive: OK
> ***************************************
> Comment: Mobile equipment errors in text format URC.
> ***************************************
> Subscr 3 Send: AT+CMEE=2
> Subscr 3 Receive: AT+CMEE=2
> Subscr 3 Receive: OK
> ***************************************
> Comment: Switch on SIM data ready URC.
> ***************************************
> Subscr 3 Send: AT^SSET=1
> Subscr 3 Receive: AT^SSET=1
> Subscr 3 Receive: OK
> ***************************************
> Comment: Switch on SIM status URC.
> ***************************************
> Subscr 3 Send: AT^SCKS=1
> Subscr 3 Receive: AT^SCKS=1
> Subscr 3 Receive: OK
> ***************************************
> Comment: Return after attempting a call via ATD.
> ***************************************
> Subscr 3 Send: AT^SM20=0
> Subscr 3 Receive: AT^SM20=0
> Subscr 3 Receive: OK
> ***************************************
> Comment: Initialization of Mux 2.
> Comment: Switch on network registration URC.
> ***************************************
> Subscr 4 Send: AT+CREG=1
> Subscr 4 Receive: AT+CREG=1
> Subscr 4 Receive: OK
> ***************************************
> Comment: Mobile equipment errors in text format URC.
> ***************************************
> Subscr 4 Send: AT+CMEE=2
> Subscr 4 Receive: AT+CMEE=2
> Subscr 4 Receive: OK
> ***************************************
> Comment: Switch on SIM data ready URC.
> ***************************************
> Subscr 4 Send: AT^SSET=1
> Subscr 4 Receive: AT^SSET=1
> Subscr 4 Receive: OK
> ***************************************
> Comment: Switch on SIM status URC.
> ***************************************
> Subscr 4 Send: AT^SCKS=1
> Subscr 4 Receive: AT^SCKS=1
> Subscr 4 Receive: OK
> ***************************************
> Comment: Return after attempting a call via ATD.
> ***************************************
> Subscr 4 Send: AT^SM20=0
> Subscr 4 Receive: AT^SM20=0
> Subscr 4 Receive: OK