diff -r 000000000000 -r b497e44ab2fc remotemgmt_plat/fota_engine_api/inc/fotaconst.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remotemgmt_plat/fota_engine_api/inc/fotaconst.h Thu Dec 17 09:07:52 2009 +0200 @@ -0,0 +1,55 @@ +/* +* 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 \ No newline at end of file