Specifications
Rev. 8 May.12 Proprietary and Confidential 211
10
10: STK Commands
Introduction
This chapter describes commands used to configure host support for
STK features, monitor and respond to unsolicited proactive SIM
commands, and present STK option menus provided by the SIM.
These commands implement a subset of the functions defined in
3GPP TS 11.14.
STK interactions
The host STK support profile informs the SIM about the STK features
the host supports. This profile is downloaded to the SIM each time
the modem resets. At any time, the profile can be updated by using
AT!STKPD and then resetting the modem.
Processing unsolicited SIM commands
To process commands issued by the SIM:
1. Enable the AT interface for STK functionality—issue the
command
AT!CUSTOM=”STKUIEN”, 2.
2. Monitor the command prompt for unsolicited proactive SIM
commands:
· “AT!STKC: <cmdId>”—This is a command that requires a
response. See Table 10-2 on page 213 for supported
commands.
· “AT!STKN: <cmdId>, <data>”—This is a notification that does
not require a response. See Table 10-18 on page 240 and
Table 10-19 on page 241 for supported notifications.
3. If the unsolicited SIM command is “AT!STKC: <cmdId>, follow
the appropriate procedure below:
· If <cmdId> = “81” (End of proactive session), no response is
required.
· If <cmdId> = “25” (Set Up Menu):
i. Respond with
AT!STKGC=<cmdId> to retrieve the menu
structure.
ii. Respond with
AT!STKCR=25,0 to indicate success.
iii. Determine the menu item to select (for example, present
the menu to the user and get their input) and send it to
the SIM using
AT!STKMS=<item>.
iv. The SIM will take action on the selected item and will
send a new unsolicited command to the host for the next
operation to be performed.