remotemgmt_plat/fota_engine_api/inc/fotaconst.h
changeset 0 b497e44ab2fc
child 25 b183ec05bd8c
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2002 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:  fotaserver constants
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __FOTACONST_H___
       
    20 #define __FOTACONST_H___
       
    21 
       
    22 
       
    23 // Definition of app server uid and service uid
       
    24 #define KFotaServerUid	0x102072C4
       
    25 #define KFotaServiceUid	0x102072C5
       
    26 #define KStorageIFUid   0x10207384
       
    27 #define KDMHostServer1Uid	0x101F9A02
       
    28 #define KSosServerUid   0x101f99fb
       
    29 #define KOmaDMAppUid    0x101F6DE5
       
    30 #define KStarterUid     0x2000D75B
       
    31 #define KFotaScheduler	0x101F99FA
       
    32 #define KFMSServerUid	0x200100C8
       
    33 #define KFMSServiceUid	0x200100C7
       
    34 #define KDLMgrServerUid 0x10008D60
       
    35 
       
    36 // How many times generic alert sending should be tried. Checked on launch 
       
    37 // of fotaserver
       
    38 const TInt KDefaultSmlTryCount = 4;
       
    39 const TInt KMaximumSmlTryCount = 1000;
       
    40 
       
    41 // Chunk used to transfer swupd
       
    42 const TInt  KFotaChunkMinSize = 131072;//128 KB size
       
    43 const TInt  KFotaChunkMaxSize = 3000000;
       
    44 
       
    45 const TInt KFotaMaxPkgURLLength     ( 2048 );
       
    46 const TInt KFotaMaxPkgNameLength    ( 80 );
       
    47 const TInt KFotaMaxPkgVersionLength ( 80 );
       
    48 
       
    49 
       
    50 const TInt KBmpMargin(21);
       
    51 
       
    52 _LIT8( KNSmlIAPId,			"NSmlIapId" ); 
       
    53 _LIT( KFotaPanic, "Download");
       
    54 
       
    55 #endif