epoc32/include/tia637.h
branchSymbian2
changeset 2 2fe1408b6811
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     1 // Copyright (c) 2003-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Declares the constants and typedefs which come from TIA637-B.
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @publishedAll
       
    23  @interim
       
    24 */
       
    25 
       
    26 #if !(defined __TIA637_H__)
       
    27 #define __TIA637_H__
       
    28 
       
    29 #include <e32def.h>				// T Type  Definitions
       
    30 
       
    31 namespace tia637
       
    32 	{
       
    33 
       
    34 	/** Defines the Transport Layer Parameter Id from TIA/EIA-637-B table 3.4.3-1
       
    35 	@publishedAll
       
    36 	@interim
       
    37 	*/
       
    38 	typedef TUint8 TTpParameterId; // Note: if you change this type, you will have to change the
       
    39 									// Externalize and Internalize methods where this is used.
       
    40 
       
    41 		const TTpParameterId		KTeleserviceId				= 0;
       
    42 		const TTpParameterId		KServiceCategory			= 1;
       
    43 		const TTpParameterId		KOriginatingAddress			= 2;
       
    44 		const TTpParameterId		KOriginatingSubAddress		= 3;
       
    45 		const TTpParameterId		KDestinationAddress			= 4;
       
    46 		const TTpParameterId		KDestinationSubAddress		= 5;
       
    47 		const TTpParameterId		KBearerReplyOption			= 6;
       
    48 		const TTpParameterId		KCauseCode					= 7;
       
    49 		const TTpParameterId		KBearerData					= 8;
       
    50 		const TTpParameterId		KNumberOfParameterIds		= 9;	
       
    51 
       
    52 	/** Defines the Reply Sequence Number type from TIA/EIA-637-B
       
    53 	@publishedAll
       
    54 	@interim
       
    55 	*/
       
    56 	typedef TUint8 	TReplySequenceNum;	
       
    57 		const TReplySequenceNum		KMaxBearerReplySequenceNumber = 64;
       
    58 
       
    59 	/** Defines the ServiceCategory from TSB58-D Table 9.3.1-1
       
    60 	@publishedAll
       
    61 	@interim
       
    62 	*/
       
    63 	typedef TUint16 TServiceCategory;
       
    64 		const TServiceCategory	KUnknownServiceCategory			= 0;
       
    65 		const TServiceCategory	KEmergencyBroadcasts			= 1;
       
    66 		const TServiceCategory	KAdministrative					= 2;
       
    67 		const TServiceCategory	KMaintenance					= 3;
       
    68 		const TServiceCategory	KGeneralNewsLocal				= 4;
       
    69 		const TServiceCategory	KGeneralNewsRegional			= 5;
       
    70 		const TServiceCategory	KGeneralNewsNational			= 6;
       
    71 		const TServiceCategory	KGeneralNewsInternational		= 7;
       
    72 		const TServiceCategory	KBusinessFinancialNewsLocal		= 8;
       
    73 		const TServiceCategory	KBusinessFinancialNewsRegional	= 9;
       
    74 		const TServiceCategory	KBusinessFinancialNewsNational	= 10;
       
    75 		const TServiceCategory	KBusinessFinancialNewsIntl		= 11;
       
    76 		const TServiceCategory	KSportNewsLocal					= 12;
       
    77 		const TServiceCategory	KSportNewsRegional				= 13;
       
    78 		const TServiceCategory	KSportNewsNational				= 14;
       
    79 		const TServiceCategory	KSportNewsInternational			= 15;
       
    80 		const TServiceCategory	KEntertainmentNewsLocal			= 16;
       
    81 		const TServiceCategory	KEntertainmentNewsRegional		= 17;
       
    82 		const TServiceCategory	KEntertainmentNewsNational		= 18;
       
    83 		const TServiceCategory	KEntertainmentNewsInternational	= 19;
       
    84 		const TServiceCategory	KLocalWeather					= 20;
       
    85 		const TServiceCategory	KAreaTrafficReports				= 21;
       
    86 		const TServiceCategory	KLocalAirportFlightSchedules	= 22;
       
    87 		const TServiceCategory	KRestaruants					= 23;
       
    88 		const TServiceCategory	KLodgings						= 24;
       
    89 		const TServiceCategory	KRetailDirectoryAdvertisements	= 25;
       
    90 		const TServiceCategory	KAdvertisements					= 26;
       
    91 		const TServiceCategory	KStockQuotes					= 27;
       
    92 		const TServiceCategory	KEmploymentOpportunities		= 28;
       
    93 		const TServiceCategory	KMedicalHealthHospitals			= 29;
       
    94 		const TServiceCategory	KTechnologyNews					= 30;
       
    95 		const TServiceCategory	KMulticategory					= 31;
       
    96 		const TServiceCategory	KMaxCategory					= 31;
       
    97 		
       
    98 
       
    99 	/** Defines the Teleservises Id from TIA/EIA-41-E Reballot version
       
   100 	@publishedAll
       
   101 	@interim
       
   102 	*/
       
   103 	typedef TUint16 TTeleserviceId;
       
   104 		const TTeleserviceId 	KTeleserviceNotUsed	= 0;   // Not Used
       
   105 		const TTeleserviceId 	KTeleserviceCMT91 	= 4096;// IS-91 Extended Protocol Enhanced Services
       
   106 		const TTeleserviceId	KTeleserviceWPT 	= 4097;// Wireless Paging Teleservice	
       
   107 		const TTeleserviceId	KTeleserviceWMT 	= 4098;// Wireless Messaging Teleservice
       
   108 		const TTeleserviceId	KTeleserviceVMN		= 4099;// Voice Mail Notification
       
   109 		const TTeleserviceId	KTeleserviceWAP		= 4100;// Wireless Application Protocol
       
   110 		const TTeleserviceId	KTeleserviceWEMT	= 4101;// Wireless Enhanced Messaging Teleservice
       
   111 		const TTeleserviceId 	KTeleserviceSCPT	= 4102;// Service Category Programming Teleservice
       
   112 		const TTeleserviceId 	KTeleserviceCATPT	= 4103;// Card Application Toolkit Protocol Teleservice
       
   113 		const TInt KNumberOfTelservices                     = 8;
       
   114 
       
   115 	/** Defines the Message Encoding from TSB58-D Table 9.1-1
       
   116 	@publishedAll
       
   117 	@interim
       
   118 	*/
       
   119 	typedef TUint8 TCdmaMessageEncoding;
       
   120 		
       
   121 		const TCdmaMessageEncoding	KCdmaEncodingOctetUnspecified			=0x0;
       
   122 		const TCdmaMessageEncoding	KCdmaEncodingIS91ExtendedProtocolMessage=0x1;
       
   123 		const TCdmaMessageEncoding	KCdmaEncoding7BitASCII					=0x2;
       
   124 		const TCdmaMessageEncoding	KCdmaEncodingIA5						=0x3;
       
   125 		const TCdmaMessageEncoding	KCdmaEncodingUnicode					=0x4;
       
   126 		const TCdmaMessageEncoding	KCdmaEncodingShiftJIS					=0x5;
       
   127 		const TCdmaMessageEncoding	KCdmaEncodingKorean						=0x6;
       
   128 		const TCdmaMessageEncoding	KCdmaEncodingLatinHebrew				=0x7;
       
   129 		const TCdmaMessageEncoding	KCdmaEncodingLatin						=0x8;
       
   130 		const TCdmaMessageEncoding	KCdmaEncoding7BitGsm					=0x9;
       
   131 		const TCdmaMessageEncoding	KCdmaEncodingMax						=0x9;
       
   132 
       
   133 	/** Defines the Transport Layer Message Type from TIA/EIA-637-B Table 3.4-1
       
   134 	@publishedAll
       
   135 	@interim
       
   136 	*/
       
   137 	typedef TUint8 	TTpMessageType;
       
   138 		const TTpMessageType 	KTpSmsPointToPoint				= 0;
       
   139 		const TTpMessageType 	KTpSmsBroadCast					= 1;
       
   140 		const TTpMessageType 	KTpSmsAcknowldege				= 2;
       
   141 
       
   142 	/** Defines the CDMA Message Type from TIA/EIA-637-B Table 4.5.1-1
       
   143 	@publishedAll
       
   144 	@interim
       
   145 	*/
       
   146 	typedef TUint8 	TCdmaMessageType;
       
   147 		const TCdmaMessageType 	KTReserved					= 0;
       
   148 		const TCdmaMessageType 	KTDeliver					= 1;
       
   149 		const TCdmaMessageType 	KTSubmit					= 2;
       
   150 		const TCdmaMessageType	KTCancellation				= 3;
       
   151 		const TCdmaMessageType	KTDeliveryAcknowledgement	= 4;
       
   152 		const TCdmaMessageType	KTUserAcknowledgement		= 5;
       
   153 		const TCdmaMessageType	KTReadAcknowledgement		= 6;
       
   154 		const TCdmaMessageType	KTNumberOfMessageTypes		= 7;
       
   155 
       
   156 	/** Defines the SMS Cause code from TIA/EIA-41-E Reballot version
       
   157 	@publishedAll
       
   158 	@interim
       
   159 	*/
       
   160 	typedef TUint8	TCauseCode;
       
   161 		// network problems
       
   162 		const TCauseCode 	KAddressVacant					= 0;
       
   163 		const TCauseCode 	KAddressTranslationFailure 		= 1;
       
   164 		const TCauseCode 	KNetworkResourceShortage		= 2;
       
   165 		const TCauseCode 	KNetworkFailure					= 3;
       
   166 		const TCauseCode 	KInvalidTeleserviceID			= 4;
       
   167 		const TCauseCode 	KOtherNetworkProblem			= 5; // and 7 to 31
       
   168 		const TCauseCode 	KUnsupportedNetworkInterface	= 6;
       
   169 		// terminal problems
       
   170 		const TCauseCode 	KNoPageResponse					= 32;
       
   171 		const TCauseCode 	KDestinationBusy				= 33;
       
   172 		const TCauseCode 	KNoAcknowledgment				= 34;
       
   173 		const TCauseCode 	KDestinationResourceShortage	= 35;
       
   174 		const TCauseCode 	KSMSDeliveryPostponed			= 36;
       
   175 		const TCauseCode 	KDestinationOutOfService		= 37;
       
   176 		const TCauseCode 	KDestinationNoLongerAtThisAddr	= 38;
       
   177 		const TCauseCode 	KOtherTerminalProblem			= 39; // up to 47, 48-63 as 36
       
   178 		// radio interface problems	
       
   179 		const TCauseCode 	KRadioInterfaceShortage			= 64;
       
   180 		const TCauseCode 	KRadioInterfaceIncompatibility	= 65;
       
   181 		const TCauseCode 	KOtherRadioInterfaceProblem		= 66; // and 68 to 95
       
   182 		const TCauseCode 	KUnsupportedBaseStationCapability= 67;
       
   183 		// general problems
       
   184 		const TCauseCode 	KEncodingProblem				= 96;
       
   185 		const TCauseCode 	KSMSOriginationDenied			= 97;
       
   186 		const TCauseCode 	KSMSTerminationDenied			= 98;
       
   187 		const TCauseCode 	KSuppServiceNotSupported		= 99;
       
   188 		const TCauseCode 	KServiceNotSupported			= 100;
       
   189 		// 101 Reserved
       
   190 		const TCauseCode 	KMissingExpectedParameter		= 102;
       
   191 		const TCauseCode 	KMissingMandatoryParameter		= 103;
       
   192 		const TCauseCode 	KUnrecognizedParameterValue		= 104;
       
   193 		const TCauseCode 	KUnexpectedParameterValue		= 105;
       
   194 		const TCauseCode 	KUserDataSizeError				= 106;
       
   195 		const TCauseCode 	KOtherGeneralProblems			= 107; // 109 to 223
       
   196 		const TCauseCode 	KSessionNotActive				= 108;
       
   197 		// 224-255 TIA/EIA reserved protocol extension as 107
       
   198 
       
   199 	/** Defines the Language Indicator from TSB58-D Table 9.2-1
       
   200 	@publishedAll
       
   201 	@interim
       
   202 	*/
       
   203 	typedef TUint8	TLanguageIndicator;
       
   204 		const TLanguageIndicator	KLanguageUnknown 				= 0;
       
   205 		const TLanguageIndicator	KLanguageEnglish 				= 1;
       
   206 		const TLanguageIndicator	KLanguageFrench					= 2;  
       
   207 		const TLanguageIndicator	KLanguageSpanish				= 3;
       
   208 		const TLanguageIndicator	KLanguageJapanese				= 4;
       
   209 		const TLanguageIndicator	KLanguageKorean					= 5;
       
   210 		const TLanguageIndicator	KLanguageChinese				= 6;
       
   211 		const TLanguageIndicator	KLanguageHebrew					= 7;
       
   212 		const TLanguageIndicator	KLanguageMax					= 7;
       
   213 
       
   214 	/** Defines the different classes of errors, as defined in TIA/EIA-637-B.
       
   215 	@publishedAll
       
   216 	@interim
       
   217 	*/
       
   218 	typedef TUint8 TTpErrorClass;
       
   219 		/** For the case where there is no error. */
       
   220 		const TTpErrorClass KNoError            = 0;
       
   221 		// Reserved 1
       
   222 		/** The error is caused by a temporary condition. */
       
   223 		const TTpErrorClass KTemporaryCondition = 2;
       
   224 		/** The error is caused by a permanent condition. */
       
   225 		const TTpErrorClass KPermanentCondition = 3;
       
   226 
       
   227 	/** Defines the number type from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-2, 
       
   228 	see TIA/EIA-637-B section 3.4.3.3.
       
   229 	@publishedAll
       
   230 	@interim
       
   231 	*/
       
   232 	typedef TUint8 TNumberType; 
       
   233 		// Number Type from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-2
       
   234 		const TNumberType	KNTIsdnUnknown					= 0;
       
   235 		const TNumberType	KNTIsdnInternationalNumber		= 1;
       
   236 		const TNumberType	KNTIsdnNationalNumber			= 2;
       
   237 		const TNumberType	KNTIsdnNetworkSpecificNumber	= 3;
       
   238 		const TNumberType	KNTIsdnSubscriberNumber			= 4;
       
   239 		// Reserved 5
       
   240 		const TNumberType	KNTIsdnAbbreviatedNumber		= 6;
       
   241 		// Reserved for extension 7
       
   242 		
       
   243 		// Number Type from TIA/EIA-637-B Table 3.4.3.3-1
       
   244 		const TNumberType	KNTDataNetworkUnknown			= 0;
       
   245 		const TNumberType	KNTDataNetworkIP				= 1;
       
   246 		const TNumberType	KNTDataNetworkInternetEmailAddr	= 2;
       
   247 		
       
   248 	/**	Defines the numbering plan from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-3, 
       
   249 	see TIA/EIA-637-B section 3.4.3.3.
       
   250 	@publishedAll
       
   251 	@interim
       
   252 	*/
       
   253 	typedef TUint8 TNumberPlan; 
       
   254 		const TNumberPlan	KNPUnknown						= 0;
       
   255 		const TNumberPlan	KNPIsdnTelephony				= 1;
       
   256 		const TNumberPlan	KNPData							= 3;
       
   257 		const TNumberPlan	KNPTelex						= 4;
       
   258 		const TNumberPlan	KNPPrivate						= 9;
       
   259 		// Others are reserved
       
   260 
       
   261 	/** Defines the subaddress type as defined in TIA/EIA-637-B Table 3.4.3.4-1
       
   262 	@publishedAll
       
   263 	@interim
       
   264 	*/
       
   265 	typedef TUint8 TSubaddressType; 
       
   266 		const TSubaddressType	KSTNsap						= 0;
       
   267 		const TSubaddressType	KSTUserSpecified			= 1;
       
   268 
       
   269 	/** Defines the Bearer Data Subparameter Id from TIA/EIA-637-B Table 4.5-1
       
   270 	@publishedAll
       
   271 	@interim
       
   272 	*/
       
   273 	typedef TUint8 TSubParameterId;
       
   274 		const TSubParameterId KTMessageIdentifier				= 0; 
       
   275 		const TSubParameterId KTUserData						= 1;
       
   276 		const TSubParameterId KTUserResponseCode				= 2;
       
   277 		const TSubParameterId KTMessageCenterTimeStamp			= 3;	
       
   278 		const TSubParameterId KTValidityPeriodAbsolute			= 4;
       
   279 		const TSubParameterId KTValidityPeriodRelative			= 5;
       
   280 		const TSubParameterId KTDeferredDeliveryTimeAbsolute	= 6;
       
   281 		const TSubParameterId KTDeferredDeliveryTimeRelative	= 7;
       
   282 		const TSubParameterId KTPriorityIndicator				= 8;
       
   283 		const TSubParameterId KTPrivacyIndicator				= 9;
       
   284 		const TSubParameterId KTReplyOption						= 10;
       
   285 		const TSubParameterId KTNumberOfMessages				= 11;
       
   286 		const TSubParameterId KTAlertOnMessageDelivery			= 12;
       
   287 		const TSubParameterId KTLanguageIndicator				= 13;
       
   288 		const TSubParameterId KTCallBackNumber					= 14;
       
   289 		const TSubParameterId KTMessageDisplayMode				= 15;
       
   290 		const TSubParameterId KTMultipleEncodingUserData		= 16;
       
   291 		const TSubParameterId KTMessageDepositIndex				= 17;
       
   292 		const TSubParameterId KTServiceCategoryProgramData		= 18;
       
   293 		const TSubParameterId KTServiceCategoryProgramResults	= 19;
       
   294 		const TSubParameterId KTMessageStatus					= 20;
       
   295 		const TSubParameterId KTNumberOfSubParameters			= 21;
       
   296 		
       
   297 	/** Defines the User Response Code as defined in TIA/EIA-637-B Section 4.5.3
       
   298 	@publishedAll
       
   299 	@interim
       
   300 	*/
       
   301 	typedef TUint8 	TResponseCode;
       
   302 
       
   303 	/** Defines the Relative time validity period as defined in TIA/EIA-637-B Section 4.5.6
       
   304 	@publishedAll
       
   305 	@interim
       
   306 	*/
       
   307 		typedef TUint8 	TRelativeTimePeriod;
       
   308 		const TRelativeTimePeriod	KBdIndefinite               = 245;
       
   309 		const TRelativeTimePeriod	KBdImmediate                = 246;
       
   310 		const TRelativeTimePeriod	KBdValidUntilActiveInactive = 247; 
       
   311 		const TRelativeTimePeriod	KBdValidUntilAreaChanges   	= 248;
       
   312 		const TRelativeTimePeriod	KBdelativeTimePeriodMax		= 248;
       
   313 
       
   314 	/** Defines the Priority Indicator as defined in TIA/EIA-637-B Table 4.5.9-1
       
   315 	@publishedAll
       
   316 	@interim
       
   317 	*/
       
   318 	typedef TUint8 TPriorityIndicator;
       
   319 		const TPriorityIndicator	KBdNormal 		= 0;
       
   320 		const TPriorityIndicator	KBdInteractive 	= 1;
       
   321 		const TPriorityIndicator	KBdUrgent		= 2;
       
   322 		const TPriorityIndicator	KBdEmergency	= 3;
       
   323 		const TPriorityIndicator	KBdMaxPriority	= 3;
       
   324 
       
   325 	/** Defines the Privacy Indicator as defined in TIA/EIA-637-B Table 4.5.10-1
       
   326 	@publishedAll
       
   327 	@interim
       
   328 	*/
       
   329 	typedef TUint8 TPrivacy;
       
   330 		const TPrivacy	KBdNotRestricted	= 0;
       
   331 		const TPrivacy	KBdRestricted		= 1;
       
   332 		const TPrivacy	KBdConfidential		= 2;
       
   333 		const TPrivacy	KBdSecret			= 3;
       
   334 		const TPrivacy	KBdMaxPrivacy		= 3;
       
   335 
       
   336 	/** Defines the Alert Priority as defined in TIA/EIA-637-B Table 4.5.10-1
       
   337 	@publishedAll`
       
   338 	@interim
       
   339 	*/
       
   340 	typedef TUint8 TAlertPriority;
       
   341 		const TAlertPriority	KBdUseMobileDefault 		= 0;
       
   342 		const TAlertPriority	KBdUseLowPriorityDefault 	= 1;
       
   343 		const TAlertPriority	KBdUseMediumPriorityAlert 	= 2;
       
   344 		const TAlertPriority	KBdUseHighPriorityAlert		= 3;
       
   345 		const TAlertPriority	KBdMaxAlert					= 3;
       
   346 
       
   347 	/** Defines the Message Display as defined in TIA/EIA-637-B Table 4.5.16-1
       
   348 	@publishedAll
       
   349 	@interim
       
   350 	*/
       
   351 	typedef TUint8 TBdMode;
       
   352 		const TBdMode KBdModeImmediate	= 0;
       
   353 		const TBdMode KBdModeDefault		= 1;
       
   354 		const TBdMode KBdModeUser		= 2;
       
   355 		const TBdMode KBdModeMax			= 2;
       
   356 
       
   357 	/** Defines the Error Class as defined in TIA/EIA-637-B Section 4.5.21
       
   358 	@publishedAll
       
   359 	@interim
       
   360 	*/
       
   361 	typedef TUint8 TMessageStatusErrorClass; 
       
   362 		const TMessageStatusErrorClass KBdNone 					= 0;
       
   363 		const TMessageStatusErrorClass KBdReservedErrorClass	= 1;		
       
   364 		const TMessageStatusErrorClass KBdTemporaryCondition	= 2;
       
   365 		const TMessageStatusErrorClass KBdPermanentCondition	= 3;
       
   366 		const TMessageStatusErrorClass KBdMaxErrorClass 		= 3; 
       
   367 
       
   368 	/** Defines the Message status code as defined in TIA/EIA-637-B Table 4.5.21-1
       
   369 	@publishedAll
       
   370 	@interim
       
   371 	*/
       
   372 	typedef TUint8 TMessageStatusCode;
       
   373 		// No Error
       
   374 		const TMessageStatusCode KBdAccepted 				= 0;
       
   375 		const TMessageStatusCode KBdDeposited 			= 1;
       
   376 		const TMessageStatusCode KBdDelivered				= 2;
       
   377 		const TMessageStatusCode KBdCancelled				= 3;
       
   378 		//  Temporary / Permanent Condition
       
   379 		const TMessageStatusCode KBdNetworkCongestion	 	= 4;
       
   380 		const TMessageStatusCode KBdNetworkError			= 5;
       
   381 		// Permanent Condition Only
       
   382 		const TMessageStatusCode KBdCancelFailed 			= 6;
       
   383 		const TMessageStatusCode KBdBlockedDestination	= 7;
       
   384 		const TMessageStatusCode KBdTextTooLong			= 8;
       
   385 		const TMessageStatusCode KBdDuplicateMessage		= 9;
       
   386 		const TMessageStatusCode KBdInvalidDestination	= 10;
       
   387 		const TMessageStatusCode KBdMessageExpired		= 11;
       
   388 		const TMessageStatusCode KBdUnknownError			= 31;
       
   389 		const TMessageStatusCode KBdMaxStatusCode			= 31;
       
   390 
       
   391 	/** Defines the Message deposit index as defined in TIA/EIA-637-B Section 4.5.18
       
   392 	@publishedAll
       
   393 	@interim
       
   394 	*/
       
   395 	typedef TUint16 TMessageDepositIndex;
       
   396 
       
   397 	/** Defines the Service Category Programming Result from TIA/EIA-637-B Table 4.5.20-1
       
   398 	@publishedAll
       
   399 	@interim
       
   400 	*/
       
   401 	typedef TUint8 TCategoryResult;
       
   402 		const TCategoryResult	KCRSuccess							= 0;
       
   403 		const TCategoryResult	KCRMemoryLimitExceeded				= 1;
       
   404 		const TCategoryResult	KCRServiceCategoryLimitExceeded		= 2;
       
   405 		const TCategoryResult	KCRCategoryAlreadyProgrammed		= 3;
       
   406 
       
   407 		const TCategoryResult	KCRCategoryNotPreviouslyProgrammed 	= 4;
       
   408 		const TCategoryResult	KCRInvalidMaxMessages				= 5;
       
   409 		const TCategoryResult	KCRInvalidAlertOption				= 6;
       
   410 		const TCategoryResult	KCRInvalidServiceCategoryName		= 7;
       
   411 		const TCategoryResult	KCRUnspecifiedProgrammingFailure	= 8;
       
   412 		const TCategoryResult	KCRMaxResult						= 8;
       
   413 
       
   414 	/** Defines the Operation Code from TIA/EIA-637-B Section 4.5.19
       
   415 	@publishedAll
       
   416 	@interim
       
   417 	*/
       
   418 	typedef TUint8 TOperationCode;
       
   419 		const TOperationCode	KOCDelete			= 0;
       
   420 		const TOperationCode	KOCAdd				= 1;
       
   421 		const TOperationCode	KOCClearAll			= 2;
       
   422 		const TOperationCode	KMaxOperationCode	= 2;
       
   423 
       
   424 	/** Defines the Service Category Alert Option from TIA/EIA-637-B Table 4.5.19-1
       
   425 	@publishedAll
       
   426 	@interim
       
   427 	*/
       
   428 	typedef TUint8 TAlertOption;
       
   429 		const TAlertOption		KNoAlert					= 0;
       
   430 		const TAlertOption		KMobileStationDefault		= 1;
       
   431 		const TAlertOption		KVibrateAlertOnce			= 2;
       
   432 		const TAlertOption		KVinrateAlertRepeat			= 3;
       
   433 		const TAlertOption		KVisualAlertOnce			= 4;
       
   434 		const TAlertOption		KVisualAlertRepeat			= 5;
       
   435 		const TAlertOption		KLowPriorityAlertOnce		= 6;
       
   436 		const TAlertOption		KLowPriorityAlertRepeat		= 7;
       
   437 		const TAlertOption		KMedPriorityAlertOnce		= 8;
       
   438 		const TAlertOption		KMedPriorityAlertRepeat		= 9;
       
   439 		const TAlertOption		KHighPriorityAlertOnce		= 10;
       
   440 		const TAlertOption		KHighPriorityAlertRepeat	= 11;
       
   441 		const TAlertOption		KMaxAlertOpton 				= 11;
       
   442 
       
   443 
       
   444 	typedef TUint8 TWapApplication;
       
   445 		const TWapApplication	KWdpApp			= 0;	/** @see WAP-259-WDP-20010614-a sec.6.5.2 */
       
   446 		const TWapApplication	KWcmpApp		= 1;	/** @see WAP-202-WCMP-20010624-a sec 5.4.4 */		
       
   447 		const TWapApplication	KUndefinedApp	= 0xFF;
       
   448 		
       
   449 	typedef TUint16 TWapPortNumber;
       
   450 		
       
   451 	}
       
   452 
       
   453 
       
   454 #endif //__TIA637_H__