pnpmobileservices/pnpms/OnlineSupport/inc/DeviceParameterDefs.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 "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:  Definitions for device parameter names and values
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DEVICE_PARAMETER_DEFS_H
       
    20 #define DEVICE_PARAMETER_DEFS_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 // Delimeter for URL parameters
       
    25 _LIT( KParameterDelimeter,"&" );
       
    26 _LIT( KQuestionMark,"?" );
       
    27 _LIT( KParenthesisOpen, "(");
       
    28 _LIT( KParenthesisClose, ")");
       
    29 _LIT( KSpace," " );
       
    30 
       
    31 // Version parameter
       
    32 _LIT( KPnpVersionParameter,"cVersion=" );
       
    33 
       
    34 // Query parameter
       
    35 _LIT( KQueryParameter, "hQuery=" );
       
    36 
       
    37 // Sim MMC parameter
       
    38 _LIT( KSimMccParameter,"MCC=" );
       
    39 
       
    40 // Sim MNC parameter
       
    41 _LIT( KSimMncParameter,"MNC=" );
       
    42 
       
    43 // current MMC parameter
       
    44 _LIT( KCurrentMccParameter,"cMCC=" );
       
    45 
       
    46 // current MNC parameter
       
    47 _LIT( KCurrentMncParameter,"cMNC=" );
       
    48 
       
    49 // Token related parameters parameter
       
    50 _LIT( KTokenParameter,"TOKEN=" );
       
    51 _LIT( KTokenValidityTimeParameter,"tValid=" );
       
    52 
       
    53 // PKI related parameters
       
    54 _LIT( KNonceParameter,"Nonce=" );
       
    55 _LIT( KKeyInfoParameter,"Key=" );
       
    56 
       
    57 // Connection reason parameter
       
    58 _LIT( KConnectReasonParameter,"cReason=" );
       
    59 
       
    60 // Operator name (from SIM)
       
    61 _LIT( KOperatorNameParameter,"Oper=" );
       
    62 
       
    63 // Current Operator name
       
    64 _LIT( KCurrentOperatorNameParameter,"cOper=" );
       
    65 
       
    66 // Preferred language
       
    67 _LIT( KLanguageParameter, "Lang=" );
       
    68 
       
    69 // MSISDN parameter
       
    70 _LIT( KMSISDNParameter, "MSISDN=" );
       
    71 
       
    72 // User Agent profile
       
    73 _LIT( KUAProfParameter, "UAProf=" );
       
    74 
       
    75 // Device type parameter
       
    76 _LIT( KDeviceTypeParameter,"dType=" );
       
    77 _LIT( KSymbianOs, "Symbian%20" ); // Url encoded format
       
    78 
       
    79 _LIT(KSW, "SW=" );
       
    80 _LIT(KHW, "HW=" );
       
    81 
       
    82 // AutoStart (silent mode) parameters
       
    83 _LIT( KInteractiveSessionParameter, "iActive=" );
       
    84 _LIT( KInteractiveSession, "1" );        // the client can display markup pages (this is the default). 
       
    85 _LIT( KNonInteractiveSession, "0" );    // non-interactive provisioning operation is expected
       
    86 
       
    87 // IMEI
       
    88 //_LIT( KImei, "DeviceId=" );
       
    89 
       
    90 _LIT( KPhoneAlias, "dAlias=" );
       
    91 _LIT( KPhoneAliasValue, "NOKIA6600" );
       
    92 
       
    93 #endif // DEVICE_PARAMETER_DEFS_H