|
1 /* |
|
2 * Copyright (c) 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 the License "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MODEMATCLIENTSRV_H |
|
21 #define MODEMATCLIENTSRV_H |
|
22 |
|
23 // Opcodes used in message passing between client and server |
|
24 enum TModemAtIpc |
|
25 { |
|
26 EATExtSetExtensionInterface = 0, |
|
27 EModemATHandleCommand, |
|
28 EReceiveUnsolicitedResult, |
|
29 EReceiveUnsolicitedResultCancel, |
|
30 EModemATHandleCommandCancel, |
|
31 EModemATReceiveSignalInd, |
|
32 EModemATReceiveSignalIndCancel, |
|
33 EModemATGetNvramStatus, |
|
34 EModemATCommandMode, |
|
35 EModemATCommandModeCancel, |
|
36 EModemAtRemovePipe, |
|
37 EInvalidIpc |
|
38 }; |
|
39 |
|
40 // server name |
|
41 _LIT( KATExtSrvName, "modematcontroller" ); |
|
42 |
|
43 // A version must be specifyed when creating a session with the server |
|
44 const TUint KCommonServerMajorVersionNumber = 1; |
|
45 const TUint KCommonServerMinorVersionNumber = 0; |
|
46 const TUint KCommonServerBuildVersionNumber = 0; |
|
47 |
|
48 // A version must be specifyed when creating a session with the server |
|
49 const TUint KServerMajorVersionNumber = 1; |
|
50 const TUint KServerMinorVersionNumber = 0; |
|
51 const TUint KServerBuildVersionNumber = 0; |
|
52 |
|
53 #endif // MODEMATCLIENTSRV_H |
|
54 |