iaupdate/IAD/firmwareupdate/inc/iaupdatefwconst.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2008 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:   
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATE_FW_CONST_H
       
    21 #define IAUPDATE_FW_CONST_H
       
    22 
       
    23 
       
    24 /**
       
    25 * FOTA server UID
       
    26 */
       
    27 const TUid KFOTAUid = {0x102072C4};
       
    28 
       
    29 const TUint KMaxProfileNameLength = 100; 
       
    30 
       
    31 //include the const defined in DM UI NSmlDMdef.h
       
    32 
       
    33 #define KNSmlMaxProfileNameLength 100
       
    34 #define KNSmlMaxItemLength 150  // The item max length.
       
    35 
       
    36 const TInt KBufSize     = 128;
       
    37 const TInt KBufSize32   = 32;
       
    38 const TInt KBufSize255  = 255;
       
    39 const TInt KBufSize256  = 256;
       
    40 
       
    41 const TInt KDefaultHttpsPort    = 443;
       
    42 const TInt KDefaultHttpPort     = 80;
       
    43 const TInt KHttpUsed  = 1;
       
    44 const TInt KHttpNotUsed  = 0;
       
    45 
       
    46 const TInt KDMErr                   = -8144;
       
    47 
       
    48 const TUid KUidNSmlMediumTypeInternet  = { 0x101F99F0 };
       
    49 const TUid KUidNSmlMediumTypeBluetooth = { 0x101F99F1 };
       
    50 const TUid KUidNSmlMediumTypeUSB       = { 0x101F99F2 };
       
    51 
       
    52 _LIT( KSlash,       "/" );
       
    53 _LIT( KHttpHeader,  "http://" );
       
    54 _LIT( KHttpsHeader, "https://" );
       
    55 _LIT( KColon,       ":" );
       
    56 
       
    57 
       
    58 enum TNSmlSyncBearerType
       
    59     {
       
    60     EAspBearerInternet = 0,
       
    61     EAspBearerBlueTooth = 1,
       
    62     EAspBearerUsb = 2,
       
    63     EAspBearerIrda = 3,
       
    64     EAspBearerLast = 4
       
    65     };
       
    66 
       
    67 enum TNSmlSyncTransportProperties
       
    68     {
       
    69     EPropertyIntenetAccessPoint = 0,
       
    70     EPropertyHttpUsed = 5,
       
    71     EPropertyHttpUserName = 6,
       
    72     EPropertyHttpPassword = 7
       
    73     };
       
    74 
       
    75 enum TNSmlSyncState
       
    76     {
       
    77     ESASyncStateEnable,
       
    78     ESASyncStateDisable,
       
    79     ESASyncStateConfirm
       
    80     };
       
    81 
       
    82 enum TNSmlStatus
       
    83     {
       
    84     ENSmlSyncComplete,
       
    85     ENSmlRefreshMainView
       
    86     };
       
    87 
       
    88 #endif //IAUPDATE_FW_CONST_H
       
    89 
       
    90