author | Tom Pritchard <tomp@symbian.org> |
Tue, 27 Jul 2010 16:01:31 +0100 | |
branch | AT_Test_LTSY |
changeset 55 | 2a8729f72b74 |
parent 1 | 4047d69ee0e4 |
permissions | -rw-r--r-- |
1
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
2 |
// All rights reserved. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
7 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
10 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
11 |
// Contributors: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
12 |
// |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
13 |
// Description: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
14 |
// CLtsyPhoneHandler |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
15 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
16 |
#include <ctsy/ltsy/cctsydispatchercallback.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
17 |
#include <mmtsy_ipcdefs.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
18 |
#include <etelmm.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
19 |
#include <ctsy/ltsy/ltsylogger.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
20 |
#include <ctsy/ltsy/mltsydispatchphoneinterface.h> |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
21 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
22 |
#include "cltsyphonehandler.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
23 |
#include "ltsymacros.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
24 |
#include "atgetmodemstatus.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
25 |
#include "atgetnetworkregistrationstatus.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
26 |
#include "atgetsimstatusready.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
27 |
#include "atgetnetworkinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
28 |
#include "atgetsignalstrength.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
29 |
#include "atgetbatteryinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
30 |
#include "atdetectnetwork.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
31 |
#include "getphoneid.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
32 |
#include "initializephone.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
33 |
#include "mslogger.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
34 |
#include "athangup.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
35 |
#include "getoperatorname.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
36 |
#include "atselectnetworkmode.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
37 |
#include "atselectnetwork.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
38 |
#include "atgetphonecellinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
39 |
#include "atgetcellinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
40 |
#include "atsetnotifycell.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
41 |
#include "asynchelperrequest.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
42 |
#include "atnetworkregstatuschange.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
43 |
#include "atnotifycellinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
44 |
#include "notifybatteryandsignal.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
45 |
#include "getfdnstatus.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
46 |
#include "getcurrentnetworkinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
47 |
#include "atgetphonecellinfo.h" |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
48 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
49 |
CLtsyPhoneHandler::CLtsyPhoneHandler( |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
50 |
CCtsyDispatcherCallback& aCtsyDispatcherCallback,CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
51 |
: iCtsyDispatcherCallback(aCtsyDispatcherCallback),iGloblePhone(aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
52 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
53 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
54 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
55 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
56 |
CLtsyPhoneHandler::~CLtsyPhoneHandler() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
57 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
58 |
if(iAsyncHelperRequest) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
59 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
60 |
delete iAsyncHelperRequest; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
61 |
iAsyncHelperRequest = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
62 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
63 |
if(iNetworkRegStatusChange) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
64 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
65 |
delete iNetworkRegStatusChange; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
66 |
iNetworkRegStatusChange = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
67 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
68 |
if(iNotifyCellInfo) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
69 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
70 |
delete iNotifyCellInfo; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
71 |
iNotifyCellInfo = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
72 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
73 |
if(iNotifyBatteryAndSignal) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
74 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
75 |
delete iNotifyBatteryAndSignal; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
76 |
iNotifyBatteryAndSignal = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
77 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
78 |
if(iInitializePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
79 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
80 |
delete iInitializePhone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
81 |
iInitializePhone = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
82 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
83 |
if(iATDetectNetwork) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
84 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
85 |
delete iATDetectNetwork; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
86 |
iATDetectNetwork = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
87 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
88 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
89 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
90 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
91 |
CLtsyPhoneHandler* CLtsyPhoneHandler::NewLC( |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
92 |
CCtsyDispatcherCallback& aCtsyDispatcherCallback,CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
93 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
94 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
95 |
CLtsyPhoneHandler* self = new (ELeave) CLtsyPhoneHandler(aCtsyDispatcherCallback,aGloblePhone); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
96 |
CleanupStack::PushL(self); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
97 |
self->ConstructL(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
98 |
return self; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
99 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
100 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
101 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
102 |
CLtsyPhoneHandler* CLtsyPhoneHandler::NewL(CCtsyDispatcherCallback& aCtsyDispatcherCallback, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
103 |
CGlobalPhonemanager* aGloblePhone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
104 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
105 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
106 |
CLtsyPhoneHandler* self= |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
107 |
CLtsyPhoneHandler::NewLC(aCtsyDispatcherCallback,aGloblePhone); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
108 |
CleanupStack::Pop(self); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
109 |
return self; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
110 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
111 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
112 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
113 |
void CLtsyPhoneHandler::ConstructL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
114 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
115 |
* Second phase constructor. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
116 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
117 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
118 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
119 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
120 |
//for temp |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
121 |
iNetworkRegStatusChange = CATNetworkRegStatusChange::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
122 |
iAsyncHelperRequest = CAsyncHelperRequest::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
123 |
iNotifyCellInfo = CATNotifyCellInfo::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
124 |
iNotifyBatteryAndSignal = CNotifyBatteryAndSignal::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
125 |
iInitializePhone = CInitializePhone::NewL(*iGloblePhone, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
126 |
iCtsyDispatcherCallback, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
127 |
*iNetworkRegStatusChange, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
128 |
*iNotifyBatteryAndSignal); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
129 |
iATDetectNetwork = CATDetectNetwork::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
130 |
iATSelectNetwork = CATSelectNetwork::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
131 |
} // CLtsyPhoneHandler::ConstructL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
132 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
133 |
TBool CLtsyPhoneHandler::IsInterfaceSupported(TLtsyDispatchInterfaceApiId aDispatchApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
134 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
135 |
* Returns whether a Dispatch Interface APi is supported or not. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
136 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
137 |
* @param aDispatchApiId Id of Dispatch interface being queried |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
138 |
* @return indication whether interface is supported or not |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
139 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
140 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
141 |
switch(aDispatchApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
142 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
143 |
// Insert ApiIds when support is provided in LTSY e.g. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
144 |
case KLtsyDispatchPhoneBootNotifyModemStatusReadyApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
145 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
146 |
case KLtsyDispatchPhoneBootNotifySimStatusReadyApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
147 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
148 |
case KLtsyDispatchPhoneGetFdnStatusApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
149 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
150 |
case KLtsyDispatchPhoneGetHomeNetworkApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
151 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
152 |
case KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
153 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
154 |
case KLtsyDispatchPhoneSimRefreshRegisterApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
155 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
156 |
case KLtsyDispatchPhoneGetServiceProviderNameApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
157 |
return ETrue; //Not finished |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
158 |
case KLtsyDispatchPhoneGetPhoneIdApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
159 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
160 |
case KLtsyDispatchPhoneGetDetectedNetworksApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
161 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
162 |
case KLtsyDispatchPhoneGetDetectedNetworksCancelApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
163 |
return ETrue; // |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
164 |
case KLtsyDispatchPhoneSelectNetworkApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
165 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
166 |
case KLtsyDispatchPhoneSelectNetworkCancelApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
167 |
return ETrue; //KErrNotSupported |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
168 |
case KLtsyDispatchPhoneSetNetworkSelectionSettingApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
169 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
170 |
case KLtsyDispatchPhoneGetCurrentNetworkInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
171 |
return ETrue; //Finished ? |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
172 |
case KLtsyDispatchPhoneGetNetworkModeApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
173 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
174 |
case KLtsyDispatchPhoneGetNitzInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
175 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
176 |
case KLtsyDispatchPhoneGetSignalStrengthApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
177 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
178 |
case KLtsyDispatchPhoneGetBatteryInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
179 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
180 |
case KLtsyDispatchPhoneNspsWakeupApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
181 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
182 |
case KLtsyDispatchPhoneSetSystemNetworkModeApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
183 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
184 |
case KLtsyDispatchPhoneGetCurrentSystemNetworkModesApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
185 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
186 |
case KLtsyDispatchPhoneResetNetServerApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
187 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
188 |
case KLtsyDispatchPhoneSetAlwaysOnModeApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
189 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
190 |
case KLtsyDispatchPhoneSetDriveModeApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
191 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
192 |
case KLtsyDispatchPhoneGetHspaStatusApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
193 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
194 |
case KLtsyDispatchPhoneSetHspaStatusApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
195 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
196 |
case KLtsyDispatchPhoneGetNetworkProviderNameApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
197 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
198 |
case KLtsyDispatchPhoneGetOperatorNameApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
199 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
200 |
case KLtsyDispatchPhoneGetCellInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
201 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
202 |
case KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
203 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
204 |
case KLtsyDispatchPhoneGetPhoneCellInfoApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
205 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
206 |
case KLtsyDispatchPhoneGetUsimServiceSupportApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
207 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
208 |
case KLtsyDispatchPhoneGetCurrentActiveUsimApplicationApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
209 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
210 |
case KLtsyDispatchPhoneTerminateAllCallsApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
211 |
return ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
212 |
case KLtsyDispatchPhoneGetSystemNetworkBandApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
213 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
214 |
case KLtsyDispatchPhoneSetSystemNetworkBandApiId: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
215 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
216 |
default: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
217 |
return EFalse; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
218 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
219 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
220 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
221 |
void CLtsyPhoneHandler::IsCallbackIndicatorSupported(TLtsyDispatchIndIdGroup aIdGroup, TUint32& aIndIdBitMask) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
222 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
223 |
* Returns the set of callback indicators that are supported. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
224 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
225 |
* @param aIdGroup ID of group that is being queried e.g. aIdGroup=EIndIdGroup1. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
226 |
* @param aIndIdBitMask [out] argument that should return a bitmask indicating which indicator callbacks are supported. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
227 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
228 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
229 |
//Create bitmask with bitset for each indicator ID that is supported. E.g. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
230 |
if(aIdGroup == EIndIdGroup1) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
231 |
aIndIdBitMask = KLtsyDispatchPhoneNotifyNetworkModeChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
232 |
KLtsyDispatchPhoneNotifyEgprsInfoChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
233 |
KLtsyDispatchPhoneNotifySignalStrengthChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
234 |
KLtsyDispatchPhoneNotifyNetworkRegistrationStatusChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
235 |
KLtsyDispatchPhoneNotifyNitzInfoChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
236 |
KLtsyDispatchPhoneNotifyBatteryInfoChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
237 |
KLtsyDispatchPhoneNotifyCurrentNetworkChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
238 |
KLtsyDispatchPhoneNotifyRfStatusChangeIndId | |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
239 |
KLtsyDispatchPhoneNotifyCellInfoChangeIndId ; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
240 |
else |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
241 |
aIndIdBitMask = 0; //no indicators from other groups supported |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
242 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
243 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
244 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
245 |
TInt CLtsyPhoneHandler::HandleGetFdnStatusReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
246 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
247 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
248 |
* CCtsyDispatcherCallback::CallbackPhoneGetFdnStatusComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
249 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
250 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
251 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
252 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
253 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
254 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
255 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
256 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
257 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
258 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
259 |
CGetFdnStatus* GetFdnStatus = CGetFdnStatus::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
260 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
261 |
iGloblePhone->SetActiveRequest(GetFdnStatus); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
262 |
GetFdnStatus->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
263 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
264 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
265 |
} // CLtsyPhoneHandler::HandleGetFdnStatusReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
266 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
267 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
268 |
TInt CLtsyPhoneHandler::HandleGetNetworkRegistrationStatusReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
269 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
270 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
271 |
* CCtsyDispatcherCallback::CallbackPhoneGetNetworkRegistrationStatusComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
272 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
273 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
274 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
275 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
276 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
277 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
278 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
279 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
280 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
281 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
282 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
283 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
284 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
285 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
286 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
287 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
288 |
CATNetworkRegistration* atNetworkRegStatus = CATNetworkRegistration::NewL(*iGloblePhone, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
289 |
iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
290 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
291 |
iGloblePhone->SetActiveRequest(atNetworkRegStatus); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
292 |
atNetworkRegStatus->SetIpcRequestCompleteObserver(this); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
293 |
atNetworkRegStatus->SetIpcId(KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
294 |
iNetworkRegStatusChange->Disable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
295 |
atNetworkRegStatus->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
296 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
297 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
298 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
299 |
} // CLtsyPhoneHandler::HandleGetNetworkRegistrationStatusReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
300 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
301 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
302 |
TInt CLtsyPhoneHandler::HandleGetHomeNetworkReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
303 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
304 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
305 |
* CCtsyDispatcherCallback::CallbackPhoneGetHomeNetworkComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
306 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
307 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
308 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
309 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
310 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
311 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
312 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
313 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
314 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
315 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
316 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetHomeNetworkApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
317 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
318 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
319 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
320 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
321 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
322 |
CATNetworkInfo* ATNetworkInfo = CATNetworkInfo::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
323 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
324 |
iGloblePhone->SetActiveRequest(ATNetworkInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
325 |
ATNetworkInfo->SetToGetHomeNwk(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
326 |
ATNetworkInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
327 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
328 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
329 |
} // CLtsyPhoneHandler::HandleGetHomeNetworkReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
330 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
331 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
332 |
TInt CLtsyPhoneHandler::HandleBootNotifyModemStatusReadyReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
333 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
334 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
335 |
* CCtsyDispatcherCallback::CallbackPhoneBootNotifyModemStatusReadyComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
336 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
337 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
338 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
339 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
340 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
341 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
342 |
// This function is the entry of phone bootup |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
343 |
// Let's get the phone bootup |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
344 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
345 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
346 |
if(ret == EPhoneNotInitialised) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
347 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
348 |
iGloblePhone->iPhoneStatus.iInitStatus = EPhoneInitialising; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
349 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
350 |
iInitializePhone->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
351 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
352 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
353 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
354 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
355 |
CATGetModemStatus* ATGetModemStatus = CATGetModemStatus::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
356 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
357 |
iGloblePhone->SetActiveRequest(ATGetModemStatus); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
358 |
ATGetModemStatus->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
359 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
360 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
361 |
} // CLtsyPhoneHandler::HandleBootNotifyModemStatusReadyReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
362 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
363 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
364 |
TInt CLtsyPhoneHandler::HandleBootNotifySimStatusReadyReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
365 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
366 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
367 |
* CCtsyDispatcherCallback::CallbackPhoneBootNotifySimStatusReadyComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
368 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
369 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
370 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
371 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
372 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
373 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
374 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
375 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
376 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
377 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
378 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
379 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneBootNotifySimStatusReadyApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
380 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
381 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
382 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
383 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
384 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
385 |
CATSIMCard* ATSIMCard = CATSIMCard::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
386 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
387 |
iGloblePhone->SetActiveRequest(ATSIMCard); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
388 |
ATSIMCard->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
389 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
390 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
391 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
392 |
} // CLtsyPhoneHandler::HandleBootNotifySimStatusReadyReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
393 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
394 |
TInt CLtsyPhoneHandler::HandleSimRefreshRegisterReqL(TUint16 /*aFilesToRegister*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
395 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
396 |
* @param aFilesToRegister Bitmask containing list of files to register for refresh indications. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
397 |
* The list of possible files is specified in TCacheFileTypes. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
398 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
399 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
400 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
401 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
402 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
403 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
404 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
405 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
406 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
407 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
408 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
409 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneSimRefreshRegisterApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
410 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
411 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
412 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
413 |
else if(ret == EPhoneInitialised) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
414 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
415 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneSimRefreshRegisterApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
416 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
417 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
418 |
} // CLtsyPhoneHandler::HandleSimRefreshRegisterReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
419 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
420 |
TInt CLtsyPhoneHandler::HandleGetServiceProviderNameReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
421 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
422 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
423 |
* CCtsyDispatcherCallback::CallbackPhoneGetServiceProviderNameComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
424 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
425 |
= * @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
426 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
427 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
428 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
429 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
430 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
431 |
//TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
432 |
TInt ret = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
433 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
434 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
435 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
436 |
CGetOperatorNmae* GetOperatorName = CGetOperatorNmae::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
437 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
438 |
GetOperatorName->SetRequestTypeL(KLtsyDispatchPhoneGetServiceProviderNameApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
439 |
iGloblePhone->SetActiveRequest(GetOperatorName); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
440 |
GetOperatorName->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
441 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
442 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
443 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
444 |
} // CLtsyPhoneHandler::HandleGetServiceProviderNameReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
445 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
446 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
447 |
TInt CLtsyPhoneHandler::HandleGetPhoneIdReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
448 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
449 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
450 |
* CCtsyDispatcherCallback::CallbackPhoneGetPhoneIdComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
451 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
452 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
453 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
454 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
455 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
456 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
457 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
458 |
//TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
459 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
460 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
461 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
462 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
463 |
CGetPhoneID* GetPhoneID = CGetPhoneID::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
464 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
465 |
iGloblePhone->SetActiveRequest(GetPhoneID); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
466 |
GetPhoneID->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
467 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
468 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
469 |
} // CLtsyPhoneHandler::HandleGetPhoneIdReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
470 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
471 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
472 |
TInt CLtsyPhoneHandler::HandleGetDetectedNetworksReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
473 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
474 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
475 |
* CCtsyDispatcherCallback::CallbackPhoneGetDetectedNetworksComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
476 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
477 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
478 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
479 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
480 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
481 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
482 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
483 |
//TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
484 |
TInt ret = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
485 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
486 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
487 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
488 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
489 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
490 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
491 |
iATDetectNetwork->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
492 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
493 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
494 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
495 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
496 |
} // CLtsyPhoneHandler::HandleGetDetectedNetworksReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
497 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
498 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
499 |
TInt CLtsyPhoneHandler::HandleGetDetectedNetworksCancelReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
500 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
501 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
502 |
* CCtsyDispatcherCallback::CallbackPhoneGetDetectedNetworksCancelComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
503 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
504 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
505 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
506 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
507 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
508 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
509 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
510 |
//TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
511 |
TInt ret = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
512 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
513 |
if((ret == KErrInUse)&&(iATDetectNetwork->iCommandRunning)) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
514 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
515 |
if(iATDetectNetwork->iCommandCancel) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
516 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
517 |
ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
518 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
519 |
else |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
520 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
521 |
iATDetectNetwork->CancelCommand(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
522 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
523 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
524 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
525 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
526 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
527 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneGetDetectedNetworksCancelApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
528 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
529 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
530 |
} // CLtsyPhoneHandler::HandleGetDetectedNetworksCancelReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
531 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
532 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
533 |
TInt CLtsyPhoneHandler::HandleSelectNetworkReqL(TBool aIsManual, const RMobilePhone::TMobilePhoneNetworkManualSelection& aNetworkManualSelection) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
534 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
535 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
536 |
* CCtsyDispatcherCallback::CallbackPhoneSelectNetworkComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
537 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
538 |
* @param aIsManual Specifies whether phone should use a manual or automatic network selection method. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
539 |
* @param aNetworkManualSelection If aIsManual==ETrue, then this parameter contain the user's manually selected network. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
540 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
541 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
542 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
543 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
544 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
545 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
546 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
547 |
if(!aIsManual) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
548 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
549 |
return KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
550 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
551 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
552 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
553 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
554 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
555 |
iATSelectNetwork->SetNetworkSelection(aNetworkManualSelection); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
556 |
iATSelectNetwork->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
557 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
558 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
559 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
560 |
} // CLtsyPhoneHandler::HandleSelectNetworkReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
561 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
562 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
563 |
TInt CLtsyPhoneHandler::HandleSelectNetworkCancelReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
564 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
565 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
566 |
* CCtsyDispatcherCallback::CallbackPhoneSelectNetworkCancelComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
567 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
568 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
569 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
570 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
571 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
572 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
573 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
574 |
TInt ret = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
575 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
576 |
if((ret == KErrInUse)&&(iATSelectNetwork->iCommandRunning)) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
577 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
578 |
if(iATSelectNetwork->iCommandCancel) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
579 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
580 |
ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
581 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
582 |
else |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
583 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
584 |
iATSelectNetwork->CancelCommand(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
585 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
586 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
587 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
588 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
589 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
590 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneSelectNetworkCancelApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
591 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
592 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
593 |
} // CLtsyPhoneHandler::HandleSelectNetworkCancelReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
594 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
595 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
596 |
TInt CLtsyPhoneHandler::HandleSetNetworkSelectionSettingReqL(const RMobilePhone::TMobilePhoneNetworkSelectionV1& aPhoneNetworkSelection) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
597 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
598 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
599 |
* CCtsyDispatcherCallback::CallbackPhoneSetNetworkSelectionSettingComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
600 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
601 |
* @param aPhoneNetworkSelection The network selection to be set. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
602 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
603 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
604 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
605 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
606 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
607 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
608 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
609 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
610 |
TInt networkSelection = -1; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
611 |
switch (aPhoneNetworkSelection.iMethod) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
612 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
613 |
case RMobilePhone::ENetworkSelectionAutomatic: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
614 |
networkSelection = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
615 |
break; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
616 |
case RMobilePhone::ENetworkSelectionManual: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
617 |
networkSelection = 1; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
618 |
break; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
619 |
default: |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
620 |
networkSelection = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
621 |
break; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
622 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
623 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
624 |
if(networkSelection != -1) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
625 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
626 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
627 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
628 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
629 |
CATSelectNetworkMode* ATSelectNetworkMode = CATSelectNetworkMode::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
630 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
631 |
iGloblePhone->SetActiveRequest(ATSelectNetworkMode); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
632 |
ATSelectNetworkMode->SetNetworkSelection(networkSelection); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
633 |
ATSelectNetworkMode->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
634 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
635 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
636 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
637 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
638 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
639 |
} // CLtsyPhoneHandler::HandleSetNetworkSelectionSettingReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
640 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
641 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
642 |
TInt CLtsyPhoneHandler::HandleGetCurrentNetworkInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
643 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
644 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
645 |
* CCtsyDispatcherCallback::CallbackPhoneGetCurrentNetworkInfoComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
646 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
647 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
648 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
649 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
650 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
651 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
652 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
653 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
654 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
655 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
656 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
657 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetCurrentNetworkInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
658 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
659 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
660 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
661 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
662 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
663 |
CGetCurrentNetworkInfo* ATNetworkInfo = CGetCurrentNetworkInfo::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
664 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
665 |
iGloblePhone->SetActiveRequest(ATNetworkInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
666 |
ATNetworkInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
667 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
668 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
669 |
} // CLtsyPhoneHandler::HandleGetCurrentNetworkInfoReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
670 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
671 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
672 |
TInt CLtsyPhoneHandler::HandleGetNetworkModeReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
673 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
674 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
675 |
* CCtsyDispatcherCallback::CallbackPhoneGetNetworkModeComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
676 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
677 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
678 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
679 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
680 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
681 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
682 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
683 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
684 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
685 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
686 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
687 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetNetworkModeApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
688 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
689 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
690 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
691 |
else if(ret == EPhoneInitialised) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
692 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
693 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneGetNetworkModeApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
694 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
695 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
696 |
} // CLtsyPhoneHandler::HandleGetNetworkModeReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
697 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
698 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
699 |
TInt CLtsyPhoneHandler::HandleGetNitzInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
700 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
701 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
702 |
* CCtsyDispatcherCallback::CallbackPhoneGetNitzInfoComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
703 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
704 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
705 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
706 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
707 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
708 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
709 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
710 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
711 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
712 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
713 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetNitzInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
714 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
715 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
716 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
717 |
else if(ret == EPhoneInitialised) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
718 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
719 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneGetNitzInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
720 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
721 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
722 |
} // CLtsyPhoneHandler::HandleGetNITZInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
723 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
724 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
725 |
TInt CLtsyPhoneHandler::HandleGetSignalStrengthReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
726 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
727 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
728 |
* CCtsyDispatcherCallback::CallbackPhoneGetSignalStrengthComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
729 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
730 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
731 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
732 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
733 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
734 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
735 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
736 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
737 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
738 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
739 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
740 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetSignalStrengthApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
741 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
742 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
743 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
744 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
745 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
746 |
CATGetSignal* ATGetSignal = CATGetSignal::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
747 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
748 |
iGloblePhone->SetActiveRequest(ATGetSignal); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
749 |
ATGetSignal->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
750 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
751 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
752 |
} // CLtsyPhoneHandler::HandleGetSignalStrengthReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
753 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
754 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
755 |
TInt CLtsyPhoneHandler::HandleGetBatteryInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
756 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
757 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
758 |
* CCtsyDispatcherCallback::CallbackPhoneGetBatteryInfoComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
759 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
760 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
761 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
762 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
763 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
764 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
765 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
766 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
767 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
768 |
if(ret == EPhoneInitialising) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
769 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
770 |
iInitializePhone->AppendIpcRequestToPendingListL(KLtsyDispatchPhoneGetBatteryInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
771 |
iInitializePhone->ExecutePendingRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
772 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
773 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
774 |
else if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
775 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
776 |
CATGetBattery* ATGetBattery = CATGetBattery::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
777 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
778 |
iGloblePhone->SetActiveRequest(ATGetBattery); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
779 |
ATGetBattery->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
780 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
781 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
782 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
783 |
} // CLtsyPhoneHandler::HandleGetBatteryInfoReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
784 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
785 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
786 |
TInt CLtsyPhoneHandler::HandleNspsWakeupReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
787 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
788 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
789 |
* CCtsyDispatcherCallback::CallbackPhoneNspsWakeupComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
790 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
791 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
792 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
793 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
794 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
795 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
796 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
797 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
798 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
799 |
} // CLtsyPhoneHandler::HandleNspsWakeupReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
800 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
801 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
802 |
TInt CLtsyPhoneHandler::HandleSetSystemNetworkModeReqL(RMmCustomAPI::TNetworkModeCaps /*aMode*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
803 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
804 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
805 |
* CCtsyDispatcherCallback::CallbackPhoneSetSystemNetworkModeComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
806 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
807 |
* @param aMode Specifies the mode to set the system network to. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
808 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
809 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
810 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
811 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
812 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
813 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
814 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
815 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
816 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
817 |
} // CLtsyPhoneHandler::HandleSetSystemNetworkModeReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
818 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
819 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
820 |
TInt CLtsyPhoneHandler::HandleGetCurrentSystemNetworkModesReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
821 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
822 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
823 |
* CCtsyDispatcherCallback::CallbackPhoneGetCurrentSystemNetworkModesComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
824 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
825 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
826 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
827 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
828 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
829 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
830 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
831 |
TInt ret = 0; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
832 |
iAsyncHelperRequest->SetRequestId(KLtsyDispatchPhoneGetCurrentSystemNetworkModesApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
833 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
834 |
} // CLtsyPhoneHandler::HandleGetCurrentSystemNetworkModesReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
835 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
836 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
837 |
TInt CLtsyPhoneHandler::HandleResetNetServerReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
838 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
839 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
840 |
* CCtsyDispatcherCallback::CallbackPhoneResetNetServerComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
841 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
842 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
843 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
844 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
845 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
846 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
847 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
848 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
849 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
850 |
} // CLtsyPhoneHandler::HandleResetNetServerReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
851 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
852 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
853 |
TInt CLtsyPhoneHandler::HandleSetAlwaysOnModeReqL(RMmCustomAPI::TSetAlwaysOnMode /*aMode*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
854 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
855 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
856 |
* CCtsyDispatcherCallback::CallbackPhoneSetAlwaysOnModeComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
857 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
858 |
* @param aMode The new "always on" mode to set, can be |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
859 |
* RMmCustomAPI::EAlwaysModeVPLMN for VPLMN (Visited Public Land Mobile Network) always on, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
860 |
* RMmCustomAPI::EAlwaysModeHPLMN for HPLMN (Home Public Land Mobile Network) always on, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
861 |
* RMmCustomAPI::EAlwaysModeBoth for VPLMN and HPLMN always on, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
862 |
* RMmCustomAPI::EAlwaysModeNeither for neither VPLMN mor HPLMN always on. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
863 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
864 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
865 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
866 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
867 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
868 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
869 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
870 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
871 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
872 |
} // CLtsyPhoneHandler::HandleSetAlwaysOnModeReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
873 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
874 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
875 |
TInt CLtsyPhoneHandler::HandleSetDriveModeReqL(RMmCustomAPI::TSetDriveMode /*aMode*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
876 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
877 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
878 |
* CCtsyDispatcherCallback::CallbackPhoneSetDriveModeComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
879 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
880 |
* @param aMode The new mode to set (RMmCustomAPI::EDeactivateDriveMode for deactivate drive mode |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
881 |
* or RMmCustomAPI::EActivateDriveMode to activate drive mode). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
882 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
883 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
884 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
885 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
886 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
887 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
888 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
889 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
890 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
891 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
892 |
} // CLtsyPhoneHandler::HandleSetDriveModeReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
893 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
894 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
895 |
TInt CLtsyPhoneHandler::HandleGetHspaStatusReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
896 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
897 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
898 |
* CCtsyDispatcherCallback::CallbackPhoneGetHspaStatusComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
899 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
900 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
901 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
902 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
903 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
904 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
905 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
906 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
907 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
908 |
} // CLtsyPhoneHandler::HandleGetHspaStatusReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
909 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
910 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
911 |
TInt CLtsyPhoneHandler::HandleSetHspaStatusReqL(RMmCustomAPI::THSxPAStatus /*aStatus*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
912 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
913 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
914 |
* CCtsyDispatcherCallback::CallbackPhoneSetHspaStatusComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
915 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
916 |
* @param aStatus The new HSxPA status (enable or disable). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
917 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
918 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
919 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
920 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
921 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
922 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
923 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
924 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
925 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
926 |
} // CLtsyPhoneHandler::HandleSetHspaStatusReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
927 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
928 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
929 |
TInt CLtsyPhoneHandler::HandleGetNetworkProviderNameReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
930 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
931 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
932 |
* CCtsyDispatcherCallback::CallbackPhoneGetNetworkProviderNameComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
933 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
934 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
935 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
936 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
937 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
938 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
939 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
940 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
941 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
942 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
943 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
944 |
CGetOperatorNmae* GetOperatorName = CGetOperatorNmae::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
945 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
946 |
GetOperatorName->SetRequestTypeL(KLtsyDispatchPhoneGetNetworkProviderNameApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
947 |
iGloblePhone->SetActiveRequest(GetOperatorName); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
948 |
GetOperatorName->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
949 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
950 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
951 |
} // CLtsyPhoneHandler::HandleGetNetworkProviderNameReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
952 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
953 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
954 |
TInt CLtsyPhoneHandler::HandleGetOperatorNameReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
955 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
956 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
957 |
* CCtsyDispatcherCallback::CallbackPhoneGetOperatorNameComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
958 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
959 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
960 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
961 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
962 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
963 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
964 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
965 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
966 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
967 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
968 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
969 |
CGetOperatorNmae* GetOperatorName = CGetOperatorNmae::NewL(*iGloblePhone,iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
970 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
971 |
GetOperatorName->SetRequestTypeL(KLtsyDispatchPhoneGetOperatorNameApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
972 |
iGloblePhone->SetActiveRequest(GetOperatorName); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
973 |
GetOperatorName->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
974 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
975 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
976 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
977 |
} // CLtsyPhoneHandler::HandleGetOperatorNameReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
978 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
979 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
980 |
TInt CLtsyPhoneHandler::HandleGetCellInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
981 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
982 |
* This request is completed by invoking one of the |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
983 |
* CCtsyDispatcherCallback::CallbackPhoneGetCellInfoComp(). |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
984 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
985 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
986 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
987 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
988 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
989 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
990 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
991 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
992 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
993 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
994 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
995 |
CATGetCellInfo* atGetCellInfo = CATGetCellInfo::NewL(*iGloblePhone, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
996 |
iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
997 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
998 |
iGloblePhone->SetActiveRequest(atGetCellInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
999 |
atGetCellInfo->SetIpcId(KLtsyDispatchPhoneGetCellInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1000 |
atGetCellInfo->SetIpcRequestCompleteObserver(this); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1001 |
iNotifyCellInfo->Disable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1002 |
atGetCellInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1003 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1004 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1005 |
} // CLtsyPhoneHandler::HandleGetCellInfoReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1006 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1007 |
TInt CLtsyPhoneHandler::HandleRegisterCellInfoChangeNotificationReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1008 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1009 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1010 |
* CCtsyDispatcherCallback::CallbackPhoneRegisterCellInfoChangeNotificationComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1011 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1012 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1013 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1014 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1015 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1016 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1017 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1018 |
//TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1019 |
TInt ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1020 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1021 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1022 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1023 |
CATSetNotifyCellInfo* atSetNotifyCellInfo = CATSetNotifyCellInfo::NewL(*iGloblePhone, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1024 |
iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1025 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1026 |
iGloblePhone->SetActiveRequest(atSetNotifyCellInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1027 |
atSetNotifyCellInfo->SetIpcId(KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1028 |
atSetNotifyCellInfo->SetIpcRequestCompleteObserver(this); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1029 |
atSetNotifyCellInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1030 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1031 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1032 |
} // CLtsyPhoneHandler::HandleRegisterCellInfoChangeNotificationReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1033 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1034 |
TInt CLtsyPhoneHandler::HandleGetPhoneCellInfoReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1035 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1036 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1037 |
* CCtsyDispatcherCallback::CallbackPhoneGetPhoneCellInfoComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1038 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1039 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1040 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1041 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1042 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1043 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1044 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1045 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1046 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1047 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1048 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1049 |
CATGetPhoneCellInfo* atGetPhoneCellInfo = CATGetPhoneCellInfo::NewL(*iGloblePhone, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1050 |
iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1051 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1052 |
iGloblePhone->SetActiveRequest(atGetPhoneCellInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1053 |
atGetPhoneCellInfo->SetIpcRequestCompleteObserver(this); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1054 |
atGetPhoneCellInfo->SetIpcId(KLtsyDispatchPhoneGetPhoneCellInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1055 |
// disable to get the notification as we may get the incorrect response after CATGetPhoneCellInfo command was issued |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1056 |
iNotifyCellInfo->Disable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1057 |
atGetPhoneCellInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1058 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1059 |
else if (ret == KErrInUse) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1060 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1061 |
// as dispather will post two IPC requests(KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId and KLtsyDispatchPhoneGetPhoneCellInfoApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1062 |
// together, so we need store one and then execute this AT command after previous one was complete |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1063 |
iPendingIpcId = KLtsyDispatchPhoneGetPhoneCellInfoApiId; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1064 |
CRequestBase* activeReq = iGloblePhone->CurrentActiveRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1065 |
if(activeReq) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1066 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1067 |
if(activeReq->IpcId() == KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1068 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1069 |
ret = KErrNone; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1070 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1071 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1072 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1073 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1074 |
} // CLtsyPhoneHandler::HandleGetPhoneCellInfoReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1075 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1076 |
TInt CLtsyPhoneHandler::HandleGetGetUsimServiceSupportReqL(TInt /*aApplicationNumber*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1077 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1078 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1079 |
* CCtsyDispatcherCallback::CallbackPhoneGetUsimServiceSupportComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1080 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1081 |
* @param aApplicationNumber The application number to check support for in the USIM. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1082 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1083 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1084 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1085 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1086 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1087 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1088 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1089 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1090 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1091 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1092 |
} // CLtsyPhoneHandler::HandleGetGetUsimServiceSupportReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1093 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1094 |
TInt CLtsyPhoneHandler::HandleGetCurrentActiveUsimApplicationReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1095 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1096 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1097 |
* CCtsyDispatcherCallback::CallbackPhoneGetCurrentActiveUsimApplicationComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1098 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1099 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1100 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1101 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1102 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1103 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1104 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1105 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1106 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1107 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1108 |
} // CLtsyPhoneHandler::HandleGetCurrentActiveUsimApplicationReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1109 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1110 |
TInt CLtsyPhoneHandler::HandleTerminateAllCallsReqL(TInt /*aCallId*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1111 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1112 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1113 |
* CCtsyDispatcherCallback::CallbackPhoneTerminateAllCallsComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1114 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1115 |
* @param aCallId if a call is in the connecting state then this parameter will contain the id of that call, else 0. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1116 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1117 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1118 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1119 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1120 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1121 |
LOGTEXT(_L8("[Ltsy Phone] Starting CLtsyPhoneHandler::HandleTerminateAllCallsReqL()")); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1122 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1123 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1124 |
ret = iGloblePhone->CheckGlobalPhoneStatus(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1125 |
if(ret == KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1126 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1127 |
CATHangUp* cHangUp = CATHangUp::NewL((*iGloblePhone), iCtsyDispatcherCallback); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1128 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1129 |
iGloblePhone->SetActiveRequest(cHangUp); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1130 |
cHangUp->SetHangupOperator(CATHangUp::ERMobilePhoneAPI); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1131 |
cHangUp->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1132 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1133 |
return ret; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1134 |
} // CLtsyPhoneHandler::HandleTerminateAllCallsReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1135 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1136 |
TInt CLtsyPhoneHandler::HandleGetSystemNetworkBandReqL() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1137 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1138 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1139 |
* CCtsyDispatcherCallback::CallbackPhoneGetSystemNetworkBandComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1140 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1141 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1142 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1143 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1144 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1145 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1146 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1147 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1148 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1149 |
} // CLtsyPhoneHandler::HandleGetSystemNetworkBandReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1150 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1151 |
TInt CLtsyPhoneHandler::HandleSetSystemNetworkBandReqL(RMmCustomAPI::TBandSelection /*aBand*/, RMmCustomAPI::TNetworkModeCaps /*aMode*/) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1152 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1153 |
* This request is completed by invoking |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1154 |
* CCtsyDispatcherCallback::CallbackPhoneSetSystemNetworkBandComp() |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1155 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1156 |
* @param aBand the requested band |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1157 |
* @param aMode the requested mode |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1158 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1159 |
* @return KErrNone on success, KErrNotSupported if this request is not supported, |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1160 |
* or another error code to indicate the failure otherwise. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1161 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1162 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1163 |
TSYLOGENTRYEXIT; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1164 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1165 |
TInt ret = KErrNotSupported; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1166 |
return TSYLOGSETEXITERR(ret); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1167 |
} // CLtsyPhoneHandler::HandleGetSystemNetworkBandReqL |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1168 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1169 |
void CLtsyPhoneHandler::NotifyIpcRequestComplete(TInt aIpcId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1170 |
/** |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1171 |
* This function was called by some IPC request after it complete the request |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1172 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1173 |
* If there are one more AT commands which need some interactions among them, the logic control should be put here. |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1174 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1175 |
* @param aIpcId The IPC request Id |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1176 |
* |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1177 |
* @return void |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1178 |
*/ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1179 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1180 |
if(aIpcId == KLtsyDispatchPhoneRegisterCellInfoChangeNotificationApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1181 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1182 |
if(iPendingIpcId == KLtsyDispatchPhoneGetPhoneCellInfoApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1183 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1184 |
iGloblePhone->DeleteLastActiveRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1185 |
CATGetPhoneCellInfo* getPhoneCellInfo = NULL; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1186 |
TRAPD(err,getPhoneCellInfo = CATGetPhoneCellInfo::NewL(*iGloblePhone,iCtsyDispatcherCallback)); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1187 |
if(err != KErrNone) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1188 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1189 |
RMobilePhone::TMobilePhoneCellInfoV9 cellInfo; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1190 |
iCtsyDispatcherCallback.CallbackPhoneGetPhoneCellInfoComp(err,cellInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1191 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1192 |
else |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1193 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1194 |
iGloblePhone->iEventSignalActive = ETrue; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1195 |
iGloblePhone->SetActiveRequest(getPhoneCellInfo); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1196 |
getPhoneCellInfo->SetIpcRequestCompleteObserver(this); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1197 |
getPhoneCellInfo->SetIpcId(KLtsyDispatchPhoneGetPhoneCellInfoApiId); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1198 |
getPhoneCellInfo->StartRequest(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1199 |
iPendingIpcId = -1; |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1200 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1201 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1202 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1203 |
else if(aIpcId == KLtsyDispatchPhoneGetPhoneCellInfoApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1204 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1205 |
// enable to receive the notificaiton of cell info changed |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1206 |
iNotifyCellInfo->Enable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1207 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1208 |
else if(aIpcId == KLtsyDispatchPhoneGetCellInfoApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1209 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1210 |
iNotifyCellInfo->Enable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1211 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1212 |
else if(aIpcId == KLtsyDispatchPhoneGetNetworkRegistrationStatusApiId) |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1213 |
{ |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1214 |
iNetworkRegStatusChange->Enable(); |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1215 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1216 |
} |
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1217 |
|
4047d69ee0e4
Initial upload of Nokia's AT based test LTSY which uses the dispatcher
Tom Pritchard <tomp@symbian.org>
parents:
diff
changeset
|
1218 |
// End of file |