remotemgmt_plat/fota_engine_api/inc/fotaconst.h
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
    21 
    21 
    22 
    22 
    23 // Definition of app server uid and service uid
    23 // Definition of app server uid and service uid
    24 #define KFotaServerUid	0x102072C4
    24 #define KFotaServerUid	0x102072C4
    25 #define KFotaServiceUid	0x102072C5
    25 #define KFotaServiceUid	0x102072C5
       
    26 #define KStorageIFUid   0x10207384
    26 #define KDMHostServer1Uid	0x101F9A02
    27 #define KDMHostServer1Uid	0x101F9A02
    27 #define KSosServerUid   0x101f99fb
    28 #define KSosServerUid   0x101f99fb
    28 #define KOmaDMAppUid    0x101F6DE5
    29 #define KOmaDMAppUid    0x101F6DE5
    29 #define KStarterUid     0x2000D75B
    30 #define KStarterUid     0x2000D75B
    30 #define KFotaScheduler	0x101F99FA
    31 #define KFotaScheduler	0x101F99FA
    35 // How many times generic alert sending should be tried. Checked on launch 
    36 // How many times generic alert sending should be tried. Checked on launch 
    36 // of fotaserver
    37 // of fotaserver
    37 const TInt KDefaultSmlTryCount = 4;
    38 const TInt KDefaultSmlTryCount = 4;
    38 const TInt KMaximumSmlTryCount = 1000;
    39 const TInt KMaximumSmlTryCount = 1000;
    39 
    40 
       
    41 // Chunk used to transfer swupd
       
    42 const TInt  KFotaChunkMinSize = 131072;//128 KB size
       
    43 const TInt  KFotaChunkMaxSize = 3000000;
    40 
    44 
    41 const TInt KFotaMaxPkgURLLength     ( 2048 );
    45 const TInt KFotaMaxPkgURLLength     ( 2048 );
    42 const TInt KFotaMaxPkgNameLength    ( 80 );
    46 const TInt KFotaMaxPkgNameLength    ( 80 );
    43 const TInt KFotaMaxPkgVersionLength ( 80 );
    47 const TInt KFotaMaxPkgVersionLength ( 80 );
    44 
    48 
    45 
    49 
    46 const TInt KBmpMargin(21);
    50 const TInt KBmpMargin(21);
    47 
    51 
    48 _LIT8( KNSmlIAPId,			"NSmlIapId" ); 
    52 _LIT8( KNSmlIAPId,			"NSmlIapId" ); 
    49 _LIT( KFotaPanic, "FotaServer");
    53 _LIT( KFotaPanic, "Download");
    50 _LIT(KFotaServerName,"FotaServer");
       
    51 _LIT( KFotaServerScem, "FotaServer_10247628");
       
    52 
       
    53 enum TFotaClient
       
    54     {
       
    55     EUnknown = 0,
       
    56     EDMHostServer = 1,
       
    57     EOMADMAppUi = 2,
       
    58     EFotaScheduler  = 3,
       
    59     EStarter  = 4,
       
    60     EFMSServer = 5,
       
    61     EFotaTestApp = 6,
       
    62     ESoftwareChecker = 7,
       
    63     ESoftwareCheckerBackground = 8
       
    64     };
       
    65 
    54 
    66 #endif
    55 #endif