Multi-Tech Systems GPRS (MTMMC-G) Benutzerhandbuch

Seite von 203
Chapter 14 – SIM Toolkit  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
142 
 
SIM Toolkit Indication   +STIN or +STRIL 
Unsolicited Result 
In order to allow the customer application to identify the pro-active command sent via SIM Toolkit, a mechanism of 
unsolicited SIM Toolkit indications (+STIN) is implemented. 
Syntax: AT+STIN: <CmdType> 
Option: 
<CmdType>   
0 
Indicates that a ‘Setup Menu’ pro-active command has been sent from the SIM. 
1 
Indicates that a ‘Display Text’ pro-active command has been sent from the SIM. 
2 
Indicates that a ‘Get Inkey’ pro-active command has been sent from the SIM. 
3 
Indicates that a ‘Get Input’ pro-active command has been sent from the SIM. 
4 
Indicates that a ‘Setup Call’ pro-active command has been sent from the SIM. 
5 
Indicates that a ‘Play Tone’ pro-active command has been sent from the SIM. (*) 
6 
Indicates that a ‘Sel Item’ pro-active command has been sent from the SIM. 
7 
Indicates that a ‘Refresh’ pro-active command has been sent from the SIM. (*) 
8 
Indicates that a ‘Send SS’ pro-active command has been sent from the SIM. (*) 
9 
Indicates that a ‘Send SMS’ pro-active command has been sent from the SIM. (*) 
10 
Indicates that a ‘Send USSD’ pro-active command has been sent from the SIM. (*) 
11 
Indicates that a ‘SETUP EVENT LIST’ pro-active command has been sent from the SIM. 
93 
An “SMS-PP Download” failed due to SIM BUSY 
94 
An “SMS-PP Download” failed due to SIM ERROR 
98 
Indicates the timeout when no response from user. 
99 
Indicates that a 
“End Session” has been sent from the SIM. 
(*) if the automatic response parameter is activated, this indication is followed by the corresponding +STGI 
response. 
Second SIM Toolkit Indication 
If the customer application needs to exchange a SIM Toolkit message directly with the SIM card, the second 
indication (+STRIL) gives the full command string provided by the SIM.  
Values:   
<CmdTreated>
 
The command must be treated by the application 
The is already treated by the modem
 
 
<Command string> string type: SIM command string in hexadecimal format. 
Syntax:  
+STRIL: <CmdTreated>,<Command string> 
 
Last SIM Toolkit Indication 
The last SIM Toolkit indication sent by the SIM can be requested by the 
AT+STIN? command. This command is 
only usable between the sending of the STIN indication by the SIM (Step 2, Messages exchanged during a SIM 
Toolkit operation
) and the response of the user with the +STGI command (Step 3). 
Syntax: Command syntax: AT+STIN? 
Command 
Possible responses
AT+STIN? 
Note: Ask for the last SIM Toolkit 
indication sent by the SIM 
 
+STIN: 0 
OK 
Note: the last SIM Toolkit indication was a Setup Menu 
AT+STGI=0 
Note: Display the SIM Toolkit application menu 
AT+STIN?  
Note: Ask for the last SIM Toolkit 
indication sent by the SIM 
+CME ERROR: 4 
Note: Operation not supported. The +STGI command has 
been already used