remotemgmt_plat/fota_engine_api/inc/fotaconst.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 15:14:24 +0300
changeset 44 39aa16f3fdc2
parent 0 b497e44ab2fc
child 62 19bba8228ff0
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  fotaserver constants
*
*/


#ifndef __FOTACONST_H___
#define __FOTACONST_H___


// Definition of app server uid and service uid
#define KFotaServerUid	0x102072C4
#define KFotaServiceUid	0x102072C5
#define KDMHostServer1Uid	0x101F9A02
#define KSosServerUid   0x101f99fb
#define KOmaDMAppUid    0x101F6DE5
#define KStarterUid     0x2000D75B
#define KFotaScheduler	0x101F99FA
#define KFMSServerUid	0x200100C8
#define KFMSServiceUid	0x200100C7
#define KDLMgrServerUid 0x10008D60

// How many times generic alert sending should be tried. Checked on launch 
// of fotaserver
const TInt KDefaultSmlTryCount = 4;
const TInt KMaximumSmlTryCount = 1000;


const TInt KFotaMaxPkgURLLength     ( 2048 );
const TInt KFotaMaxPkgNameLength    ( 80 );
const TInt KFotaMaxPkgVersionLength ( 80 );


const TInt KBmpMargin(21);

_LIT8( KNSmlIAPId,			"NSmlIapId" ); 
_LIT( KFotaPanic, "FotaServer");
_LIT(KFotaServerName,"FotaServer");
_LIT( KFotaServerScem, "FotaServer_10247628");

enum TFotaClient
    {
    EUnknown = 0,
    EDMHostServer = 1,
    EOMADMAppUi = 2,
    EFotaScheduler  = 3,
    EStarter  = 4,
    EFMSServer = 5,
    EFotaTestApp = 6,
    ESoftwareChecker = 7,
    ESoftwareCheckerBackground = 8
    };

#endif