0
|
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 |
#ifndef PN_CONST_H
|
|
20 |
#define PN_CONST_H
|
|
21 |
|
|
22 |
|
|
23 |
/* === Media === */
|
|
24 |
#define PN_MEDIA_XTI 0x10 /* Trace interface */
|
|
25 |
#define PN_MEDIA_MODEM_HOST_IF 0x26 /* Modem-host interface */
|
|
26 |
|
|
27 |
/* === Devices === */
|
|
28 |
#define PN_DEV_HOST 0x00 /* Host */
|
|
29 |
#define PN_DEV_MODEM 0x60 /* Modem */
|
|
30 |
|
|
31 |
/* === Objects === */
|
|
32 |
#define PN_OBJ_ROUTING_REQ 0x00 /* Resource-based routing */
|
|
33 |
#define PN_OBJ_EVENT_MULTICAST 0x20 /* Indications are sent to this object */
|
|
34 |
|
|
35 |
/* === Resources/Servers === */
|
|
36 |
#define PN_SMS 0x02 /* Short Message Services */
|
|
37 |
#define PN_SS 0x06 /* Supplementary Services */
|
|
38 |
#define PN_COMMGR 0x10 /* Indication subscription messages */
|
|
39 |
#define PN_CSD 0x16 /* Circuit Switched Data */
|
|
40 |
#define PN_GPDS 0x31 /* General Packet Radio System server */
|
|
41 |
#define PN_GSS 0x32 /* GSM Stack server */
|
|
42 |
#define PN_UICC 0x8C /* Universal Integrated Circuit Card */
|
|
43 |
#define PN_AT_MODEM 0x8E /* Modem AT server */
|
|
44 |
#define PN_MODEM_LCS 0x90 /* Modem LCS server */
|
|
45 |
#define PN_MODEM_TEST 0x91 /* Modem Test server */
|
|
46 |
#define PN_MODEM_NVD 0x92 /* Modem Non Volatile Data server */
|
|
47 |
#define PN_MODEM_PERM 0x93 /* Modem PERManent Data server */
|
|
48 |
#define PN_RF_HAL 0xB7 /* RF control and tuning server */
|
|
49 |
#define PN_MODEM_MCE 0xC2 /* Modem MCE server */
|
|
50 |
#define PN_MODEM_MON 0xC3 /* Modem Monitor server */
|
|
51 |
#define PN_MODEM_NETWORK 0xC8 /* Modem NET server */
|
|
52 |
#define PN_MODEM_CALL 0xC9 /* Modem CALL server */
|
|
53 |
#define PN_MODEM_GAN 0xCB /* 3GPP GAN Protocol Stack server */
|
|
54 |
#define PN_PIPE 0xD9 /* Pipe messages */
|
|
55 |
#define PN_COMMON_RF_TEST 0xEC /* Common RF test server */
|
|
56 |
#define PN_WCDMA_RF_TEST 0xEE /* WCDMA RF test server */
|
|
57 |
#define PN_GSM_RF_TEST 0xF1 /* GSM test server */
|
|
58 |
|
|
59 |
#define PN_MTC 21 /* 0x15 [S] Mobile Terminal Control */
|
|
60 |
#define PN_PHONE_INFO 27 /* 0x1B [S] Phone Info Server */
|
|
61 |
#define PN_INFO PN_PHONE_INFO /* [X] [A] */
|
|
62 |
#define PN_NAMESERVICE 219 /* 0xDB [PN] Name Service Messages */
|
|
63 |
#define PN_NAME_SERVICE PN_NAMESERVICE /* [X] [A] */
|
|
64 |
#define PN_GPRS PN_GPDS /* [X] [A] */
|
|
65 |
|
|
66 |
|
|
67 |
/* === NOTE! Next definitions are temporary System resources from non MeXe pn_const === */
|
|
68 |
|
|
69 |
#define PN_HEADER_SIZE 0x06
|
|
70 |
|
|
71 |
#define PN_DEV_GLOBAL 0xFF /* 255 */
|
|
72 |
|
|
73 |
#define PN_PREFIX 224 /* 0xE0 */
|
|
74 |
|
|
75 |
/* Macro handling extended resource id's */
|
|
76 |
#define PN_RES(Type, SubType) (PN_PREFIX + (Type << 8) + (SubType <<16))
|
|
77 |
|
|
78 |
//#define PN_NUMBER_OF_EXTEND_RES 1 /* Number of extended resources */
|
|
79 |
|
|
80 |
#define PN_SOS_DMC_EXTENDED PN_RES(PN_RES_TYPE_SOS,2) /* 0x0202E0 [S] Symbian Device Mode Controller */
|
|
81 |
|
|
82 |
|
|
83 |
#endif /* PN_CONST_H */
|
|
84 |
|
|
85 |
/* End of File */
|