telephonyserver/etelsimtoolkit/inc/secure/Satcs.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #if !defined(__SATCS_H__)
       
    17 #define __SATCS_H__
       
    18 
       
    19 /**
       
    20 @file
       
    21 
       
    22 ETel SAT - Client-Server IPC request definition
       
    23 
       
    24 This version of the file contains the reordered version of the IPC table for the purpose
       
    25 of having a more efficient policy table as part of the platform security framework.
       
    26 Previously IPCs were ordered by functional area and now they are ordered by the capability
       
    27 associated with them.
       
    28 */
       
    29 
       
    30 #include <et_clsvr.h>
       
    31 
       
    32 /**
       
    33 @publishedPartner
       
    34 @released
       
    35 */
       
    36 #define IPC_SAT_EXT (60000)
       
    37 /**
       
    38 @publishedPartner
       
    39 @released
       
    40 */
       
    41 #define EEtelSatIpcOffset0 (IPC_SAT_EXT)
       
    42 #define EEtelSatIpcOffset1 (IPC_SAT_EXT + 1000)
       
    43 #define EEtelSatIpcOffset2 (IPC_SAT_EXT + 2000)
       
    44 #define EEtelSatIpcOffset3 (IPC_SAT_EXT + 3000)
       
    45 #define EEtelSatIpcOffset4 (IPC_SAT_EXT + 4000)
       
    46 #define EEtelSatIpcOffset5 (IPC_SAT_EXT + 5000)
       
    47 #define EEtelSatIpcOffset6 (IPC_SAT_EXT + 6000)
       
    48 
       
    49 
       
    50 /**
       
    51 @publishedPartner
       
    52 @released
       
    53 */
       
    54 //
       
    55 // None
       
    56 //
       
    57 enum
       
    58 	{
       
    59 	ESatGetClut = EEtelSatIpcOffset0,                            // 60000
       
    60 	ESatGetIcon,                                                 // 60001
       
    61 	ESatGetImageInstance,                                        // 60002
       
    62 	ESatGetMeSideSatProfile,                                     // 60003
       
    63 	ESatNotifyCloseChannelPCmd,                                  // 60004
       
    64 	ESatNotifyGetChannelStatusPCmd,                              // 60005
       
    65 	ESatNotifyGetInkeyPCmd,                                      // 60006
       
    66 	ESatNotifyGetInputPCmd,                                      // 60007
       
    67 	ESatNotifyGetReaderStatusPCmd,                               // 60008
       
    68 	ESatNotifyLanguageNotificationPCmd,                          // 60009
       
    69 	ESatNotifyPlayTonePCmd,                                      // 60010
       
    70 	ESatNotifyPollingIntervalPCmd,                               // 60011
       
    71 	ESatNotifyPollingOffPCmd,                                    // 60012
       
    72 	ESatNotifyPowerOffCardPCmd,                                  // 60013
       
    73 	ESatNotifyPowerOnCardPCmd,                                   // 60014
       
    74 	ESatNotifyProactiveSimSessionEnd,                            // 60015
       
    75 	ESatNotifyProactiveSimSessionStart,                          // 60016
       
    76 	ESatNotifyReceiveDataPCmd,                                   // 60017
       
    77 	ESatNotifyRefreshPCmd,                                       // 60018
       
    78 	ESatNotifyRefreshRequired,                                   // 60019
       
    79 	ESatNotifySelectItemPCmd,                                    // 60020
       
    80 	ESatNotifySetUpEventListPCmd,                                // 60021
       
    81 	ESatNotifySetUpMenuPCmd,                                     // 60022
       
    82 	ESatNotifyTimerExpiration,                                   // 60023
       
    83 	ESatNotifyTimerMgmtPCmd,                                     // 60024
       
    84 	ESatNotifyTsyStateUpdated,                                   // 60025
       
    85 	ESatNotifyRefreshRequiredParam,                              // 60026
       
    86 	ESatNotifyGetFramesStatusPCmd								 // 60027
       
    87 	};
       
    88 
       
    89 enum
       
    90 	{
       
    91 	ESatGetClutCancel = ESatGetClut + EMobileCancelOffset,                                                                                     // 60500
       
    92 	ESatGetIconCancel = ESatGetIcon + EMobileCancelOffset,                                                                                     // 60501
       
    93 	ESatGetImageInstanceCancel = ESatGetImageInstance + EMobileCancelOffset,                                                                   // 60502
       
    94 	ESatGetMeSideSatProfileCancel = ESatGetMeSideSatProfile + EMobileCancelOffset,                                                             // 60503
       
    95 	ESatNotifyCloseChannelPCmdCancel = ESatNotifyCloseChannelPCmd + EMobileCancelOffset,                                                       // 60504
       
    96 	ESatNotifyGetChannelStatusPCmdCancel = ESatNotifyGetChannelStatusPCmd + EMobileCancelOffset,                                               // 60505
       
    97 	ESatNotifyGetInkeyPCmdCancel = ESatNotifyGetInkeyPCmd + EMobileCancelOffset,                                                               // 60506
       
    98 	ESatNotifyGetInputPCmdCancel = ESatNotifyGetInputPCmd + EMobileCancelOffset,                                                               // 60507
       
    99 	ESatNotifyGetReaderStatusPCmdCancel = ESatNotifyGetReaderStatusPCmd + EMobileCancelOffset,                                                 // 60508
       
   100 	ESatNotifyLanguageNotificationPCmdCancel = ESatNotifyLanguageNotificationPCmd + EMobileCancelOffset,                                       // 60509
       
   101 	ESatNotifyPlayTonePCmdCancel = ESatNotifyPlayTonePCmd + EMobileCancelOffset,                                                               // 60510
       
   102 	ESatNotifyPollingIntervalPCmdCancel = ESatNotifyPollingIntervalPCmd + EMobileCancelOffset,                                                 // 60511
       
   103 	ESatNotifyPollingOffPCmdCancel = ESatNotifyPollingOffPCmd + EMobileCancelOffset,                                                           // 60512
       
   104 	ESatNotifyPowerOffCardPCmdCancel = ESatNotifyPowerOffCardPCmd + EMobileCancelOffset,                                                       // 60513
       
   105 	ESatNotifyPowerOnCardPCmdCancel = ESatNotifyPowerOnCardPCmd + EMobileCancelOffset,                                                         // 60514
       
   106 	ESatNotifyProactiveSimSessionEndCancel = ESatNotifyProactiveSimSessionEnd + EMobileCancelOffset,                                           // 60515
       
   107 	ESatNotifyProactiveSimSessionStartCancel = ESatNotifyProactiveSimSessionStart + EMobileCancelOffset,                                       // 60516
       
   108 	ESatNotifyReceiveDataPCmdCancel = ESatNotifyReceiveDataPCmd + EMobileCancelOffset,                                                         // 60517
       
   109 	ESatNotifyRefreshPCmdCancel = ESatNotifyRefreshPCmd + EMobileCancelOffset,                                                                 // 60518
       
   110 	ESatNotifyRefreshRequiredCancel = ESatNotifyRefreshRequired + EMobileCancelOffset,                                                         // 60519
       
   111 	ESatNotifySelectItemPCmdCancel = ESatNotifySelectItemPCmd + EMobileCancelOffset,                                                           // 60520
       
   112 	ESatNotifySetUpEventListPCmdCancel = ESatNotifySetUpEventListPCmd + EMobileCancelOffset,                                                   // 60521
       
   113 	ESatNotifySetUpMenuPCmdCancel = ESatNotifySetUpMenuPCmd + EMobileCancelOffset,                                                             // 60522
       
   114 	ESatNotifyTimerExpirationCancel = ESatNotifyTimerExpiration + EMobileCancelOffset,                                                         // 60523
       
   115 	ESatNotifyTimerMgmtPCmdCancel = ESatNotifyTimerMgmtPCmd + EMobileCancelOffset,                                                             // 60524
       
   116 	ESatNotifyTsyStateUpdatedCancel = ESatNotifyTsyStateUpdated + EMobileCancelOffset,                                                         // 60525
       
   117 	ESatNotifyRefreshRequiredParamCancel = ESatNotifyRefreshRequiredParam + EMobileCancelOffset,                                               // 60526
       
   118 	ESatNotifyGetFramesStatusPCmdCancel = ESatNotifyGetFramesStatusPCmd + EMobileCancelOffset
       
   119 	};
       
   120 
       
   121 //
       
   122 // ReadDeviceData
       
   123 //
       
   124 enum
       
   125 	{
       
   126 	ESatGetProvisioningRefFile = EEtelSatIpcOffset1,             // 61000
       
   127 	ESatNotifyDeclareServicePCmd,                                // 61001
       
   128 	ESatNotifyDisplayTextPCmd,                                   // 61002
       
   129 	ESatNotifyGetServiceInfoPCmd,                                // 61003
       
   130 	ESatNotifyLaunchBrowserPCmd,                                 // 61004
       
   131 	ESatNotifyLocalInfoPCmd,                                     // 61005
       
   132 	ESatNotifyOpenChannelPCmd,                                   // 61006
       
   133 	ESatNotifyPerformCardApduPCmd,                               // 61007
       
   134 	ESatNotifyRunAtCommandPCmd,                                  // 61008
       
   135 	ESatNotifySendDataPCmd,                                      // 61009
       
   136 	ESatNotifySendDtmfPCmd,                                      // 61010
       
   137 	ESatNotifySendSmPCmd,                                        // 61011
       
   138 	ESatNotifySendSsPCmd,                                        // 61012
       
   139 	ESatNotifySendUssdPCmd,                                      // 61013
       
   140 	ESatNotifyServiceSearchPCmd,                                 // 61014
       
   141 	ESatNotifySetUpCallPCmd,                                     // 61015
       
   142 	ESatNotifySetUpIdleModeTextPCmd,                             // 61016
       
   143 	ESatGetOpenChannelPCmd,										 // 61017
       
   144 	ESatNotifyRetrieveMultimediaMsgPCmd,					 // 61018
       
   145 	ESatNotifySubmitMultimediaMsgPCmd,						 // 61019
       
   146 	ESatNotifyDisplayMultimediaMsgPCmd,						 // 61020
       
   147 	ESatNotifySetFramesPCmd										 // 61021
       
   148 	};
       
   149 
       
   150 enum
       
   151 	{
       
   152 	ESatGetProvisioningRefFileCancel = ESatGetProvisioningRefFile + EMobileCancelOffset,                                                       // 61500
       
   153 	ESatNotifyDeclareServicePCmdCancel = ESatNotifyDeclareServicePCmd + EMobileCancelOffset,                                                   // 61501
       
   154 	ESatNotifyDisplayTextPCmdCancel = ESatNotifyDisplayTextPCmd + EMobileCancelOffset,                                                         // 61502
       
   155 	ESatNotifyGetServiceInfoPCmdCancel = ESatNotifyGetServiceInfoPCmd + EMobileCancelOffset,                                                   // 61503
       
   156 	ESatNotifyLaunchBrowserPCmdCancel = ESatNotifyLaunchBrowserPCmd + EMobileCancelOffset,                                                     // 61504
       
   157 	ESatNotifyLocalInfoPCmdCancel = ESatNotifyLocalInfoPCmd + EMobileCancelOffset,                                                             // 61505
       
   158 	ESatNotifyOpenChannelPCmdCancel = ESatNotifyOpenChannelPCmd + EMobileCancelOffset,                                                         // 61506
       
   159 	ESatNotifyPerformCardApduPCmdCancel = ESatNotifyPerformCardApduPCmd + EMobileCancelOffset,                                                 // 61507
       
   160 	ESatNotifyRunAtCommandPCmdCancel = ESatNotifyRunAtCommandPCmd + EMobileCancelOffset,                                                       // 61508
       
   161 	ESatNotifySendDataPCmdCancel = ESatNotifySendDataPCmd + EMobileCancelOffset,                                                               // 61509
       
   162 	ESatNotifySendDtmfPCmdCancel = ESatNotifySendDtmfPCmd + EMobileCancelOffset,                                                               // 61510
       
   163 	ESatNotifySendSmPCmdCancel = ESatNotifySendSmPCmd + EMobileCancelOffset,                                                                   // 61511
       
   164 	ESatNotifySendSsPCmdCancel = ESatNotifySendSsPCmd + EMobileCancelOffset,                                                                   // 61512
       
   165 	ESatNotifySendUssdPCmdCancel = ESatNotifySendUssdPCmd + EMobileCancelOffset,                                                               // 61513
       
   166 	ESatNotifyServiceSearchPCmdCancel = ESatNotifyServiceSearchPCmd + EMobileCancelOffset,                                                     // 61514
       
   167 	ESatNotifySetUpCallPCmdCancel = ESatNotifySetUpCallPCmd + EMobileCancelOffset,                                                             // 61515
       
   168 	ESatNotifySetUpIdleModeTextPCmdCancel = ESatNotifySetUpIdleModeTextPCmd + EMobileCancelOffset,											   // 61516
       
   169 	ESatGetOpenChannelPCmdCancel = ESatGetOpenChannelPCmd + EMobileCancelOffset,                                                               // 61517
       
   170 	ESatNotifyRetrieveMultimediaMsgPCmdCancel = ESatNotifyRetrieveMultimediaMsgPCmd + EMobileCancelOffset,                                     // 61518
       
   171 	ESatNotifySubmitMultimediaMsgPCmdCancel = ESatNotifySubmitMultimediaMsgPCmd + EMobileCancelOffset,                                         // 61519
       
   172 	ESatNotifyDisplayMultimediaMsgPCmdCancel = ESatNotifyDisplayMultimediaMsgPCmd + EMobileCancelOffset,                                       // 61520
       
   173 	ESatNotifySetFramesPCmdCancel = ESatNotifySetFramesPCmd + EMobileCancelOffset                                                              // 61521
       
   174 	};
       
   175 
       
   176 //
       
   177 // WriteDeviceData
       
   178 //
       
   179 enum
       
   180 	{
       
   181 	ESatRefreshAllowed = EEtelSatIpcOffset2,                     // 62000
       
   182 	};
       
   183 
       
   184 enum
       
   185 	{
       
   186 	ESatRefreshAllowedCancel = ESatRefreshAllowed + EMobileCancelOffset                                                                        // 62500
       
   187 	};
       
   188 
       
   189 //
       
   190 // NetworkControl
       
   191 //
       
   192 enum
       
   193 	{
       
   194 	ESatTerminalRsp = EEtelSatIpcOffset3,                        // 63000
       
   195 	ESatUsatClientReadyIndication                                // 63001
       
   196 	};
       
   197 
       
   198 enum
       
   199 	{
       
   200 	ESatTerminalRspCancel = ESatTerminalRsp + EMobileCancelOffset                                                                              // 63500
       
   201 	};
       
   202 
       
   203 //
       
   204 // NetworkControl ReadDeviceData
       
   205 //
       
   206 enum
       
   207 	{
       
   208 	ESatMenuSelection = EEtelSatIpcOffset4,                      // 64000
       
   209 	ESatNotifyCallControlRequest,                                // 64001
       
   210 	ESatNotifyCbDownload,                                        // 64002
       
   211 	ESatNotifyMoSmControlRequest,                                // 64003
       
   212 	ESatNotifySmsPpDownload,                                     // 64004
       
   213 	};
       
   214 
       
   215 enum
       
   216 	{
       
   217 	ESatMenuSelectionCancel = ESatMenuSelection + EMobileCancelOffset,                                                                         // 64500
       
   218 	ESatNotifyCallControlRequestCancel = ESatNotifyCallControlRequest + EMobileCancelOffset,                                                   // 64501
       
   219 	ESatNotifyCbDownloadCancel = ESatNotifyCbDownload + EMobileCancelOffset,                                                                   // 64502
       
   220 	ESatNotifyMoSmControlRequestCancel = ESatNotifyMoSmControlRequest + EMobileCancelOffset,                                                   // 64503
       
   221 	ESatNotifySmsPpDownloadCancel = ESatNotifySmsPpDownload + EMobileCancelOffset                                                             // 64504
       
   222 	};
       
   223 
       
   224 //
       
   225 // NetworkControl WriteDeviceData
       
   226 //
       
   227 enum
       
   228 	{
       
   229 	ESatClientSatProfileIndication = EEtelSatIpcOffset5,          // 65000
       
   230 	ESatEventDownload,                                            // 65001
       
   231 	ESatMmsNotificationDownload,								  // 65002
       
   232 	ESatMmsTransferStatus,								          // 65003
       
   233 	ESatUssdDataDownload                                          // 65004
       
   234 	};
       
   235 
       
   236 enum
       
   237 	{
       
   238 	ESatEventDownloadCancel = ESatEventDownload + EMobileCancelOffset,                             // 65501
       
   239 	ESatMmsNotificationDownloadCancel = ESatMmsNotificationDownload + EMobileCancelOffset,         // 65502
       
   240 	ESatMmsTransferStatusCancel = ESatMmsTransferStatus + EMobileCancelOffset,                     // 65503
       
   241 	ESatUssdDataDownloadCancel = ESatUssdDataDownload + EMobileCancelOffset                        // 65504
       
   242 	};
       
   243 
       
   244 //
       
   245 // NetworkServices WriteDeviceData
       
   246 //
       
   247 enum
       
   248 	{
       
   249 	ESatSendMessageNoLogging = EEtelSatIpcOffset6,                            // 66000
       
   250 	};
       
   251 
       
   252 enum
       
   253 	{
       
   254 	ESatSendMessageNoLoggingCancel = ESatSendMessageNoLogging + EMobileCancelOffset                                                            // 66500
       
   255 	};
       
   256 
       
   257 #endif