
Chapter 14 – SIM ToolKit
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
96
Example:
Initially, all facilities are activated, the PIN is not required and SIM toolkit functionality is activated.
AT+CMEE=1
Enable the reporting of mobile equipment errors
OK
AT+WIND=15
Set indications
OK
AT+STSF?
+STSF: 1,”5FFFFFFF7F”,3
SIM ToolKit functionality activated with all facilities.
OK
+STIN: 0
The main menu has been sent from the SIM.
AT+STIN?
+STIN: 0
OK
AT+STGI=0
Get information about the main menu
+STGI: “SIM TOOLKIT MAIN MENU”
Main menu contains 3 items.
+STGI: 1,3,”BANK”,0
+STGI: 2,3,”QUIZ”,0
+STGI: 3,3,”WEATHER”,0
OK
AT+STIN?
+CME ERROR: 4
Unsolicited Result: SIM ToolKit Control Response
+STCR)
Description:
When the customer application makes an outgoing voice or SMS call when the call control facility is
activated, CALL CONTROL and SMS CONTROL responses can be identified. This is also applicable to SS
calls.
Response syntax:
+STCR: <Result>[,<Number>,<MODestAddr>,<TextInfo>]
<Result>
0
Control response not allowed
1
Control response with modification
<Number>
Called number, Service Center Address or SS String in ASCII format
<MODestAddr>
MO destination address in ASCII format
<TextInfo>
Text information in ASCII format
SIM ToolKit Give Response +STGR
Description:
This command allows the application/user to select an item in the main menu or to answer the following
proactive commands:
GET INKEY
Key pressed by the user.
GET INPUT
Message entered by the user.
SELECT ITEM
Selected item.
SETUP CALL
User confirmation.
DISPLAY TEXT
User confirmation to clear the message.
It is also possible to terminate the current proactive command session by sending a Terminal Response to
the SIM with the following parameters:
BACKWARD MOVE
Process a backward move
BEYOND CAPABILITIES
Command beyond ME capabilities
UNABLE TO PROCESS
ME is currently unable to process command
NO RESPONSE
No response from the user
END SESSION
User abort.