remotemgmt_plat/fota_engine_api/inc/fotaconst.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:42 +0100
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* 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 KStorageIFUid   0x10207384
#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;

// Chunk used to transfer swupd
const TInt  KFotaChunkMinSize = 131072;//128 KB size
const TInt  KFotaChunkMaxSize = 3000000;

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


const TInt KBmpMargin(21);

_LIT8( KNSmlIAPId,			"NSmlIapId" ); 
_LIT( KFotaPanic, "Download");

#endif