fotaapplication/fotaserver/cenrep/fotaserverPrivateCRKeys.h
branchRCL_3
changeset 26 19bba8228ff0
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
       
     1 /*
       
     2 * Copyright (c) 2005 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:   	CR keys for fotaserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef FOTASERVER_PRIVATE_KEYS_H
       
    21 #define FOTASERVER_PRIVATE_KEYS_H
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 // FS key UID
       
    26 const TUid KCRUidFotaServer = { 0x102072C4 };
       
    27 
       
    28 // Device manager key UID
       
    29 const TUid KPSUidNSmlDMSyncApp = {0x101f6de5};
       
    30 // Whether update agent should be simulated by FS
       
    31 const TUint32 KSimulateUpdateAgent = 0x00000001;
       
    32 
       
    33 // DM UI Silent feature variation
       
    34 const TUint32 KSilentOmaDlUIBehavior = 0x00000002;
       
    35 
       
    36 //Flag to enable/disable the  feature ,.."Send Generic alert after device reboots"
       
    37 //Allowed values   1  , 0 
       
    38 const TUint32 KGenericAlertResendAfterBoot = 0x00000003;
       
    39 
       
    40 //Flag to configure number of retries for sending GA in failure cases.
       
    41 
       
    42 const TUint32 KGenericAlertRetries = 0x00000004;
       
    43 
       
    44 //Determines state of fota update.
       
    45 //0 - Default , no action taken. 
       
    46 //1 - Firmware update/GA 
       
    47 //2. Download Interrupted
       
    48 
       
    49 const TUint32 KFotaUpdateState   = 0x00000005;
       
    50 
       
    51 //Determines whether the Fota Suspend and Resume Feature is supported or not.
       
    52 //0 (default) - Feature OFF 
       
    53 //1   - Feature ON
       
    54 
       
    55 const TUint32 KSuspendResumeFeatureSupported = 0x00000006;
       
    56 
       
    57 //Determines whether the Fota Monitory Service is enabled or not.
       
    58 //0 (default ) - Feature OFF
       
    59 //1   - Feature ON
       
    60 
       
    61 const TUint32  KFotaMonitoryServiceEnabled = 0x00000007;
       
    62 
       
    63 //This key is to configure  the reminder options .
       
    64 //Format :
       
    65 //1h:4h:1d:3m:NROFF
       
    66 //h - hour/s. 
       
    67 //d- day/s
       
    68 //m - minute/s
       
    69 //":" Is the separator.
       
    70 //Currently only first 4 options are read to show reminder duration.
       
    71 //5th option can have value NROFF which means that "No reminder" option  will not be shown.
       
    72 //if 5th option has any other value other than NROFF , "No reminder" option will be shown
       
    73 //Default value : NULL.  Which means current options  1h:4h:1d:3d are taken 
       
    74 //into consideration along with No Reminder option.
       
    75 
       
    76 const TUint32 KFotaOptionsForReminderDuration = 0x00000008;
       
    77 
       
    78 //This key is to enable feature to reset the timer after device reboot  .
       
    79 //If value is 0 : Feature is OFF. - Default value
       
    80 //If value is 1  : Feature is ON.
       
    81 //Any other value its feature OFF
       
    82 //If feature is ON then if there was a reminder  set once 
       
    83 //device reboots timer should be reset and note to install Firmware update is shown .
       
    84 
       
    85 const TUint32 KFotaReminderTimerReset = 0x00000009;
       
    86 //This key is to enable feature to reset the timer after device reboot  .
       
    87 //If value is 0 :  Dynamo charger
       
    88 //If value is 1  : USB charger
       
    89 //Any other value its feature OFF
       
    90 
       
    91 const TUint32 KFotaUSBChargerEnabled  = 0x0000000A; 
       
    92 
       
    93 //This key stores the drive id to encrypt after update.
       
    94 const TUint32 KDriveToEncrypt  = 0x0000000B;
       
    95 
       
    96 //Determines whether FOTA Install Update note to be displayed or not,
       
    97 //when a phone call is active
       
    98 //0 (default) - Install update note not displayed when a call is active 
       
    99 //1   - Install update note will be displayed when a call is active
       
   100 const TUint32 KFotaUpdateNoteDisplayAlways= 0x0000000C;
       
   101 
       
   102 /*
       
   103 * This key is used to determine the maximum number of postpones allowed for a FOTA Update.
       
   104 * Default value : 3
       
   105 */
       
   106 
       
   107 const TUint32 KFOTAMaxPostponeCount = 0x0000000D; 
       
   108 
       
   109 
       
   110 /*
       
   111 * This key is used to determine the number of postpones done by the user for a particular FOTA Update.
       
   112 * Default value : 0
       
   113 */
       
   114 
       
   115 const TUint32 KFOTAUserPostponeCount = 0x0000000E; 
       
   116 
       
   117 
       
   118 /*
       
   119 * This flag defines if the feature to enable  the customized UI notes for interacttrive and note between firware install and update.
       
   120 * Default value : 0
       
   121 */
       
   122 
       
   123 const TUint32 KFOTAUINotesCustomization = 0x0000000F; 
       
   124 
       
   125 #endif // FOTASERVER_PRIVATE_KEYS_H
       
   126             
       
   127 // End of File