summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-17 18:22:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-17 18:23:56 -0600
commit1da0ea3b1d3243a3bd28fce1331587d96c5c23cf (patch)
treed37d78633c14f04602619e55286377c8bfa60dd8
parent32a9931056dc80f8829025fc88821194995249b1 (diff)
downloadofono-1da0ea3b1d3243a3bd28fce1331587d96c5c23cf.tar.bz2
Add Sim Toolkit Envelope type enum
-rw-r--r--src/stkutil.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index c1e1b4ee..b3af450c 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -19,6 +19,21 @@
*
*/
+/*
+ * TS 101.220, Section 7.2, Card Application Toolkit assigned templates,
+ * These are the same as 3GPP 11.14 Sections 13.1 and 13.2
+ */
+enum stk_envelope_type {
+ STK_ENVELOPE_TYPE_SMS_PP_DOWNLOAD = 0xD1,
+ STK_ENVELOPE_TYPE_CBS_PP_DOWNLOAD = 0xD2,
+ STK_ENVELOPE_TYPE_MENU_SELECTION = 0xD3,
+ STK_ENVELOPE_TYPE_CALL_CONTROL = 0xD4,
+ STK_ENVELOPE_TYPE_MO_SMS_CONTROL = 0xD5,
+ STK_ENVELOPE_TYPE_EVENT_DOWNLOAD = 0xD6,
+ STK_ENVELOPE_TYPE_TIMER_EXPIRATION = 0xD7,
+ STK_ENVELOPE_TYPE_USSD_DOWNLOAD = 0xD9,
+};
+
/* TS 102.223 Section 9.4 */
enum stk_command_type {
STK_COMMAND_TYPE_REFRESH = 0x01,