fotaapplication/cenrep/fotaserverPrivateCRKeys.h
author hgs
Tue, 13 Jul 2010 09:51:41 +0530
changeset 51 2e64dc50f295
permissions -rw-r--r--
201025_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     1
/*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     2
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     3
* All rights reserved.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     8
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
     9
* Initial Contributors:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    11
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    12
* Contributors:
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    13
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    14
* Description:   	CR keys for fotaserver
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    15
*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    16
*/
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    17
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    18
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    19
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    20
#ifndef FOTASERVER_PRIVATE_KEYS_H
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    21
#define FOTASERVER_PRIVATE_KEYS_H
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    22
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    23
// CONSTANTS
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    24
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    25
// FS key UID
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    26
const TUid KCRUidFotaServer = { 0x102072C4 };
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    27
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    28
// Device manager key UID
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    29
const TUid KPSUidNSmlDMSyncApp = {0x101f6de5};
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    30
// Whether update agent should be simulated by FS
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    31
const TUint32 KSimulateUpdateAgent = 0x00000001;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    32
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    33
//Flag to enable/disable the  feature ,.."Send Generic alert after device reboots"
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    34
//Allowed values   1  , 0 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    35
const TUint32 KGenericAlertResendAfterBoot = 0x00000002;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    36
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    37
//Flag to configure number of retries for sending GA in failure cases.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    38
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    39
const TUint32 KGenericAlertRetries = 0x00000003;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    40
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    41
//Determines state of fota update.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    42
//0 - Default , no action taken. 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    43
//1 - Firmware update/GA 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    44
//2. Download Interrupted
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    45
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    46
const TUint32 KFotaUpdateState   = 0x00000004;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    47
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    48
//Determines whether the Fota Monitory Service is enabled or not.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    49
//0 (default ) - Feature OFF
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    50
//1   - Feature ON
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    51
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    52
const TUint32  KFotaMonitoryServiceEnabled = 0x00000005;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    53
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    54
/*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    55
* This key is used to determine the maximum number of postpones allowed for a FOTA Update.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    56
* Default value : 3
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    57
*/
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    58
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    59
const TUint32 KFOTAMaxPostponeCount = 0x00000006; 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    60
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    61
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    62
/*
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    63
* This key is used to determine the number of postpones done by the user for a particular FOTA Update.
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    64
* Default value : 0
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    65
*/
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    66
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    67
const TUint32 KFOTAUserPostponeCount = 0x00000007; 
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    68
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    69
const TUint32 KUpdateRequesterUid = 0x0000008;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    70
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    71
const TUint32 KFOTADownloadRestartCount = 0x0000009;
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    72
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    73
#endif // FOTASERVER_PRIVATE_KEYS_H
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    74
            
2e64dc50f295 201025_02
hgs
parents:
diff changeset
    75
// End of File