1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
112 const TUint8 KCallPadding = 0x00; |
110 const TUint8 KCallPadding = 0x00; |
113 |
111 |
114 // Subbclock length |
112 // Subbclock length |
115 const TInt KSubBlockLengthOffset1 = 1; |
113 const TInt KSubBlockLengthOffset1 = 1; |
116 |
114 |
117 // masks for detailed cause values. |
|
118 // see 3GPP TS 24.008 V5.16.0 spec |
|
119 const TUint8 KDiagnosticsOctet2( 0x02 ); // B0000_0100 |
|
120 const TUint8 KDiagnosticsOctet3( 0xC0 ); // B1100_0000 |
|
121 const TUint8 KDiagnosticsOctet4( 0x95 ); // B1001_0101 |
|
122 const TUint8 KDiagnosticsOctet5( 0x82 ); // B1000_0010 |
|
123 const TUint8 KDiagnosticsOctet6( 0x02 ); // B0000_0010 |
|
124 |
|
125 // MACROS |
115 // MACROS |
126 // None |
116 // None |
127 |
117 |
128 // DATA TYPES |
118 // DATA TYPES |
129 // None |
119 // None |
823 /** |
813 /** |
824 * Breaks received CallModemResourceResp ISI message. |
814 * Breaks received CallModemResourceResp ISI message. |
825 * @param aIsiMessage: received Isi message. |
815 * @param aIsiMessage: received Isi message. |
826 */ |
816 */ |
827 void CallModemResourceResp( const TIsiReceiveC &aIsiMessage ); |
817 void CallModemResourceResp( const TIsiReceiveC &aIsiMessage ); |
828 |
818 |
829 /** |
819 /** |
830 * Creates SendCallmodemResourceDenied ISI message to modem call server. |
820 * Creates SendCallmodemResourceDenied ISI message to modem call server. |
831 * @param aDatapackage |
821 * @param aDatapackage |
832 * @return None |
822 * @return None |
833 */ |
823 */ |
834 void CallModemResourceReqDenied(); |
824 void CallModemResourceReqDenied( |
835 |
825 const TUint8 aCauseType, |
|
826 const TUint8 aCause, |
|
827 const TDesC8& aDetailedCause ); |
|
828 |
836 /* |
829 /* |
837 * This method completes drive mode functions, if drive mode flag |
830 * This method completes drive mode functions, if drive mode flag |
838 * is enabled |
831 * is enabled |
839 * @param aDataPackage: data package |
832 * @param aDataPackage: data package |
840 * @return TInt: KErrNone |
833 * @return TInt: KErrNone |
841 */ |
834 */ |
842 void CompleteDCMdrivemodeFunctionalityL(); |
835 void CompleteDCMdrivemodeFunctionalityL(); |
|
836 |
|
837 /* |
|
838 * This method interpretes channel ID from context name. |
|
839 * @param TInfoName: Context name |
|
840 * @return TInt: Channel ID |
|
841 */ |
|
842 TInt getProxyId(const TInfoName& contextName); |
843 |
843 |
844 public: // Data |
844 public: // Data |
845 // None |
845 // None |
846 |
846 |
847 protected: // Data |
847 protected: // Data |
891 // List of contexts to be deactivated (for allow incoming call feature) |
891 // List of contexts to be deactivated (for allow incoming call feature) |
892 CArrayFixFlat<TUint8>* iDeactivateContextList; |
892 CArrayFixFlat<TUint8>* iDeactivateContextList; |
893 |
893 |
894 // Buffer for isimessage. Used in resource control |
894 // Buffer for isimessage. Used in resource control |
895 HBufC8* iResourceControlMsg; |
895 HBufC8* iResourceControlMsg; |
896 |
896 |
897 //drive mode flag |
897 // drive mode flag |
898 TBool iDriveModeFlag; |
898 TBool iDriveModeFlag; |
899 |
899 |
900 }; |
900 }; |
901 |
901 |
902 #endif // CMMPACKETCONTEXTMESSHANDLER_H |
902 #endif // CMMPACKETCONTEXTMESSHANDLER_H |