|
1 // Copyright (c) 1999-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 // This file implements TGsmuPanic and Panic() |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 */ |
|
21 |
|
22 #ifndef __GSMUMAIN_H__ |
|
23 #define __GSMUMAIN_H__ |
|
24 |
|
25 #include "smsstacklog.h" |
|
26 #include <e32base.h> |
|
27 |
|
28 /** |
|
29 * @internalComponent |
|
30 */ |
|
31 enum TGsmuPanic |
|
32 { |
|
33 // GSMUELEM.CPP |
|
34 KGsmuPanicCommandDataLengthTooLong=0x00, |
|
35 KGsmuPanicNoTelematicInterworking, |
|
36 KGsmuPanicNoTelematicDevice, |
|
37 KGsmuPanicNoShortMessageType, |
|
38 KGsmuPanicNotPossibleToSetNumberPlanIdentification, |
|
39 KGsmuPanicNoNumberPlanIdentificationDefined, |
|
40 KGsmuPanicNumQuarterHoursOutOfRange, |
|
41 KGsmuPanicValidityPeriodOutOfRange, |
|
42 KGsmuPanicInformationElementIndexOutOfRange, |
|
43 KGsmuPanicUserDataHeaderTooLong, |
|
44 KGsmuPanicUnsupportedAlphabet, |
|
45 KGsmuPanicUserDataBodyTooLong, |
|
46 KGsmuPanicCommandDataBufferTooLong, |
|
47 KGsmuPanicTextCompressed, |
|
48 KGsmuPanicNotSupportedWithDCSBits7To4, |
|
49 KGsmuPanicUnsupportedValidityPeriodFormat, |
|
50 KGsmuPanicConversionRetriedOut, |
|
51 KGsmuPanicDeprecatedMethod, |
|
52 KGsmuPanicMethodBodyNotImplemented, |
|
53 KGsmuPanicUnknownInformationElement, |
|
54 // GSMUPDU.CPP |
|
55 KGsmuPanicUnsupportedPduType=0x20, |
|
56 KGsmuPanicDataCodingSchemeNotPresent, |
|
57 KGsmuPanicMessageNotConcatenated, |
|
58 KGsmuPanicConcatenatedMessageReferenceOutOfRange, |
|
59 KGsmuPanicNumConcatenatedMessagePDUsOutOfRange, |
|
60 KGsmuPanicConcatenatedMessagePDUIndexOutOfRange, |
|
61 KGsmuPanicProtocolIdentifierNotPresent, |
|
62 KGsmuPanicParameterIndicatorNotPresent, |
|
63 KGsmuPanicUserDataNotPresent, |
|
64 KGsmuPanicToFromAddressNotPresent, |
|
65 KGsmuPanicNotRPError, |
|
66 KGsmuPanicPortOutOfRange, |
|
67 KGsmuPanicSetStatusReportRequestNotSupportedForCommandType, |
|
68 // GSMUMSG.CPP |
|
69 KGsmuPanicNotDecoded=0x40, |
|
70 KGsmuPanicTextNotPresent, |
|
71 KGsmuPanicFunctionNotSupportedWithTextCompression, |
|
72 KGsmuPanicSmsArrayNotEmpty, |
|
73 KGsmuPanicWrongNumberOfMessagePDUs, |
|
74 KGsmuPanicGsmCompressionDllAlreadyExists, |
|
75 KGsmuPanicTextTooLong, |
|
76 KGsmuPanicCompressionNotSupported, |
|
77 KGsmuPanicUnsupportedForPDUType, |
|
78 KGsmuPanicBadOptimizationOptions, |
|
79 KGSMUPanicUserTimeZoneOffsetOutOfRange, |
|
80 KGsmuPanicInconsistentMessageAttributes, |
|
81 // GSMUBUF |
|
82 KGsmuPanicTextHeaderTooLong=0x60, |
|
83 KGsmuPanicBufferNotReset, |
|
84 // GSMUSTORE |
|
85 KGsmuPanicSARStoreAlreadyOpen=0x80, |
|
86 KGsmuPanicSARStoreEntryArrayNotReset, |
|
87 KGsmuPanicSARStoreNotOpen, |
|
88 KGsmuPanicSAREntryDataStreamIdChanged, |
|
89 KGsmuPanicSAREntryDataStreamIdNotSet, |
|
90 KGsmuPanicSARStoreTransaction, |
|
91 // GSMUSAR |
|
92 KGsmuPanicIllegalSegmentSize=0x90, |
|
93 KGsmuPanicSegmentBufferTooSmall, |
|
94 // GSMUPRIV |
|
95 KGsmuPanicPackStartBitInvalid=0xa0, |
|
96 KGsmuPanicPackAlphabetInvalid, |
|
97 // GSMUIEOPERATIONS |
|
98 KGsmuPanicUnknownInformationElement1=0xb0, |
|
99 KGsmuPanicUnknownInformationElement2, |
|
100 KGsmuPanicUnknownInformationElement3, |
|
101 KGsmuPanicUnknownInformationElement4, |
|
102 KGsmuPanicUnknownInformationElement5, |
|
103 KGsmuPanicUnknownInformationElement6, |
|
104 KGsmuPanicUnknownInformationElement7, |
|
105 KGsmuPanicUnknownInformationElement8, |
|
106 KGsmuPanicUnknownInformationElement9, |
|
107 KGsmuPanicUnknownInformationElement10, |
|
108 KGsmuPanicUnknownInformationElement11, |
|
109 KGsmuPanicMethodBodyNotImplemented1, |
|
110 // GSMUINONEOPERATIONS |
|
111 KGsmuPanicVersionNotSupported=0xc0 |
|
112 }; |
|
113 |
|
114 /** |
|
115 * @internalComponent |
|
116 */ |
|
117 GLDEF_C void Panic(TGsmuPanic aPanic); |
|
118 |
|
119 |
|
120 #endif // __GSMUMAIN_H__ |