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