author | mikaruus <mika.a.ruuskanen@nokia.com> |
Thu, 14 Jan 2010 10:44:58 +0200 | |
changeset 5 | 8ccc39f9d787 |
parent 0 | 63b37f68c1ce |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
* Copyright (c) 2007-2009 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 the License "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: |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
#ifndef SATMESSHANDLER_INL |
|
21 |
#define SATMESSHANDLER_INL |
|
22 |
||
23 |
// INCLUDES |
|
24 |
#include "satmesshandler.h" |
|
25 |
#include <net_modemisi.h> // net server |
|
26 |
||
27 |
||
28 |
// ----------------------------------------------------------------------------- |
|
29 |
// CSatMessHandler::TimeZone |
|
30 |
// Returns time zone value received from Network. |
|
31 |
// ----------------------------------------------------------------------------- |
|
32 |
// |
|
33 |
inline TUint8 CSatMessHandler::TimeZone() const |
|
34 |
{ |
|
35 |
return iTimeZone; |
|
36 |
} |
|
37 |
||
38 |
// ----------------------------------------------------------------------------- |
|
39 |
// CSatMessHandler::ImeiAvailable |
|
40 |
// Return ETrue if Imei has been successfullly read, EFalse if not. |
|
41 |
// ----------------------------------------------------------------------------- |
|
42 |
// |
|
43 |
inline TBool CSatMessHandler::ImeiAvailable() const |
|
44 |
{ |
|
5
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
45 |
return iImeiAvailable; |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
46 |
} |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
47 |
|
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
48 |
// ----------------------------------------------------------------------------- |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
49 |
// CSatMessHandler::ImeiSvAvailable |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
50 |
// Return ETrue if ImeiSv has been successfullly read, EFalse if not. |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
51 |
// ----------------------------------------------------------------------------- |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
52 |
// |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
53 |
inline TBool CSatMessHandler::ImeiSvAvailable() const |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
54 |
{ |
8ccc39f9d787
New release based on our 2010wk02 release
mikaruus <mika.a.ruuskanen@nokia.com>
parents:
0
diff
changeset
|
55 |
return iImeiSvAvailable; |
0 | 56 |
} |
57 |
||
58 |
// ----------------------------------------------------------------------------- |
|
59 |
// CSatMessHandler::ServiceAvailable |
|
60 |
// Returns ETrue if ME is in Service, otherwise EFalse |
|
61 |
// ----------------------------------------------------------------------------- |
|
62 |
// |
|
63 |
inline TBool CSatMessHandler::ServiceAvailable() const |
|
64 |
{ |
|
65 |
return iLocInfo.iRegStatus == NET_SERVICE ? ETrue : EFalse; |
|
66 |
} |
|
67 |
||
68 |
// ----------------------------------------------------------------------------- |
|
69 |
// CSatMessHandler::GetPollingOffStatus |
|
70 |
// Returns polling off status: true after a Polling Off, |
|
71 |
// and false after a polling interval pcmd |
|
72 |
// ----------------------------------------------------------------------------- |
|
73 |
// |
|
74 |
inline TBool CSatMessHandler::PollingOff() const |
|
75 |
{ |
|
76 |
return iPollingOff; |
|
77 |
} |
|
78 |
||
79 |
// ----------------------------------------------------------------------------- |
|
80 |
// CSatMessHandler::SetPollingOffStatus |
|
81 |
// Sets polling off status: true after a Polling Off, |
|
82 |
// and false after a polling interval pcmd |
|
83 |
// ----------------------------------------------------------------------------- |
|
84 |
// |
|
85 |
inline void CSatMessHandler::SetPollingOff |
|
86 |
( |
|
87 |
const TBool aPollingOff |
|
88 |
) |
|
89 |
{ |
|
90 |
iPollingOff = aPollingOff; |
|
91 |
} |
|
92 |
||
93 |
// ----------------------------------------------------------------------------- |
|
94 |
// CSatMessHandler::SsStatus |
|
95 |
// Returns status indicating if Ss or Ussd transaction ongoing |
|
96 |
// ----------------------------------------------------------------------------- |
|
97 |
// |
|
98 |
inline CSatMessHandler::TSsStatus CSatMessHandler::SsStatus() const |
|
99 |
{ |
|
100 |
return iSsStatus; |
|
101 |
} |
|
102 |
||
103 |
// ----------------------------------------------------------------------------- |
|
104 |
// CSatMessHandler::CurrentAccessTechnology |
|
105 |
// Returns currently used access technology type |
|
106 |
// ----------------------------------------------------------------------------- |
|
107 |
// |
|
108 |
inline TUint8 CSatMessHandler::CurrentAccessTechnology() const |
|
109 |
{ |
|
110 |
return iCurrentAccTech; |
|
111 |
} |
|
112 |
||
113 |
// ----------------------------------------------------------------------------- |
|
114 |
// CSatMessHandler::OldPollInterval |
|
115 |
// Returns old polling intervqal status: true if Old Polling is set on, |
|
116 |
// and false otherwise |
|
117 |
// ----------------------------------------------------------------------------- |
|
118 |
// |
|
119 |
inline TBool CSatMessHandler::OldPollInterval() const |
|
120 |
{ |
|
121 |
return iOldPollIntervalSupportedInPp; |
|
122 |
} |
|
123 |
||
124 |
// ----------------------------------------------------------------------------- |
|
125 |
// CSatMessHandler::EnsSupported |
|
126 |
// Returns current status of INFO_PP_ENHANCED_NETWORK_SELECTION PP flag |
|
127 |
// ----------------------------------------------------------------------------- |
|
128 |
// |
|
129 |
#ifdef INFO_PP_ENHANCED_NETWORK_SELECTION |
|
130 |
inline TBool CSatMessHandler::EnsSupported() const |
|
131 |
{ |
|
132 |
return iEnsSupportedInPp; |
|
133 |
} |
|
134 |
#endif // INFO_PP_ENHANCED_NETWORK_SELECTION |
|
135 |
||
136 |
#endif // SATMESSHANDLER_INL |
|
137 |
||
138 |
// End of File |