Chapter 14 – SIM Toolkit
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
147
Values when CmdType=0 (Select an item from the main menu)
<Result>
1
Item selected by the user.
2
Help information required by user.
<Data>
Contains the item identifier of the item selected by the user.
Values when CmdType=1 (Confirm the display text clearing)
No values.
Values when CmdType=2 (Get Inkey
)
<Result>
0
Session ended by user.
1
Response given by the user.
2
Help information required by user.
<Data>
Contains the key pressed by the user.
Values when CmdType=3
(
Get Input
)
<Result>
0
Session ended by user.
1
Response given by the user.
2
Help information required by user.
<Data>
Contains the string of characters entered by the user.
Note:
For Inputs in UCS2 format, the data are entered in ASCII format. Example: For
“8000410042FFFF” entered, the SIM receives 0x00 0x41 0x00 0x42 with UCS2 DCS. (See the
Appendix G about the different UCS2 syntaxes).
Values when CmdType=4
(
Setup call)
<Result>
0
User refuses the call.
1
User accepts call.
Values when CmdType=6
(
Select Item)
<Result>
0
Session terminated by the user
1
Item selected by the user
2
Help information required by the user
3
Return to the back item
<Data>
Contains the item identifier selected by the user
Values when CmdType=11
(
Setup Event List
)
<Result>
1
Idle screen available.
2
User activity event.
Sending a Terminal Response to the SIM:
Values when CmdType=95 (
Backward Move
)
Values when CmdType=96 (
Command beyond ME capabilities
)
Values when CmdType=97 (
ME currently unable to process command
)
Values when CmdType=98 (
No response from the user
)
Values when CmdType=99 (
SIM Toolkit Session aborting by the user
)
No values.
It is possible to send a Terminal Response after the
+STIN
indication (step 2, of
Messages exchanged during a SIM
Toolkit operation
), or after the
+STGI
command (step 3).
Note:
For the SETUP MENU Proactive Command, it is only possible to send a Terminal Response
after the
+STIN:
0
indication, not after a
+STGI=0
request. All of the Terminal Responses are not possible with all of the
Proactive Commands. Compatibility between available Terminal Responses and Proactive Commands is
given in Appendix D, Table 2. If a Terminal Response is attempted during a incompatible Proactive Command
session, a
+CME ERROR: 3
will be returned.
Possible error codes
+CME ERROR: 3
Operation not allowed
. This error is returned when a wrong parameter is detected.
+CME ERROR: 4
Operation not supported
. This error is returned when the user gives a response with
SIM Toolkit functionality not activated. Or if the SIM Toolkit indication
(+STIN)
has not
been received.