epoc32/include/tia637.h
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tia637.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,454 @@
     1.4 +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// 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
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Declares the constants and typedefs which come from TIA637-B.
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file
    1.25 + @publishedAll
    1.26 + @interim
    1.27 +*/
    1.28 +
    1.29 +#if !(defined __TIA637_H__)
    1.30 +#define __TIA637_H__
    1.31 +
    1.32 +#include <e32def.h>				// T Type  Definitions
    1.33 +
    1.34 +namespace tia637
    1.35 +	{
    1.36 +
    1.37 +	/** Defines the Transport Layer Parameter Id from TIA/EIA-637-B table 3.4.3-1
    1.38 +	@publishedAll
    1.39 +	@interim
    1.40 +	*/
    1.41 +	typedef TUint8 TTpParameterId; // Note: if you change this type, you will have to change the
    1.42 +									// Externalize and Internalize methods where this is used.
    1.43 +
    1.44 +		const TTpParameterId		KTeleserviceId				= 0;
    1.45 +		const TTpParameterId		KServiceCategory			= 1;
    1.46 +		const TTpParameterId		KOriginatingAddress			= 2;
    1.47 +		const TTpParameterId		KOriginatingSubAddress		= 3;
    1.48 +		const TTpParameterId		KDestinationAddress			= 4;
    1.49 +		const TTpParameterId		KDestinationSubAddress		= 5;
    1.50 +		const TTpParameterId		KBearerReplyOption			= 6;
    1.51 +		const TTpParameterId		KCauseCode					= 7;
    1.52 +		const TTpParameterId		KBearerData					= 8;
    1.53 +		const TTpParameterId		KNumberOfParameterIds		= 9;	
    1.54 +
    1.55 +	/** Defines the Reply Sequence Number type from TIA/EIA-637-B
    1.56 +	@publishedAll
    1.57 +	@interim
    1.58 +	*/
    1.59 +	typedef TUint8 	TReplySequenceNum;	
    1.60 +		const TReplySequenceNum		KMaxBearerReplySequenceNumber = 64;
    1.61 +
    1.62 +	/** Defines the ServiceCategory from TSB58-D Table 9.3.1-1
    1.63 +	@publishedAll
    1.64 +	@interim
    1.65 +	*/
    1.66 +	typedef TUint16 TServiceCategory;
    1.67 +		const TServiceCategory	KUnknownServiceCategory			= 0;
    1.68 +		const TServiceCategory	KEmergencyBroadcasts			= 1;
    1.69 +		const TServiceCategory	KAdministrative					= 2;
    1.70 +		const TServiceCategory	KMaintenance					= 3;
    1.71 +		const TServiceCategory	KGeneralNewsLocal				= 4;
    1.72 +		const TServiceCategory	KGeneralNewsRegional			= 5;
    1.73 +		const TServiceCategory	KGeneralNewsNational			= 6;
    1.74 +		const TServiceCategory	KGeneralNewsInternational		= 7;
    1.75 +		const TServiceCategory	KBusinessFinancialNewsLocal		= 8;
    1.76 +		const TServiceCategory	KBusinessFinancialNewsRegional	= 9;
    1.77 +		const TServiceCategory	KBusinessFinancialNewsNational	= 10;
    1.78 +		const TServiceCategory	KBusinessFinancialNewsIntl		= 11;
    1.79 +		const TServiceCategory	KSportNewsLocal					= 12;
    1.80 +		const TServiceCategory	KSportNewsRegional				= 13;
    1.81 +		const TServiceCategory	KSportNewsNational				= 14;
    1.82 +		const TServiceCategory	KSportNewsInternational			= 15;
    1.83 +		const TServiceCategory	KEntertainmentNewsLocal			= 16;
    1.84 +		const TServiceCategory	KEntertainmentNewsRegional		= 17;
    1.85 +		const TServiceCategory	KEntertainmentNewsNational		= 18;
    1.86 +		const TServiceCategory	KEntertainmentNewsInternational	= 19;
    1.87 +		const TServiceCategory	KLocalWeather					= 20;
    1.88 +		const TServiceCategory	KAreaTrafficReports				= 21;
    1.89 +		const TServiceCategory	KLocalAirportFlightSchedules	= 22;
    1.90 +		const TServiceCategory	KRestaruants					= 23;
    1.91 +		const TServiceCategory	KLodgings						= 24;
    1.92 +		const TServiceCategory	KRetailDirectoryAdvertisements	= 25;
    1.93 +		const TServiceCategory	KAdvertisements					= 26;
    1.94 +		const TServiceCategory	KStockQuotes					= 27;
    1.95 +		const TServiceCategory	KEmploymentOpportunities		= 28;
    1.96 +		const TServiceCategory	KMedicalHealthHospitals			= 29;
    1.97 +		const TServiceCategory	KTechnologyNews					= 30;
    1.98 +		const TServiceCategory	KMulticategory					= 31;
    1.99 +		const TServiceCategory	KMaxCategory					= 31;
   1.100 +		
   1.101 +
   1.102 +	/** Defines the Teleservises Id from TIA/EIA-41-E Reballot version
   1.103 +	@publishedAll
   1.104 +	@interim
   1.105 +	*/
   1.106 +	typedef TUint16 TTeleserviceId;
   1.107 +		const TTeleserviceId 	KTeleserviceNotUsed	= 0;   // Not Used
   1.108 +		const TTeleserviceId 	KTeleserviceCMT91 	= 4096;// IS-91 Extended Protocol Enhanced Services
   1.109 +		const TTeleserviceId	KTeleserviceWPT 	= 4097;// Wireless Paging Teleservice	
   1.110 +		const TTeleserviceId	KTeleserviceWMT 	= 4098;// Wireless Messaging Teleservice
   1.111 +		const TTeleserviceId	KTeleserviceVMN		= 4099;// Voice Mail Notification
   1.112 +		const TTeleserviceId	KTeleserviceWAP		= 4100;// Wireless Application Protocol
   1.113 +		const TTeleserviceId	KTeleserviceWEMT	= 4101;// Wireless Enhanced Messaging Teleservice
   1.114 +		const TTeleserviceId 	KTeleserviceSCPT	= 4102;// Service Category Programming Teleservice
   1.115 +		const TTeleserviceId 	KTeleserviceCATPT	= 4103;// Card Application Toolkit Protocol Teleservice
   1.116 +		const TInt KNumberOfTelservices                     = 8;
   1.117 +
   1.118 +	/** Defines the Message Encoding from TSB58-D Table 9.1-1
   1.119 +	@publishedAll
   1.120 +	@interim
   1.121 +	*/
   1.122 +	typedef TUint8 TCdmaMessageEncoding;
   1.123 +		
   1.124 +		const TCdmaMessageEncoding	KCdmaEncodingOctetUnspecified			=0x0;
   1.125 +		const TCdmaMessageEncoding	KCdmaEncodingIS91ExtendedProtocolMessage=0x1;
   1.126 +		const TCdmaMessageEncoding	KCdmaEncoding7BitASCII					=0x2;
   1.127 +		const TCdmaMessageEncoding	KCdmaEncodingIA5						=0x3;
   1.128 +		const TCdmaMessageEncoding	KCdmaEncodingUnicode					=0x4;
   1.129 +		const TCdmaMessageEncoding	KCdmaEncodingShiftJIS					=0x5;
   1.130 +		const TCdmaMessageEncoding	KCdmaEncodingKorean						=0x6;
   1.131 +		const TCdmaMessageEncoding	KCdmaEncodingLatinHebrew				=0x7;
   1.132 +		const TCdmaMessageEncoding	KCdmaEncodingLatin						=0x8;
   1.133 +		const TCdmaMessageEncoding	KCdmaEncoding7BitGsm					=0x9;
   1.134 +		const TCdmaMessageEncoding	KCdmaEncodingMax						=0x9;
   1.135 +
   1.136 +	/** Defines the Transport Layer Message Type from TIA/EIA-637-B Table 3.4-1
   1.137 +	@publishedAll
   1.138 +	@interim
   1.139 +	*/
   1.140 +	typedef TUint8 	TTpMessageType;
   1.141 +		const TTpMessageType 	KTpSmsPointToPoint				= 0;
   1.142 +		const TTpMessageType 	KTpSmsBroadCast					= 1;
   1.143 +		const TTpMessageType 	KTpSmsAcknowldege				= 2;
   1.144 +
   1.145 +	/** Defines the CDMA Message Type from TIA/EIA-637-B Table 4.5.1-1
   1.146 +	@publishedAll
   1.147 +	@interim
   1.148 +	*/
   1.149 +	typedef TUint8 	TCdmaMessageType;
   1.150 +		const TCdmaMessageType 	KTReserved					= 0;
   1.151 +		const TCdmaMessageType 	KTDeliver					= 1;
   1.152 +		const TCdmaMessageType 	KTSubmit					= 2;
   1.153 +		const TCdmaMessageType	KTCancellation				= 3;
   1.154 +		const TCdmaMessageType	KTDeliveryAcknowledgement	= 4;
   1.155 +		const TCdmaMessageType	KTUserAcknowledgement		= 5;
   1.156 +		const TCdmaMessageType	KTReadAcknowledgement		= 6;
   1.157 +		const TCdmaMessageType	KTNumberOfMessageTypes		= 7;
   1.158 +
   1.159 +	/** Defines the SMS Cause code from TIA/EIA-41-E Reballot version
   1.160 +	@publishedAll
   1.161 +	@interim
   1.162 +	*/
   1.163 +	typedef TUint8	TCauseCode;
   1.164 +		// network problems
   1.165 +		const TCauseCode 	KAddressVacant					= 0;
   1.166 +		const TCauseCode 	KAddressTranslationFailure 		= 1;
   1.167 +		const TCauseCode 	KNetworkResourceShortage		= 2;
   1.168 +		const TCauseCode 	KNetworkFailure					= 3;
   1.169 +		const TCauseCode 	KInvalidTeleserviceID			= 4;
   1.170 +		const TCauseCode 	KOtherNetworkProblem			= 5; // and 7 to 31
   1.171 +		const TCauseCode 	KUnsupportedNetworkInterface	= 6;
   1.172 +		// terminal problems
   1.173 +		const TCauseCode 	KNoPageResponse					= 32;
   1.174 +		const TCauseCode 	KDestinationBusy				= 33;
   1.175 +		const TCauseCode 	KNoAcknowledgment				= 34;
   1.176 +		const TCauseCode 	KDestinationResourceShortage	= 35;
   1.177 +		const TCauseCode 	KSMSDeliveryPostponed			= 36;
   1.178 +		const TCauseCode 	KDestinationOutOfService		= 37;
   1.179 +		const TCauseCode 	KDestinationNoLongerAtThisAddr	= 38;
   1.180 +		const TCauseCode 	KOtherTerminalProblem			= 39; // up to 47, 48-63 as 36
   1.181 +		// radio interface problems	
   1.182 +		const TCauseCode 	KRadioInterfaceShortage			= 64;
   1.183 +		const TCauseCode 	KRadioInterfaceIncompatibility	= 65;
   1.184 +		const TCauseCode 	KOtherRadioInterfaceProblem		= 66; // and 68 to 95
   1.185 +		const TCauseCode 	KUnsupportedBaseStationCapability= 67;
   1.186 +		// general problems
   1.187 +		const TCauseCode 	KEncodingProblem				= 96;
   1.188 +		const TCauseCode 	KSMSOriginationDenied			= 97;
   1.189 +		const TCauseCode 	KSMSTerminationDenied			= 98;
   1.190 +		const TCauseCode 	KSuppServiceNotSupported		= 99;
   1.191 +		const TCauseCode 	KServiceNotSupported			= 100;
   1.192 +		// 101 Reserved
   1.193 +		const TCauseCode 	KMissingExpectedParameter		= 102;
   1.194 +		const TCauseCode 	KMissingMandatoryParameter		= 103;
   1.195 +		const TCauseCode 	KUnrecognizedParameterValue		= 104;
   1.196 +		const TCauseCode 	KUnexpectedParameterValue		= 105;
   1.197 +		const TCauseCode 	KUserDataSizeError				= 106;
   1.198 +		const TCauseCode 	KOtherGeneralProblems			= 107; // 109 to 223
   1.199 +		const TCauseCode 	KSessionNotActive				= 108;
   1.200 +		// 224-255 TIA/EIA reserved protocol extension as 107
   1.201 +
   1.202 +	/** Defines the Language Indicator from TSB58-D Table 9.2-1
   1.203 +	@publishedAll
   1.204 +	@interim
   1.205 +	*/
   1.206 +	typedef TUint8	TLanguageIndicator;
   1.207 +		const TLanguageIndicator	KLanguageUnknown 				= 0;
   1.208 +		const TLanguageIndicator	KLanguageEnglish 				= 1;
   1.209 +		const TLanguageIndicator	KLanguageFrench					= 2;  
   1.210 +		const TLanguageIndicator	KLanguageSpanish				= 3;
   1.211 +		const TLanguageIndicator	KLanguageJapanese				= 4;
   1.212 +		const TLanguageIndicator	KLanguageKorean					= 5;
   1.213 +		const TLanguageIndicator	KLanguageChinese				= 6;
   1.214 +		const TLanguageIndicator	KLanguageHebrew					= 7;
   1.215 +		const TLanguageIndicator	KLanguageMax					= 7;
   1.216 +
   1.217 +	/** Defines the different classes of errors, as defined in TIA/EIA-637-B.
   1.218 +	@publishedAll
   1.219 +	@interim
   1.220 +	*/
   1.221 +	typedef TUint8 TTpErrorClass;
   1.222 +		/** For the case where there is no error. */
   1.223 +		const TTpErrorClass KNoError            = 0;
   1.224 +		// Reserved 1
   1.225 +		/** The error is caused by a temporary condition. */
   1.226 +		const TTpErrorClass KTemporaryCondition = 2;
   1.227 +		/** The error is caused by a permanent condition. */
   1.228 +		const TTpErrorClass KPermanentCondition = 3;
   1.229 +
   1.230 +	/** Defines the number type from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-2, 
   1.231 +	see TIA/EIA-637-B section 3.4.3.3.
   1.232 +	@publishedAll
   1.233 +	@interim
   1.234 +	*/
   1.235 +	typedef TUint8 TNumberType; 
   1.236 +		// Number Type from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-2
   1.237 +		const TNumberType	KNTIsdnUnknown					= 0;
   1.238 +		const TNumberType	KNTIsdnInternationalNumber		= 1;
   1.239 +		const TNumberType	KNTIsdnNationalNumber			= 2;
   1.240 +		const TNumberType	KNTIsdnNetworkSpecificNumber	= 3;
   1.241 +		const TNumberType	KNTIsdnSubscriberNumber			= 4;
   1.242 +		// Reserved 5
   1.243 +		const TNumberType	KNTIsdnAbbreviatedNumber		= 6;
   1.244 +		// Reserved for extension 7
   1.245 +		
   1.246 +		// Number Type from TIA/EIA-637-B Table 3.4.3.3-1
   1.247 +		const TNumberType	KNTDataNetworkUnknown			= 0;
   1.248 +		const TNumberType	KNTDataNetworkIP				= 1;
   1.249 +		const TNumberType	KNTDataNetworkInternetEmailAddr	= 2;
   1.250 +		
   1.251 +	/**	Defines the numbering plan from TIA/EIA/IS-2000.5-A Table 2.7.1.3.2.4-3, 
   1.252 +	see TIA/EIA-637-B section 3.4.3.3.
   1.253 +	@publishedAll
   1.254 +	@interim
   1.255 +	*/
   1.256 +	typedef TUint8 TNumberPlan; 
   1.257 +		const TNumberPlan	KNPUnknown						= 0;
   1.258 +		const TNumberPlan	KNPIsdnTelephony				= 1;
   1.259 +		const TNumberPlan	KNPData							= 3;
   1.260 +		const TNumberPlan	KNPTelex						= 4;
   1.261 +		const TNumberPlan	KNPPrivate						= 9;
   1.262 +		// Others are reserved
   1.263 +
   1.264 +	/** Defines the subaddress type as defined in TIA/EIA-637-B Table 3.4.3.4-1
   1.265 +	@publishedAll
   1.266 +	@interim
   1.267 +	*/
   1.268 +	typedef TUint8 TSubaddressType; 
   1.269 +		const TSubaddressType	KSTNsap						= 0;
   1.270 +		const TSubaddressType	KSTUserSpecified			= 1;
   1.271 +
   1.272 +	/** Defines the Bearer Data Subparameter Id from TIA/EIA-637-B Table 4.5-1
   1.273 +	@publishedAll
   1.274 +	@interim
   1.275 +	*/
   1.276 +	typedef TUint8 TSubParameterId;
   1.277 +		const TSubParameterId KTMessageIdentifier				= 0; 
   1.278 +		const TSubParameterId KTUserData						= 1;
   1.279 +		const TSubParameterId KTUserResponseCode				= 2;
   1.280 +		const TSubParameterId KTMessageCenterTimeStamp			= 3;	
   1.281 +		const TSubParameterId KTValidityPeriodAbsolute			= 4;
   1.282 +		const TSubParameterId KTValidityPeriodRelative			= 5;
   1.283 +		const TSubParameterId KTDeferredDeliveryTimeAbsolute	= 6;
   1.284 +		const TSubParameterId KTDeferredDeliveryTimeRelative	= 7;
   1.285 +		const TSubParameterId KTPriorityIndicator				= 8;
   1.286 +		const TSubParameterId KTPrivacyIndicator				= 9;
   1.287 +		const TSubParameterId KTReplyOption						= 10;
   1.288 +		const TSubParameterId KTNumberOfMessages				= 11;
   1.289 +		const TSubParameterId KTAlertOnMessageDelivery			= 12;
   1.290 +		const TSubParameterId KTLanguageIndicator				= 13;
   1.291 +		const TSubParameterId KTCallBackNumber					= 14;
   1.292 +		const TSubParameterId KTMessageDisplayMode				= 15;
   1.293 +		const TSubParameterId KTMultipleEncodingUserData		= 16;
   1.294 +		const TSubParameterId KTMessageDepositIndex				= 17;
   1.295 +		const TSubParameterId KTServiceCategoryProgramData		= 18;
   1.296 +		const TSubParameterId KTServiceCategoryProgramResults	= 19;
   1.297 +		const TSubParameterId KTMessageStatus					= 20;
   1.298 +		const TSubParameterId KTNumberOfSubParameters			= 21;
   1.299 +		
   1.300 +	/** Defines the User Response Code as defined in TIA/EIA-637-B Section 4.5.3
   1.301 +	@publishedAll
   1.302 +	@interim
   1.303 +	*/
   1.304 +	typedef TUint8 	TResponseCode;
   1.305 +
   1.306 +	/** Defines the Relative time validity period as defined in TIA/EIA-637-B Section 4.5.6
   1.307 +	@publishedAll
   1.308 +	@interim
   1.309 +	*/
   1.310 +		typedef TUint8 	TRelativeTimePeriod;
   1.311 +		const TRelativeTimePeriod	KBdIndefinite               = 245;
   1.312 +		const TRelativeTimePeriod	KBdImmediate                = 246;
   1.313 +		const TRelativeTimePeriod	KBdValidUntilActiveInactive = 247; 
   1.314 +		const TRelativeTimePeriod	KBdValidUntilAreaChanges   	= 248;
   1.315 +		const TRelativeTimePeriod	KBdelativeTimePeriodMax		= 248;
   1.316 +
   1.317 +	/** Defines the Priority Indicator as defined in TIA/EIA-637-B Table 4.5.9-1
   1.318 +	@publishedAll
   1.319 +	@interim
   1.320 +	*/
   1.321 +	typedef TUint8 TPriorityIndicator;
   1.322 +		const TPriorityIndicator	KBdNormal 		= 0;
   1.323 +		const TPriorityIndicator	KBdInteractive 	= 1;
   1.324 +		const TPriorityIndicator	KBdUrgent		= 2;
   1.325 +		const TPriorityIndicator	KBdEmergency	= 3;
   1.326 +		const TPriorityIndicator	KBdMaxPriority	= 3;
   1.327 +
   1.328 +	/** Defines the Privacy Indicator as defined in TIA/EIA-637-B Table 4.5.10-1
   1.329 +	@publishedAll
   1.330 +	@interim
   1.331 +	*/
   1.332 +	typedef TUint8 TPrivacy;
   1.333 +		const TPrivacy	KBdNotRestricted	= 0;
   1.334 +		const TPrivacy	KBdRestricted		= 1;
   1.335 +		const TPrivacy	KBdConfidential		= 2;
   1.336 +		const TPrivacy	KBdSecret			= 3;
   1.337 +		const TPrivacy	KBdMaxPrivacy		= 3;
   1.338 +
   1.339 +	/** Defines the Alert Priority as defined in TIA/EIA-637-B Table 4.5.10-1
   1.340 +	@publishedAll`
   1.341 +	@interim
   1.342 +	*/
   1.343 +	typedef TUint8 TAlertPriority;
   1.344 +		const TAlertPriority	KBdUseMobileDefault 		= 0;
   1.345 +		const TAlertPriority	KBdUseLowPriorityDefault 	= 1;
   1.346 +		const TAlertPriority	KBdUseMediumPriorityAlert 	= 2;
   1.347 +		const TAlertPriority	KBdUseHighPriorityAlert		= 3;
   1.348 +		const TAlertPriority	KBdMaxAlert					= 3;
   1.349 +
   1.350 +	/** Defines the Message Display as defined in TIA/EIA-637-B Table 4.5.16-1
   1.351 +	@publishedAll
   1.352 +	@interim
   1.353 +	*/
   1.354 +	typedef TUint8 TBdMode;
   1.355 +		const TBdMode KBdModeImmediate	= 0;
   1.356 +		const TBdMode KBdModeDefault		= 1;
   1.357 +		const TBdMode KBdModeUser		= 2;
   1.358 +		const TBdMode KBdModeMax			= 2;
   1.359 +
   1.360 +	/** Defines the Error Class as defined in TIA/EIA-637-B Section 4.5.21
   1.361 +	@publishedAll
   1.362 +	@interim
   1.363 +	*/
   1.364 +	typedef TUint8 TMessageStatusErrorClass; 
   1.365 +		const TMessageStatusErrorClass KBdNone 					= 0;
   1.366 +		const TMessageStatusErrorClass KBdReservedErrorClass	= 1;		
   1.367 +		const TMessageStatusErrorClass KBdTemporaryCondition	= 2;
   1.368 +		const TMessageStatusErrorClass KBdPermanentCondition	= 3;
   1.369 +		const TMessageStatusErrorClass KBdMaxErrorClass 		= 3; 
   1.370 +
   1.371 +	/** Defines the Message status code as defined in TIA/EIA-637-B Table 4.5.21-1
   1.372 +	@publishedAll
   1.373 +	@interim
   1.374 +	*/
   1.375 +	typedef TUint8 TMessageStatusCode;
   1.376 +		// No Error
   1.377 +		const TMessageStatusCode KBdAccepted 				= 0;
   1.378 +		const TMessageStatusCode KBdDeposited 			= 1;
   1.379 +		const TMessageStatusCode KBdDelivered				= 2;
   1.380 +		const TMessageStatusCode KBdCancelled				= 3;
   1.381 +		//  Temporary / Permanent Condition
   1.382 +		const TMessageStatusCode KBdNetworkCongestion	 	= 4;
   1.383 +		const TMessageStatusCode KBdNetworkError			= 5;
   1.384 +		// Permanent Condition Only
   1.385 +		const TMessageStatusCode KBdCancelFailed 			= 6;
   1.386 +		const TMessageStatusCode KBdBlockedDestination	= 7;
   1.387 +		const TMessageStatusCode KBdTextTooLong			= 8;
   1.388 +		const TMessageStatusCode KBdDuplicateMessage		= 9;
   1.389 +		const TMessageStatusCode KBdInvalidDestination	= 10;
   1.390 +		const TMessageStatusCode KBdMessageExpired		= 11;
   1.391 +		const TMessageStatusCode KBdUnknownError			= 31;
   1.392 +		const TMessageStatusCode KBdMaxStatusCode			= 31;
   1.393 +
   1.394 +	/** Defines the Message deposit index as defined in TIA/EIA-637-B Section 4.5.18
   1.395 +	@publishedAll
   1.396 +	@interim
   1.397 +	*/
   1.398 +	typedef TUint16 TMessageDepositIndex;
   1.399 +
   1.400 +	/** Defines the Service Category Programming Result from TIA/EIA-637-B Table 4.5.20-1
   1.401 +	@publishedAll
   1.402 +	@interim
   1.403 +	*/
   1.404 +	typedef TUint8 TCategoryResult;
   1.405 +		const TCategoryResult	KCRSuccess							= 0;
   1.406 +		const TCategoryResult	KCRMemoryLimitExceeded				= 1;
   1.407 +		const TCategoryResult	KCRServiceCategoryLimitExceeded		= 2;
   1.408 +		const TCategoryResult	KCRCategoryAlreadyProgrammed		= 3;
   1.409 +
   1.410 +		const TCategoryResult	KCRCategoryNotPreviouslyProgrammed 	= 4;
   1.411 +		const TCategoryResult	KCRInvalidMaxMessages				= 5;
   1.412 +		const TCategoryResult	KCRInvalidAlertOption				= 6;
   1.413 +		const TCategoryResult	KCRInvalidServiceCategoryName		= 7;
   1.414 +		const TCategoryResult	KCRUnspecifiedProgrammingFailure	= 8;
   1.415 +		const TCategoryResult	KCRMaxResult						= 8;
   1.416 +
   1.417 +	/** Defines the Operation Code from TIA/EIA-637-B Section 4.5.19
   1.418 +	@publishedAll
   1.419 +	@interim
   1.420 +	*/
   1.421 +	typedef TUint8 TOperationCode;
   1.422 +		const TOperationCode	KOCDelete			= 0;
   1.423 +		const TOperationCode	KOCAdd				= 1;
   1.424 +		const TOperationCode	KOCClearAll			= 2;
   1.425 +		const TOperationCode	KMaxOperationCode	= 2;
   1.426 +
   1.427 +	/** Defines the Service Category Alert Option from TIA/EIA-637-B Table 4.5.19-1
   1.428 +	@publishedAll
   1.429 +	@interim
   1.430 +	*/
   1.431 +	typedef TUint8 TAlertOption;
   1.432 +		const TAlertOption		KNoAlert					= 0;
   1.433 +		const TAlertOption		KMobileStationDefault		= 1;
   1.434 +		const TAlertOption		KVibrateAlertOnce			= 2;
   1.435 +		const TAlertOption		KVinrateAlertRepeat			= 3;
   1.436 +		const TAlertOption		KVisualAlertOnce			= 4;
   1.437 +		const TAlertOption		KVisualAlertRepeat			= 5;
   1.438 +		const TAlertOption		KLowPriorityAlertOnce		= 6;
   1.439 +		const TAlertOption		KLowPriorityAlertRepeat		= 7;
   1.440 +		const TAlertOption		KMedPriorityAlertOnce		= 8;
   1.441 +		const TAlertOption		KMedPriorityAlertRepeat		= 9;
   1.442 +		const TAlertOption		KHighPriorityAlertOnce		= 10;
   1.443 +		const TAlertOption		KHighPriorityAlertRepeat	= 11;
   1.444 +		const TAlertOption		KMaxAlertOpton 				= 11;
   1.445 +
   1.446 +
   1.447 +	typedef TUint8 TWapApplication;
   1.448 +		const TWapApplication	KWdpApp			= 0;	/** @see WAP-259-WDP-20010614-a sec.6.5.2 */
   1.449 +		const TWapApplication	KWcmpApp		= 1;	/** @see WAP-202-WCMP-20010624-a sec 5.4.4 */		
   1.450 +		const TWapApplication	KUndefinedApp	= 0xFF;
   1.451 +		
   1.452 +	typedef TUint16 TWapPortNumber;
   1.453 +		
   1.454 +	}
   1.455 +
   1.456 +
   1.457 +#endif //__TIA637_H__