
Chapter 14 – SIM ToolKit
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
91
SIM ToolKit Set Facilities +STSF
Description:
This command allows SIM ToolKit facilities to be activated, deactivated or configured.
Values:
<mode>
0
Deactivates the SIM Toolkit functionalities.
1
Activates the SIM Toolkit functionalities.
2
Configures the SIM Toolkit functionalities.
The
activation or deactivation
of the SIM Toolkit functionalities requires the use of the +CFUN (Set
phone functionality) command to reset the product. +CFUN is not necessary if PIN is not entered yet.
<Config>
(160060C01F . 5FFFFFFF7F) (hex format)
The
<Config>
parameter gives the coding of the TERMINAL PROFILE, precisely the list of SIM
Application Toolkit facilities that are supported by the customer application.
<Timeout>
1-255
: Timeout for user responses (multiple of 10 seconds).
The
<Timeout>
parameter (multiple of 10 seconds) sets the maximum time the user has for reacting (to
select an item, to input a text, etc).
<Autoresponse>
0
Automatic response is not activated
1
Automatic response is activated
When the
<Autoresponse>
is activated, the +STIN indication for Play Tone (5), Refresh (7), Send SS (8),
Send SMS (9) or Send USSD (10) is automatically followed by the correspSTGI response.
Note:
Some bits are related to the product only and not to the customer application. The product automatically sets
these bits to either 0 or 1 whatever the user enters with the +STSF command. Each facility is coded on 1 bit:
•
.bit = 1: facility is supported by the customer application.
•
.bit = 0: facility is not supported by the customer application.
Only the first five bytes of the TERMINAL PROFILE (Class 2) can be configured; the other are set to 0.
Syntax:
Command syntax:
AT+STSF=<mode>[,<config>][,<Timeout>][,<AutoResponse>]
Command
Possible Responses
AT+STSF=<Mode>[,<Config>][,<Timeout>][,<AutoResponse>] OK
+CME ERROR: <err>
AT+STSF?
+STSF:
<Mode>,<Config>,<Timeout>,<Autoresponse>
Error Codes:
+CME ERROR: 3 Operation not allowed. This error is returned when a wrong parameter is entered.
Example:
AT+CMEE=1
Enable the reporting of mobile equipment errors
OK
AT+WIND=15 Set
indications
OK
AT+CPAS
Query ME Status
+CPAS: 0
ME is ready.
OK
AT+STSF=?
Test command SIM ToolKit Set Facilities
+STSF: (0-2), (160060C01F . 5FFFFFFF7F),(1-255)
OK
AT+STSF?
+STSF: 0,”160060C000”,3
No activation of SIM ToolKit functionality
OK
AT+STSF=2,”5FFFFFFF7F”
Set all SIM ToolKit facilities (class 3).
OK
AT+STSF=3
Syntax Error
+CME ERROR: 3
AT+STSF=1
Activation of SIM ToolKit functionality
OK
AT+CFUN=1 Reboot
Software.
OK
AT+CPIN?
Is the ME requiring a password?
+CPIN: SIM PIN
Yes, SIM PIN required
AT+CPIN=0000
OK PIN Ok
+WIND: 4
Init phase is complete
AT+STSF?
+STSF: 1,”5FFFFFFF7F”,3
SIM ToolKit functionality activated with all facilities
OK