67 |
67 |
68 const TUint32 KDestProtectionLevelMask = 0xF0000000; |
68 const TUint32 KDestProtectionLevelMask = 0xF0000000; |
69 const TInt KBitsToShiftDestProtectionLevel = 28; |
69 const TInt KBitsToShiftDestProtectionLevel = 28; |
70 |
70 |
71 |
71 |
72 // Buffer size for initial connection method query |
72 // Buffer size for initial connection method query. |
73 const TInt KCmmConnMethodAmountNormal = 64; //TODO, Check value |
73 const TInt KCmmConnMethodAmountNormal = 64; //TODO, Check value |
74 // Maximum theoretical amount of connection methods |
74 // Maximum theoretical amount of connection methods. |
75 const TInt KCmmConnMethodAmountMax = 256; |
75 const TInt KCmmConnMethodAmountMax = 256; |
76 |
76 |
77 // Buffer size for initial destination query |
77 // Buffer size for initial destination query. |
78 const TInt KCmmDestAmountNormal = 32; |
78 const TInt KCmmDestAmountNormal = 32; |
79 // Maximum theoretical amount of connection methods |
79 // Maximum theoretical amount of connection methods. |
80 const TInt KCmmDestAmountMax = 256; |
80 const TInt KCmmDestAmountMax = 256; |
81 |
81 |
82 // Buffer size for supported bearers query |
82 // Buffer size for supported bearers query. |
83 const TInt KCmmBearerAmountNormal = 10; |
83 const TInt KCmmBearerAmountNormal = 10; |
84 |
84 |
85 // Buffer size for bearer priority array query, first attempt |
85 // Buffer size for bearer priority array query, first attempt. |
86 const TInt KCmmDefaultBearerPriorityArraySize = 256; |
86 const TInt KCmmDefaultBearerPriorityArraySize = 256; |
87 |
87 |
88 // iPriority: 2 16-bit values, |
88 // iPriority: 2 16-bit values, |
89 // iUIPriority: 2 16-bit values, |
89 // iUIPriority: 2 16-bit values, |
90 // iServiceType length: 1 16-bit value. |
90 // iServiceType length: 1 16-bit value. |
91 const TInt KCmmBearerPriorityHeaderLength = 5; |
91 const TInt KCmmBearerPriorityHeaderLength = 5; |
92 |
92 |
93 |
93 // Name of the icon for the 'uncategorized' group. This group is a UI-construct |
94 // Opcodes used in message passing between client and server |
94 // that is used to group all uncategorized IAPs together. |
|
95 _LIT( KCmmUncategorizedIconName, "qtg_small_favorite" ); |
|
96 |
|
97 // Minimum disk space required for writing operations. |
|
98 const TInt KMinimumDiskSpace = 8192; |
|
99 |
|
100 // Opcodes used in message passing between client and server. |
95 enum TCmmRequests |
101 enum TCmmRequests |
96 { |
102 { |
97 ECmmGetBearerInfoInt = 0, |
103 ECmmGetBearerInfoInt = 0, |
98 ECmmGetBearerInfoBool = 1, |
104 ECmmGetBearerInfoBool = 1, |
99 ECmmGetBearerInfoString = 2, |
105 ECmmGetBearerInfoString = 2, |