telephonyserverplugins/simatktsy/exportinc/utility/bertlv_defs.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : BerTlv_defs.h
       
    16 * Part of     : Series 60 / utility
       
    17 * Based on 3GPP TS 11.14 V8.8.0 3GPP TS 11.14 V8.8.0 
       
    18 * Version     : 1.0
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #ifndef BERTLV_DEFS_H
       
    26 #define BERTLV_DEFS_H
       
    27 
       
    28 #include <etelsat.h>    // Symbian Etel Sat related types
       
    29 
       
    30 //  CONSTANTS 
       
    31 const TUint8 KTlvLengthStartPosition                            = 0x01;
       
    32 const TUint8 KTlvDataAreaStartPosition                          = 0x02;
       
    33 const TUint8 KTlvHeaderLength                                   = 0x02;
       
    34 const TUint8 KTwoByteLengthCoding                               = 0x81;
       
    35 const TUint8 KMccAndMncLength                                   = 0x03;
       
    36 const TUint8 KLocationAreaCodeLength                            = 0x02;
       
    37 const TUint8 KCApduLengthWithoutLc                              = 0x06;
       
    38 const TUint8 KCommonTlvHeaderLength                             = 0x02;
       
    39 const TUint8 KDefaultCommandNumber                              = 0x01;
       
    40 const TUint8 KDefaultGetInkeyCodingScheme                       = 0x04;
       
    41 const TUint8 KTagValueMask                                      = 0x7f;
       
    42 const TUint8 KTagCrMask                                         = 0x80;
       
    43 const TUint8 KMaxOneByteLength                                  = 0x7f;
       
    44 const TUint8 KReservedTonNpi1 									= 0x7F;
       
    45 const TUint8 KReservedTonNpi2 									= 0xF7;
       
    46 
       
    47 
       
    48 // In 242 octets, it is possible to pack (242x8)/7=277 characters.
       
    49 // See ref. 3GPP TS 23.038.
       
    50 const TInt16 KTextBufferMaxSize                                 = 277;
       
    51 const TUint8 KCommandQualifier                                  = 4;
       
    52 const TUint8 KTlvMaxSize                                        = 255;
       
    53 
       
    54 // Proactive SIM commands
       
    55 const TUint8 KRefresh                                           = 0x01;
       
    56 const TUint8 KMoreTime                                          = 0x02;
       
    57 const TUint8 KPollInterval                                      = 0x03;
       
    58 const TUint8 KPollingOff                                        = 0x04;
       
    59 const TUint8 KSetUpEventList                                    = 0x05;
       
    60 const TUint8 KSetUpCall                                         = 0x10;
       
    61 const TUint8 KSendSs                                            = 0x11;
       
    62 const TUint8 KSendUssd                                          = 0x12;
       
    63 const TUint8 KSendShortMessage                                  = 0x13;
       
    64 const TUint8 KSendDtmf                                          = 0x14;
       
    65 const TUint8 KLaunchBrowser                                     = 0x15;
       
    66 const TUint8 KPlayTone                                          = 0x20;
       
    67 const TUint8 KDisplayText                                       = 0x21;
       
    68 const TUint8 KGetInkey                                          = 0x22;
       
    69 const TUint8 KGetInput                                          = 0x23;
       
    70 const TUint8 KSelectItem                                        = 0x24;
       
    71 const TUint8 KSetUpMenu                                         = 0x25;
       
    72 const TUint8 KProvideLocalInformation                           = 0x26;
       
    73 const TUint8 KTimerManagement                                   = 0x27;
       
    74 const TUint8 KSetUpIdleModeText                                 = 0x28;
       
    75 const TUint8 KPerformCardApdu                                   = 0x30;
       
    76 const TUint8 KPowerOnCard                                       = 0x31;
       
    77 const TUint8 KPowerOffCard                                      = 0x32;
       
    78 const TUint8 KGetReaderStatus                                   = 0x33;
       
    79 const TUint8 KRunAtCommand                                      = 0x34;
       
    80 const TUint8 KLanguageNotification                              = 0x35;
       
    81 const TUint8 KOpenChannel                                       = 0x40;
       
    82 const TUint8 KCloseChannel                                      = 0x41;
       
    83 const TUint8 KReceiveData                                       = 0x42;
       
    84 const TUint8 KSendData                                          = 0x43;
       
    85 const TUint8 KGetChannelStatus                                  = 0x44;
       
    86 const TUint8 KEndOfTheProactiveSession                          = 0x81;
       
    87 
       
    88 
       
    89 // TAG Values
       
    90 // BER-TLV tags in ME to SIM direction
       
    91 const TUint8 KBerTlvSmsPpDownloadTag                            = 0xD1;
       
    92 const TUint8 KBerTlvCellBroadcastTag                            = 0xD2;
       
    93 const TUint8 KBerTlvMenuSelectionTag                            = 0xD3;
       
    94 const TUint8 KBerTlvCallControlTag                              = 0xD4;
       
    95 const TUint8 KBerTlvMoShortMessageControlTag                    = 0xD5;
       
    96 const TUint8 KBerTlvEventDownloadTag                            = 0xD6;
       
    97 const TUint8 KBerTlvTimerExpirationTag                          = 0xD7;
       
    98 
       
    99 // BER-TLV tags in SIM to ME direction
       
   100 const TUint8 KBerTlvProactiveSimCommandTag                      = 0xD0;
       
   101 
       
   102 // SIMPLE-TLV tags in both directions
       
   103 // TLV tags, Tag value, bits 1-7 (Range: '01' - '7E')
       
   104 const TUint8 KTlvCommandDetailsTag                              = 0x01;
       
   105 const TUint8 KTlvDeviceIdentityTag                              = 0x02;
       
   106 const TUint8 KTlvResultTag                                      = 0x03;
       
   107 const TUint8 KTlvDurationTag                                    = 0x04;
       
   108 const TUint8 KTlvAlphaIdentifierTag                             = 0x05;
       
   109 const TUint8 KTlvAddressTag                                     = 0x06;
       
   110 const TUint8 KTlvCapabilityConfigurationParametersTag           = 0x07;
       
   111 const TUint8 KTlvSubaddressTag                                  = 0x08;
       
   112 const TUint8 KTlvSsStringTag                                    = 0x09;
       
   113 const TUint8 KTlvUssdStringTag                                  = 0x0A;
       
   114 const TUint8 KTlvSmsTpduTag                                     = 0x0B;
       
   115 const TUint8 KTlvCellBroadcastPageTag                           = 0x0C;
       
   116 const TUint8 KTlvTextStringTag                                  = 0x0D;
       
   117 const TUint8 KTlvToneTag                                        = 0x0E;
       
   118 const TUint8 KTlvItemTag                                        = 0x0F;
       
   119 const TUint8 KTlvItemIdentifierTag                              = 0x10;
       
   120 const TUint8 KTlvResponseLengthTag                              = 0x11;
       
   121 const TUint8 KTlvFileListTag                                    = 0x12;
       
   122 const TUint8 KTlvLocationInformationTag                         = 0x13;
       
   123 const TUint8 KTlvImeiTag                                        = 0x14;
       
   124 const TUint8 KTlvHelpRequestTag                                 = 0x15;
       
   125 const TUint8 KTlvNetworkMeasurementResultsTag                   = 0x16;
       
   126 const TUint8 KTlvDefaultTextTag                                 = 0x17;
       
   127 const TUint8 KTlvItemsNextActionIndicatorTag                    = 0x18;
       
   128 const TUint8 KTlvEventListTag                                   = 0x19;
       
   129 const TUint8 KTlvCauseTag                                       = 0x1A;
       
   130 const TUint8 KTlvLocationStatusTag                              = 0x1B;
       
   131 const TUint8 KTlvTransactionIdentifierTag                       = 0x1C;
       
   132 const TUint8 KTlvBccdChannelListTag                             = 0x1D;
       
   133 const TUint8 KTlvIconIdentifierTag                              = 0x1E;
       
   134 const TUint8 KTlvItemIconIdentifierListTag                      = 0x1F;
       
   135 const TUint8 KTlvCardReaderStatusTag                            = 0x20;
       
   136 const TUint8 KTlvCardAtrTag                                     = 0x21;
       
   137 const TUint8 KTlvCApduTag                                       = 0x22;
       
   138 const TUint8 KTlvRApduTag                                       = 0x23;
       
   139 const TUint8 KTlvTimerIdentifierTag                             = 0x24;
       
   140 const TUint8 KTlvTimerValueTag                                  = 0x25;
       
   141 const TUint8 KTlvDateTimeAndTimeZoneTag                         = 0x26;
       
   142 const TUint8 KTlvCallControlRequestedActionTag                  = 0x27;
       
   143 const TUint8 KTlvAtCommandTag                                   = 0x28;
       
   144 const TUint8 KTlvAtResponseTag                                  = 0x29;
       
   145 const TUint8 KTlvBcRepeatIndicatorTag                           = 0x2A;
       
   146 const TUint8 KTlvImmediateResponseTag                           = 0x2B;
       
   147 const TUint8 KTlvDtmfStringTag                                  = 0x2C;
       
   148 const TUint8 KTlvLanguageTag                                    = 0x2D;
       
   149 const TUint8 KTlvTimingAdvanceTag                               = 0x2E;
       
   150 const TUint8 KTlvAIDTag                                         = 0x2F;
       
   151 const TUint8 KTlvBrowserIdentityTag                             = 0x30;
       
   152 const TUint8 KTlvUrlTag                                         = 0x31;
       
   153 const TUint8 KTlvBearerTag                                      = 0x32;
       
   154 const TUint8 KTlvProvisioningReferenceFileTag                   = 0x33;
       
   155 const TUint8 KTlvBrowserTerminationCauseTag                     = 0x34;
       
   156 const TUint8 KTlvBearerDescriptionTag                           = 0x35;
       
   157 const TUint8 KTlvChannelDataTag                                 = 0x36;
       
   158 const TUint8 KTlvChannelDataLengthTag                           = 0x37;
       
   159 const TUint8 KTlvChannelStatusTag                               = 0x38;
       
   160 const TUint8 KTlvBufferSizeTag                                  = 0x39;
       
   161 const TUint8 KTlvCardReaderIdentifierTag                        = 0x3A;
       
   162 const TUint8 KTlvTextStringTagUserPassword                      = 0x3B;
       
   163 const TUint8 KTlvSimMeTransportLevelTag                         = 0x3C;
       
   164 const TUint8 KTlvURLTag                                         = 0x3D;
       
   165 const TUint8 KTlvOtherAddressTag                                = 0x3E;
       
   166 const TUint8 KTlvAccessTechnologyTag                            = 0x3F;
       
   167 const TUint8 KTlvESNTag                                         = 0x46;
       
   168 const TUint8 KTlvNetworkAccessNameTag                           = 0x47;
       
   169 const TUint8 KTlvTimerIdentifierTagCRBitOn                      = 0xA4;
       
   170 
       
   171 // TLV Coding
       
   172 
       
   173 // Event download - Event list event coding
       
   174 const TUint8 KEventMTCall                                       = 0x00;
       
   175 const TUint8 KEventCallConnected                                = 0x01;
       
   176 const TUint8 KEventCallDisconnected                             = 0x02;
       
   177 const TUint8 KEventLocationStatus                               = 0x03;
       
   178 const TUint8 KEventUserActivity                                 = 0x04;
       
   179 const TUint8 KEventIdleScreenAvailable                          = 0x05;
       
   180 const TUint8 KEventCardReaderStatus                             = 0x06;
       
   181 const TUint8 KEventLanguageSelection                            = 0x07;
       
   182 const TUint8 KEventBrowserTermination                           = 0x08;
       
   183 const TUint8 KEventDataAvailable                                = 0x09;
       
   184 const TUint8 KEventChannelStatus                                = 0x0A;
       
   185 const TUint8 KEventAccessTechnologyChange                       = 0x0B;
       
   186 
       
   187 // Event download - Location status coding
       
   188 const TUint8 KLocationStatusNormalService                       = 0x00;
       
   189 const TUint8 KLocationStatusLimitedService                      = 0x01;
       
   190 const TUint8 KLocationStatusNoService                           = 0x02;
       
   191 
       
   192 // Event download - Browser termination coding
       
   193 const TUint8 KBrowserTerminationUser                            = 0x00;
       
   194 const TUint8 KBrowserTerminationError                           = 0x01;
       
   195 
       
   196 // REFRESH;
       
   197 const TUint8 KSimInitFullFileChangeNotification                 = 0x00;
       
   198 const TUint8 KFileChangeNotification                            = 0x01;
       
   199 const TUint8 KSimInitFileChangeNotification                     = 0x02;
       
   200 const TUint8 KSimInit                                           = 0x03;
       
   201 const TUint8 KSimReset                                          = 0x04;
       
   202 const TUint8 KUSIMApplicationReset                              = 0x05;
       
   203 const TUint8 K3GSessionReset                                    = 0x06;
       
   204 const TUint8 KMaxPathLength                                     = 16;
       
   205 
       
   206 // SET UP CALL;
       
   207 const TUint8 KSetUpCallIfNotCurrentlyBusy                       = 0x00;
       
   208 const TUint8 KSetUpCallIfNotCurrentlyBusyWithRedial             = 0x01;
       
   209 const TUint8 KSetUpCallPuttingOtherCallsOnHold                  = 0x02;
       
   210 const TUint8 KSetUpCallPuttingOtherCallsOnHoldWithRedial        = 0x03;
       
   211 const TUint8 KSetUpCallDisconnectingOtherCalls                  = 0x04;
       
   212 const TUint8 KSetUpCallDisconnectingOtherCallsWithRedial        = 0x05;
       
   213 const TUint8 KAuthorityFormatIdentifier                         = 0x50;
       
   214 const TUint8 KMinutes                                           = 0x00;
       
   215 const TUint8 KSeconds                                           = 0x01;
       
   216 const TUint8 KTenthsOfSeconds                                   = 0x02;
       
   217 
       
   218 // SEND SHORT MESSAGE;
       
   219 const TUint8 KSmsPackingRequiredMask                            = 0x01;
       
   220 const TUint8 KDCSAlphabetMask                                   = 0x06;
       
   221 const TUint8 KSmsMaxSize                                        = 160;
       
   222 const TUint8 KSmsMaxSizeWithoutPacking                          = 140;
       
   223 const TUint8 KSMSCommandMaxSize                                 = 152;
       
   224 
       
   225 // DISPLAY TEXT,
       
   226 const TUint8 KPriorityMask                                      = 0x01;
       
   227 const TUint8 KMessageClearMask                                  = 0x80;
       
   228 
       
   229 // GET INKEY,
       
   230 const TUint8 KAlphabetMask                                      = 0x01;
       
   231 const TUint8 KUCS2AlphabetMask                                  = 0x02;
       
   232 const TUint8 KYesNoMask                                         = 0x04;
       
   233 const TUint8 KImmediateDigitResponse                            = 0x08;
       
   234 const TUint8 KHelpAvailabilityMask                              = 0x80;
       
   235 
       
   236 // GET INPUT,
       
   237 const TUint8 KUserInputMask                                     = 0x04;
       
   238 const TUint8 KGetInputSmsPackedMask                             = 0x08;
       
   239 const TUint8 KUCS2DCS                                           = 0x08;
       
   240 const TUint8 K7BitDefaultSmsDCS                                 = 0x00;
       
   241 const TUint8 K8BitDCS                                           = 0x04;
       
   242 
       
   243 // SELECT ITEM.
       
   244 const TUint8 KSelectItemPresentationTypeMask                    = 0x03;
       
   245 const TUint8 KSelectItemChoiceOfData                            = 0x01;
       
   246 const TUint8 KSelectItemChoiceOfNavigation                      = 0x03;
       
   247 const TUint8 KSelectItemSelectUsingSoftKeyMask                  = 0x04;
       
   248 
       
   249 // SET UP MENU.
       
   250 const TUint8 KSelectionUsingSoftKey                             = 0x01;
       
   251 
       
   252 // TIMER MANAGEMENT
       
   253 const TUint8 KDeactivateTimer                                   = 0x01;
       
   254 const TUint8 KGetTimerValue                                     = 0x02;
       
   255 
       
   256 // LAUNCH BROWSER
       
   257 const TUint8 KLaunchBrowserIfNotYetLaunched                     = 0x00;
       
   258 const TUint8 KUseExistingBrowser                                = 0x02;
       
   259 const TUint8 KCloseAndLaunchNewBrowser                          = 0x03;
       
   260 
       
   261 // PROVIDE LOCAL INFORMATION
       
   262 const TUint8 KNetworkModeGsm                                    = 0x00;
       
   263 const TUint8 KNetworkModeUtran                                  = 0x03;
       
   264 
       
   265 // BEARER INDEPENDENT PROTOCOL
       
   266 const TUint8 KIPV4                                              = 0x21;
       
   267 const TUint8 KIPV6                                              = 0x57;
       
   268 
       
   269 // MO SM CONTROL
       
   270 const TUint8 KMoSmCtrlMaxLengthAddr1Addr2						= 249;
       
   271 
       
   272 // General result
       
   273 // All other values are reserved.
       
   274 // Results '0X' and '1X' indicate that the command has been performed.
       
   275 const TUint8 KCommandPerformedSuccessfully                              = 0x00;
       
   276 const TUint8 KCommandPerformedWithPartialComprehension                  = 0x01;
       
   277 const TUint8 KCommandPerformedWithMissingInformation                    = 0x02;
       
   278 const TUint8 KRefreshPerformedWithAdditionalEfsRead                     = 0x03;
       
   279 const TUint8 KCommandPerformedSuccessfullyIconCouldNotBeDisplayed       = 0x04;
       
   280 const TUint8 KCommandPerformedButModifiedByCallControlBySim             = 0x05;
       
   281 const TUint8 KCommandPerformedSuccessfullyLimitedService                = 0x06;
       
   282 const TUint8 KCommandPerformedWithModification                          = 0x07;
       
   283 const TUint8 KProactiveSimSessionTerminatedByTheUser                    = 0x10;
       
   284 const TUint8 KBackwardMoveInTheProactiveSimSessionRequestedByTheUser    = 0x11;
       
   285 const TUint8 KNoResponseFromUser                                        = 0x12;
       
   286 const TUint8 KHelpInformationRequiredByTheUser                          = 0x13;
       
   287 const TUint8 KUssdOrSsTransactionTerminatedByTheUser                    = 0x14;
       
   288 
       
   289 // Results '2X' Indicate To The SIM That It May Be Worth Re-Trying The Command 
       
   290 // At A Later Opportunity.
       
   291 const TUint8 KMeCurrentlyUnableToProcessCommand                         = 0x20;
       
   292 const TUint8 KNetworkCurrentlyUnableToProcessCommand                    = 0x21;
       
   293 const TUint8 KUserDidNotAcceptTheProactiveCommand                       = 0x22;
       
   294 const TUint8 KUserClearedDownCallBeforeConnectionOrNetworkRelease       = 0x23;
       
   295 const TUint8 KActionInContradictionWithTheCurrentTimerState             = 0x24;
       
   296 const TUint8 KInteractionWithCallControlBySimTemporaryProblem           = 0x25;
       
   297 const TUint8 KLaunchBrowserGenericErrorCode                             = 0x26;
       
   298 
       
   299 // Results '3X' Indicate That It Is Not Worth The SIM Re-Trying With An 
       
   300 // Identical Command, As It Will Only Get The Same Response. However, The 
       
   301 // Decision To Retry Lies With The SIM Application.
       
   302 const TUint8 KCommandBeyondMeCapabilities                               = 0x30;
       
   303 const TUint8 KCommandTypeNotUnderstoodByMe                              = 0x31;
       
   304 const TUint8 KCommandDataNotUnderstoodByMe                              = 0x32;
       
   305 const TUint8 KCommandNumberNotKnownByMe                                 = 0x33;
       
   306 const TUint8 KSsReturnError                                             = 0x34;
       
   307 const TUint8 KSmsRpError                                                = 0x35;
       
   308 const TUint8 KErrorRequiredValuesAreMissing                             = 0x36;
       
   309 const TUint8 KUssdReturnError                                           = 0x37;
       
   310 const TUint8 KMultiplecardCommandsError                                 = 0x38;
       
   311 const TUint8 KSimPermanentProblem                                       = 0x39;
       
   312 const TUint8 KBearerIndependentProtocolError                            = 0x3a;
       
   313 
       
   314 // Additional information
       
   315 // Contents: For the general result "Command performed successfully", some 
       
   316 // proactive commands require additional information in the command result. 
       
   317 // This is defined in the subclauses below. For the general results '20', '21', 
       
   318 // '26', '34', '35', '37', '38' and '39' and '3A', it is mandatory for the ME 
       
   319 // to provide a specific cause value as additional information, as defined in 
       
   320 // the subclauses below. For the other general results, the ME may optionally 
       
   321 // supply additional information. If additional information is not supplied, 
       
   322 // then the length of the value part of the data object need only contain the 
       
   323 // general result. See 3GPP TS 11.14 V8.8.0, chapters 12.12.1 - 12.12.11 for 
       
   324 // more details.
       
   325 
       
   326 // Additional information for ME problem
       
   327 // Additional information for network problem
       
   328 // Additional information for SS problem
       
   329 const TUint8 KNoSpecificCauseCanBeGiven                         = 0x00;
       
   330 const TUint8 KScreenIsBusy                                      = 0x01;
       
   331 const TUint8 KMeCurrentlyBusyOnCall                             = 0x02;
       
   332 const TUint8 KMeCurrentlyBusyOnSsTransaction                    = 0x03;
       
   333 const TUint8 KNoService                                         = 0x04;
       
   334 const TUint8 KAccessControlClassBar                             = 0x05;
       
   335 const TUint8 KRadioResourceNotGranted                           = 0x06;
       
   336 const TUint8 KNotInSpeechCall                                   = 0x07;
       
   337 const TUint8 KMeCurrentlyBusyOnUssdTransaction                  = 0x08;
       
   338 const TUint8 KMeCurrentlyBusyOnSendDtmfCommand                  = 0x09;
       
   339 
       
   340 // Additional information for interaction with call control or MO SM control
       
   341 const TUint8 KActionNotAllowed                                  = 0x01;
       
   342 const TUint8 KTypeOfRequestHasChanged                           = 0x02;
       
   343 
       
   344 // Additional information for MultipleCard commands
       
   345 const TUint8 KCardReaderRemovedOrNotPresent                     = 0x01;
       
   346 const TUint8 KCardRemovedOrNotPresent                           = 0x02;
       
   347 const TUint8 KCardReaderBusy                                    = 0x03;
       
   348 const TUint8 KCardPoweredOff                                    = 0x04;
       
   349 const TUint8 KCApduFormatError                                  = 0x05;
       
   350 const TUint8 KMuteCard                                          = 0x06;
       
   351 const TUint8 KTransmissionError                                 = 0x07;
       
   352 const TUint8 KProtocolNotSupported                              = 0x08;
       
   353 const TUint8 KSpecifiedReaderNotValid                           = 0x09;
       
   354 
       
   355 // Additional information for Launch Browser problem
       
   356 const TUint8 KBearerUnavailable                                 = 0x01;
       
   357 const TUint8 KBrowserUnavailable                                = 0x02;
       
   358 const TUint8 KMeUnableToReadTheProvisioningData                 = 0x03;
       
   359 
       
   360 // Additional information for Bearer Independent Protocol
       
   361 const TUint8 KNoChannelAvailable                                = 0x01;
       
   362 const TUint8 KChannelClosed                                     = 0x02;
       
   363 const TUint8 KChannelIdentifierNotValid                         = 0x03;
       
   364 const TUint8 KRequestedBufferSizeNotAvailable                   = 0x04;
       
   365 const TUint8 KSecurityError                                     = 0x05;
       
   366 const TUint8 KRequestedSimMeInterfaceTransportLevelNotAvailable = 0x06;
       
   367 
       
   368 // Source and Destination device identities are coded as follows:
       
   369 const TUint8 KKeypad				                            = 0x01;
       
   370 const TUint8 KDisplay				                            = 0x02;
       
   371 const TUint8 KEarpiece				                            = 0x03;
       
   372 const TUint8 KAdditionalCardReader0                             = 0x10;
       
   373 const TUint8 KAdditionalCardReader1                             = 0x11;
       
   374 const TUint8 KAdditionalCardReader2                             = 0x12;
       
   375 const TUint8 KAdditionalCardReader3                             = 0x13;
       
   376 const TUint8 KAdditionalCardReader4                             = 0x14;
       
   377 const TUint8 KAdditionalCardReader5                             = 0x15;
       
   378 const TUint8 KAdditionalCardReader6                             = 0x16;
       
   379 const TUint8 KAdditionalCardReader7                             = 0x17;
       
   380 const TUint8 KChannel1				                            = 0x21;
       
   381 const TUint8 KChannel2				                            = 0x22;
       
   382 const TUint8 KChannel3				                            = 0x23;
       
   383 const TUint8 KChannel4				                            = 0x24;
       
   384 const TUint8 KChannel5				                            = 0x25;
       
   385 const TUint8 KChannel6				                            = 0x26;
       
   386 const TUint8 KChannel7				                            = 0x27;
       
   387 const TUint8 KSim					                            = 0x81;
       
   388 const TUint8 KMe					                            = 0x82;
       
   389 const TUint8 KNetwork				                            = 0x83;
       
   390 
       
   391 
       
   392 // TLV Specific Data Types
       
   393 enum TTlvSpesificDataType
       
   394     {
       
   395     ETLV_TonAndNpi,
       
   396     ETLV_DiallingNumberString,
       
   397     ETLV_AlphaIdentifier,
       
   398     ETLV_SubAddress,
       
   399     ETLV_CapabilityConfigurationParameters,
       
   400     ETLV_CellBroadcastPage,
       
   401     ETLV_CommandNumber,
       
   402     ETLV_TypeOfCommand,
       
   403     ETLV_CommandQualifier,
       
   404     ETLV_SourceDeviceIdentity,
       
   405     ETLV_DestinationDeviceIdentity,
       
   406     ETLV_TimeUnit,
       
   407     ETLV_TimeInterval,
       
   408     ETLV_IdentifierOfItem,
       
   409     ETLV_TextStringOfItem,
       
   410     ETLV_IdentifierOfItemChosen,
       
   411     ETLV_MinimumLengthOfResponse,
       
   412     ETLV_MaximumLengthOfResponse,
       
   413     ETLV_GeneralResult,
       
   414     ETLV_AdditionalInformationOnResult,
       
   415     ETLV_SmsTPdu,
       
   416     ETLV_DataCodingScheme,
       
   417     ETLV_SsOrUssdString,
       
   418     ETLV_TextString,
       
   419     ETLV_Tone,
       
   420     ETLV_UssdString,
       
   421     ETLV_NumberOfFiles,
       
   422     ETLV_Files,
       
   423     ETLV_LocationAreaCode,
       
   424     ETLV_CellIdentityValue,
       
   425     ETLV_MccAndMnc,
       
   426     ETLV_Imei,
       
   427     ETLV_NetworkMeasurementResults,
       
   428     ETLV_DefaultText,
       
   429     ETLV_ItemsNextActionIndicator,
       
   430     ETLV_EventList,
       
   431     ETLV_Cause,
       
   432     ETLV_LocationStatus,
       
   433     ETLV_TransactionIdentifier,
       
   434     ETLV_BcchChannelList,
       
   435     ETLV_IconIdentifier,
       
   436     ETLV_IconQualifier,
       
   437     ETLV_IconListQualifier,
       
   438     ETLV_IconIdentifierList,
       
   439     ETLV_CardReaderStatus,
       
   440     ETLV_CommandClassCLA,
       
   441     ETLV_CommandInstructionCodeIns,
       
   442     ETLV_P1Parameter,
       
   443     ETLV_P2Parameter,
       
   444     ETLV_Lc,
       
   445     ETLV_Data,
       
   446     ETLV_Le,
       
   447     ETLV_RApduData,
       
   448     ETLV_StatusWordSW1,
       
   449     ETLV_StatusWordSW2,
       
   450     ETLV_TimerIdentifier,
       
   451     ETLV_TimerValue,
       
   452     ETLV_DateTimeAndTimeZone,
       
   453     ETLV_AtCommand,
       
   454     ETLV_AtResponse,
       
   455     ETLV_BcRepeatIndicatorValues,
       
   456     ETLV_DtmfString,
       
   457     ETLV_Language,
       
   458     ETLV_MeStatus,
       
   459     ETLV_TimingAdvance,
       
   460     ETLV_BrowserIdentity,
       
   461     ETLV_Url,
       
   462     ETLV_ListOfBearers,
       
   463     ETLV_PathToProvisioningFile,
       
   464     ETLV_BrowserTerminationCause,
       
   465     ETLV_BearerType,
       
   466     ETLV_BearerParameters,
       
   467     ETLV_ChannelDataString,
       
   468     ETLV_ChannelDataLength,
       
   469     ETLV_BufferSize,
       
   470     ETLV_ChannelStatus,
       
   471     ETLV_IdentifierOfCardReader,
       
   472     ETLV_TypeOfAddress,
       
   473     ETLV_Address,
       
   474     ETLV_TransportProtocolType,
       
   475     ETLV_PortNumber,
       
   476     ETLV_NetworkAccessName,
       
   477     ETLV_CallControlRequestedAction,
       
   478     ETLV_Atr,
       
   479     ETLV_AID
       
   480     };
       
   481 
       
   482 //  MACROS  
       
   483 
       
   484     //none
       
   485 
       
   486 //  DATA TYPES  
       
   487 
       
   488     //none
       
   489 
       
   490 //  EXTERNAL DATA STRUCTURES  
       
   491 
       
   492     //none
       
   493 
       
   494 //  FUNCTION PROTOTYPES  
       
   495 
       
   496     //none
       
   497 
       
   498 //  FORWARD DECLARATIONS
       
   499 
       
   500     //none
       
   501 
       
   502 #endif // BERTLV_DEFS_H
       
   503 
       
   504 // End of File