Specifications
STK Commands
Rev. 8 May.12 Proprietary and Confidential 233
Get Inkey (<cmdId=22>)
<clear> Integer Clear message flag
• 0—Do not allow user to clear message
• 1—Allow user to clear message
<iconId> Integer Numeric tag of the icon to display (matches the index in
the SIM’s image file)
• 0—No icon
• 1..255—Icon tag
<dispMode> Integer Icon usage
• 0—Display icon only (replace any text string or
<alphaId>)
• 1—Display with <text> string
<response> Integer Response flag
• 0—Normal response expected
• 1—Immediate response expected
!STKCR parameters
<data> Not used
<result> Integer • 0—Message displayed OK
• 1—Terminate proactive session
• 2—Screen is busy
• 3—Backward move requested
• 4—No response from user
Table 10-11: Display text parameters (Continued)
Parameter Format Description
Table 10-12: Get Inkey parameters
Parameter Format Description
!STKGC <data> parameter—Format:
<dcs>, <text>, <response>, <helpInfo>, <iconId>, <dispMode>
<dcs> Integer Data coding scheme for <text>
• 0—7-bit GSM default alphabet (packed)
• 4—8-bit GSM default alphabet (unpacked)
• 8—UCS2 alphabet
<text> Hex string Text string in <dcs> format
<response> Integer Expected response character format
• 0—SMS default alphabet
• 1—Yes/No response only
• 2—Digits only (0–9, *, #, +)
• 3—UCS2 alphabet