From 32a9931056dc80f8829025fc88821194995249b1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 17 Feb 2010 18:22:04 -0600 Subject: [PATCH] Add Sim Toolkit Proactive Command enum --- src/stkutil.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/stkutil.h b/src/stkutil.h index 99ecca6..c1e1b4e 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -19,3 +19,47 @@ * */ +/* TS 102.223 Section 9.4 */ +enum stk_command_type { + STK_COMMAND_TYPE_REFRESH = 0x01, + STK_COMMAND_TYPE_POLL_INTERVAL = 0x02, + STK_COMMAND_TYPE_POLLING_OFF = 0x03, + STK_COMMAND_TYPE_SETUP_EVENT_LIST = 0x05, + STK_COMMAND_TYPE_SETUP_CALL = 0x10, + STK_COMMAND_TYPE_SEND_SS = 0x11, + STK_COMMAND_TYPE_SEND_USSD = 0x12, + STK_COMMAND_TYPE_SEND_SMS = 0x13, + STK_COMMAND_TYPE_SEND_DTMF = 0x14, + STK_COMMAND_TYPE_LAUNCH_BROWSER = 0x15, + STK_COMMAND_TYPE_GEOGRAPICAL_LOCATION_REQUEST = 0x16, + STK_COMMAND_TYPE_PLAY_TONE = 0x20, + STK_COMMAND_TYPE_DISPLAY_TEXT = 0x21, + STK_COMMAND_TYPE_GET_INKEY = 0x22, + STK_COMMAND_TYPE_GET_INPUT = 0x23, + STK_COMMAND_TYPE_SELECT_ITEM = 0x24, + STK_COMMAND_TYPE_SETUP_MENU = 0x25, + STK_COMMAND_TYPE_PROVIDE_LOCAL_INFORMATION = 0x26, + STK_COMMAND_TYPE_TIMER_MANAGEMENT = 0x27, + STK_COMMAND_TYPE_SETUP_IDLE_MODE_TEXT = 0x28, + STK_COMMAND_TYPE_PERFORM_CARD_APDU = 0x30, + STK_COMMAND_TYPE_POWER_ON_CARD = 0x31, + STK_COMMAND_TYPE_POWER_OFF_CARD = 0x32, + STK_COMMAND_TYPE_GET_READER_STATUS = 0x33, + STK_COMMAND_TYPE_RUN_AT_COMMAND = 0x34, + STK_COMMAND_TYPE_LANGUAGE_NOTIFICATION = 0x35, + STK_COMMAND_TYPE_OPEN_CHANNEL = 0x40, + STK_COMMAND_TYPE_CLOSE_CHANNEL = 0x41, + STK_COMMAND_TYPE_RECEIVE_DATA = 0x42, + STK_COMMAND_TYPE_SEND_DATA = 0x43, + STK_COMMAND_TYPE_GET_CHANNEL_STATUS = 0x44, + STK_COMMAND_TYPE_SERVICE_SEARCH = 0x45, + STK_COMMAND_TYPE_GET_SERVICE_INFORMATION = 0x46, + STK_COMMAND_TYPE_DECLARE_SERVICE = 0x47, + STK_COMMAND_TYPE_SET_FRAMES = 0x50, + STK_COMMAND_TYPE_GET_FRAMES_STATUS = 0x51, + STK_COMMAND_TYPE_RETRIEVE_MMS = 0x60, + STK_COMMAND_TYPE_SUBMIT_MMS = 0x61, + STK_COMMAND_TYPE_DISPLAY_MMS = 0x62, + STK_COMMAND_TYPE_ACTIVATE = 0x70, + STK_COMMAND_TYPE_END_SESSION = 0x81, +}; -- 2.7.4