equal
deleted
inserted
replaced
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 |
|
27 #define KDMHostServer1Uid 0x101F9A02 |
26 #define KDMHostServer1Uid 0x101F9A02 |
28 #define KSosServerUid 0x101f99fb |
27 #define KSosServerUid 0x101f99fb |
29 #define KOmaDMAppUid 0x101F6DE5 |
28 #define KOmaDMAppUid 0x101F6DE5 |
30 #define KStarterUid 0x2000D75B |
29 #define KStarterUid 0x2000D75B |
31 #define KFotaScheduler 0x101F99FA |
30 #define KFotaScheduler 0x101F99FA |
36 // How many times generic alert sending should be tried. Checked on launch |
35 // How many times generic alert sending should be tried. Checked on launch |
37 // of fotaserver |
36 // of fotaserver |
38 const TInt KDefaultSmlTryCount = 4; |
37 const TInt KDefaultSmlTryCount = 4; |
39 const TInt KMaximumSmlTryCount = 1000; |
38 const TInt KMaximumSmlTryCount = 1000; |
40 |
39 |
41 // Chunk used to transfer swupd |
|
42 const TInt KFotaChunkMinSize = 131072;//128 KB size |
|
43 const TInt KFotaChunkMaxSize = 3000000; |
|
44 |
40 |
45 const TInt KFotaMaxPkgURLLength ( 2048 ); |
41 const TInt KFotaMaxPkgURLLength ( 2048 ); |
46 const TInt KFotaMaxPkgNameLength ( 80 ); |
42 const TInt KFotaMaxPkgNameLength ( 80 ); |
47 const TInt KFotaMaxPkgVersionLength ( 80 ); |
43 const TInt KFotaMaxPkgVersionLength ( 80 ); |
48 |
44 |
49 |
45 |
50 const TInt KBmpMargin(21); |
46 const TInt KBmpMargin(21); |
51 |
47 |
52 _LIT8( KNSmlIAPId, "NSmlIapId" ); |
48 _LIT8( KNSmlIAPId, "NSmlIapId" ); |
53 _LIT( KFotaPanic, "Download"); |
49 _LIT( KFotaPanic, "FotaServer"); |
|
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 }; |
54 |
65 |
55 #endif |
66 #endif |