24
|
1 |
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Testing name definition
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalComponent
|
|
21 |
*/
|
|
22 |
|
|
23 |
#ifndef __TESTDEF_H
|
|
24 |
#define __TESTDEF_H
|
|
25 |
|
|
26 |
#include "Etelsat.h"
|
|
27 |
|
|
28 |
//**********************************************************************************
|
|
29 |
// General Testing name definitions
|
|
30 |
//**********************************************************************************
|
|
31 |
|
|
32 |
const TInt DSATTSY_TIMEOUT = 100000;
|
|
33 |
|
|
34 |
#define DSATTSY_PHONE_NAME _L("DMobile")
|
|
35 |
#define DSATTSY_MODULE_NAME _L("DSAT")
|
|
36 |
|
|
37 |
// CoreTsy functionality
|
|
38 |
#define DSATTSY_CALL_BEARER_CAPS RCall::KBearerCapsProtocolALT
|
|
39 |
#define DSATTSY_CALL_BEARER_SPEED RCall::EBearerData4800
|
|
40 |
|
|
41 |
#define DSATTSY_FAX_BUF_SIZE (50)
|
|
42 |
typedef TBuf8<DSATTSY_FAX_BUF_SIZE> TAcqFaxBuf;
|
|
43 |
|
|
44 |
#define DSATTSY_NETWORK_TYPE (RTelServer::ENetworkTypeMobileDigital)
|
|
45 |
#define DSATTSY_NUMBER_OF_PHONES (1)
|
|
46 |
#define DSATTSY_NUMBER_OF_LINES (4)
|
|
47 |
|
|
48 |
#define DSATTSY_CORE_CALL_STATUS RCall::EStatusIdle
|
|
49 |
#define DSATTSY_CALL_DURATION1 (10)
|
|
50 |
#define DSATTSY_CORE_LINE_CAPS (RLine::KCapsVoice)
|
|
51 |
#define DSATTSY_CORE_LINE_STATUS RCall::EStatusIdle
|
|
52 |
#define DSATTSY_CORE_LINE_STATUS2 RCall::EStatusRinging
|
|
53 |
#define DSATTSY_CORE_PHONE_STATUS RPhone::EDetectedPresent
|
|
54 |
#define DSATTSY_GET_PROGRESS_SPEED (11)
|
|
55 |
#define DSATTSY_MYFAX _L("MY FAX")
|
|
56 |
|
|
57 |
#define DSATTSY_SAT_NAME _L("TOOLKIT")
|
|
58 |
|
|
59 |
//**********************************************************************************
|
|
60 |
// Testing RSat
|
|
61 |
//**********************************************************************************
|
|
62 |
|
|
63 |
#define DSATTSY_DISPLAY_TEXT_NAME RSat::EDisplayText
|
|
64 |
#define DSATTSY_TEXT_TO_DISPLAY _L("TextToDisplay")
|
|
65 |
#define DSATTSY_TEXT_ATTRIBUTE_STATUS RSat::ETextAttributeProvided
|
|
66 |
#define DSATTSY_TEXT_ATTRIBUTE_STATUS2 RSat::ETextAttributeProvided
|
|
67 |
#define DSATTSY_TEXT_ATTRIBUTE_STATUS3 RSat::ETextAttributeProvided
|
|
68 |
#define DSATTSY_TEXT_ATTRIBUTE_STATUS4 RSat::ETextAttributeProvided
|
|
69 |
|
|
70 |
#define DSATTSY_TEXT_ATTRIBUTE_DATA {0x01,0x02,0x03,0x04}
|
|
71 |
#define DSATTSY_TEXT_ATTRIBUTE_DATA2 {0x05,0x06,0x07,0x08}
|
|
72 |
#define DSATTSY_TEXT_ATTRIBUTE_DATA3 {0x09,0x10,0x11,0x12}
|
|
73 |
#define DSATTSY_TEXT_ATTRIBUTE_DATA4 {0x09,0x10,0x11,0x12}
|
|
74 |
#define DSATTSY_TEXT_ATTRIBUTE_DATA_LENGTH (4)
|
|
75 |
#define DSATTSY_TEXT_PRIORITY RSat::EHighPriority
|
|
76 |
#define DSATTSY_CLEAR_SCREEN_TRIGGER RSat::EClearAfterDelay
|
|
77 |
#define DSATTSY_IMMEDIATE_RSP RSat::ENoImmediateRsp
|
|
78 |
#define DSATTSY_TEXT_ENCODING_SCHEME RSat::E16bitUCS2
|
|
79 |
#define DSATTSY_TEXT_ENCODING_SCHEME_8 RSat::E7bitUnpacked
|
|
80 |
// The length of the following string must be 276 Unicode characters (maximum supported by RSat)
|
|
81 |
#define DSATTSY_IDLE_MODE_TEXT _L("This is a very long string, provided to test that ETelSat handles long Unicode strings correctly. The maximum supported length is 276 Unicode UCS-2 characters. The last character of this text is a 'greater than' symbol. TESTING TESTING TESTING TESTING TESTING TESTING TESTING>")
|
|
82 |
#define DSATTSY_IDLE_MODE_TEXT_8BIT _L8("This is a very long string8 provided to test that ETelSat handles long Unicode strings correctly. The maximum supported length is 276 Unicode UCS-2 characters. The last character of this text is a 'greater than' symbol. TESTING TESTING TESTING TESTING TESTING TESTING TESTING>")
|
|
83 |
|
|
84 |
#define DSATTSY_ICON_ID1 (1)
|
|
85 |
#define DSATTSY_ICON_QUALIFIER1 RSat::ESelfExplanatory
|
|
86 |
#define DSATTSY_ICON_ID2 (2)
|
|
87 |
#define DSATTSY_ICON_QUALIFIER2 RSat::ENotSelfExplanatory
|
|
88 |
|
|
89 |
#define DSATTSY_USER_TEXT_INPUT _L("1")
|
|
90 |
#define DSATTSY_NETWORK_TEXT_STRING _L("Network Text String")
|
|
91 |
#define DSATTSY_USER_RSP_FORMAT RSat::EDigitOnly
|
|
92 |
#define DSATTSY_ID1 (0x01)
|
|
93 |
#define DSATTSY_ID2 (0x02)
|
|
94 |
#define DSATTSY_ID3 (0x03)
|
|
95 |
|
|
96 |
#define DSATTSY_HELP RSat::ENoHelpAvailable
|
|
97 |
|
|
98 |
#define DSATTSY_INPUT_DISPLAY_OPTION RSat::EDisplayUserInput
|
|
99 |
#define DSATTSY_GET_INPUT_RSP_FORMAT RSat::EDigitOnlyPacked
|
|
100 |
#define DSATTSY_MIN_RSP_LENGTH (1)
|
|
101 |
#define DSATTSY_MAX_RSP_LENGTH (10)
|
|
102 |
#define DSATTSY_DEFAULT_TEXT _L("DefaultText")
|
|
103 |
|
|
104 |
#define DSATTSY_ALPHA_ID1 _L("AlphaId1")
|
|
105 |
#define DSATTSY_ALPHA_ID1_STATUS RSat::EAlphaIdProvided
|
|
106 |
#define DSATTSY_ALPHA_ID2 _L("AlphaId2")
|
|
107 |
#define DSATTSY_ALPHA_ID2_STATUS RSat::EAlphaIdProvided
|
|
108 |
|
|
109 |
#define DSATTSY_TONE RSat::KGeneralBeep
|
|
110 |
#define DSATTSY_TIME_UNIT RSat::ESeconds
|
|
111 |
#define DSATTSY_NUM_OF_UNITS (2)
|
|
112 |
|
|
113 |
#define DSATTSY_SMS_TPDU_FORMAT RSat::EFormatGsmTpduNoScPrefix
|
|
114 |
#define DSATTSY_SMS_TPDU _L8("TPDU")
|
|
115 |
#define DSATTSY_SMS_REF (1234)
|
|
116 |
|
|
117 |
#define DSATTSY_SS_STRING _L8("SsString")
|
|
118 |
|
|
119 |
#define DSATTSY_DCS (1)
|
|
120 |
#define DSATTSY_USSD_STRING _L("UssdString")
|
|
121 |
|
|
122 |
#define DSATTSY_SET_UP_CALL_TYPE RSat::EOnlyIfNotBusy
|
|
123 |
|
|
124 |
#define DSATTSY_REFRESH_TYPE RSat::EFileChangeNotification
|
|
125 |
#define DSATTSY_REFRESH_ADN_EF RSat::KAdnEf
|
|
126 |
#define DSATTSY_REFRESH_FDN_EF RSat::KFdnEf
|
|
127 |
|
|
128 |
|
|
129 |
#define DSATTSY_SET_UP_EVENT_LIST_TYPE RSat::EUpdateEventList
|
|
130 |
#define DSATTSY_EVENTS (0x30)
|
|
131 |
|
|
132 |
#define DSATTSY_IDLE_MODE_TXT_TYPE RSat::EUpdateIdleModeText
|
|
133 |
|
|
134 |
#define DSATTSY_DTMF_STRING _L8("DTMF String")
|
|
135 |
|
|
136 |
#define DSATTSY_CCP1 _L8("CCP1")
|
|
137 |
#define DSATTSY_CCP2 _L8("CCP2")
|
|
138 |
#define DSATTSY_SUBADDRESS _L("012345678")
|
|
139 |
#define DSATTSY_TON RSat::ENationalNumber
|
|
140 |
#define DSATTSY_NPI RSat::EIsdnNumberPlan
|
|
141 |
#define DSATTSY_TEL_NUMBER _L("01632960000")
|
|
142 |
#define DSATTSY_CC_RESULT RSat::EAllowedWithModifications
|
|
143 |
#define DSATTSY_MODIFIED_TEL_NUMBER _L("01632960000")
|
|
144 |
#define DSATTSY_NO_ALPHAID RSat::ENoAlphaId
|
|
145 |
#define DSATTSY_NULL_BUF _L("")
|
|
146 |
#define DSATTSY_ALPHAID_STATUS RSat::EAlphaIdNotPresent
|
|
147 |
#define DSATTSY_BC_REPEAT_INDICATOR_ALTERNATE (0)
|
|
148 |
#define DSATTSY_BC_REPEAT_INDICATOR_SEQUENTIAL (1)
|
|
149 |
#define DSATTSY_CC_CALL_PARAM_ORIGIN RSat::EOriginatorEtelClient
|
|
150 |
|
|
151 |
#define DSATTSY_BC_REPEAT_INDICATOR_FALLBACK (RSat::EBCFallbackMode)
|
|
152 |
#define DSATTSY_BC_REPEAT_INDICATOR_SERVICECHANGEANDFALLBACK (RSat::EBCServiceChangeAndFallbackMode)
|
|
153 |
#define DSATTSY_PDP_PARAMETERS _L8("01234567890123456789")
|
|
154 |
#define DSATTSY_PDP_PARAMETERS2 _L8("01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\
|
|
155 |
01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\
|
|
156 |
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901")
|
|
157 |
|
|
158 |
#define DSATTSY_CALL_NAME _L("Caller")
|
|
159 |
#define DSATTSY_ACTION_ORIGINATOR RSat::EClientOriginator
|
|
160 |
|
|
161 |
#define DSATTSY_ICON_EF1 _L8("IconEf1")
|
|
162 |
#define DSATTSY_ICON_EF2 _L8("IconEf2")
|
|
163 |
#define DSATTSY_IMG_INSTANCE1 _L8("ImgInstance1")
|
|
164 |
#define DSATTSY_IMG_INSTANCE2 _L8("ImgInstance2")
|
|
165 |
#define DSATTSY_IMG_INSTANCE_UNKNOWN _L8("Unknown Instance")
|
|
166 |
#define DSATTSY_INSTANCE_NUMBER1 (1)
|
|
167 |
#define DSATTSY_INSTANCE_NUMBER2 (2)
|
|
168 |
#define DSATTSY_INSTANCE_OFFSET1 (12)
|
|
169 |
#define DSATTSY_INSTANCE_LENGTH1 (32)
|
|
170 |
#define DSATTSY_INSTANCE_OFFSET2 (45)
|
|
171 |
#define DSATTSY_INSTANCE_LENGTH2 (16)
|
|
172 |
#define DSATTSY_INSTANCE_CODING_BASIC RSat::KBasic
|
|
173 |
#define DSATTSY_INSTANCE_CODING_COLOUR RSat::KColour
|
|
174 |
#define DSATTSY_INSTANCE_WIDTH_1 (10)
|
|
175 |
#define DSATTSY_INSTANCE_WIDTH_2 (20)
|
|
176 |
#define DSATTSY_INSTANCE_HEIGHT_1 (11)
|
|
177 |
#define DSATTSY_INSTANCE_HEIGHT_2 (21)
|
|
178 |
#define DSATTSY_INSTANCE_FILE_ID_1 (12)
|
|
179 |
#define DSATTSY_INSTANCE_FILE_ID_2 (22)
|
|
180 |
|
|
181 |
|
|
182 |
#define DSATTSY_CLUT_OFFSET (20)
|
|
183 |
#define DSATTSY_CLUT1 _L8("Clut1")
|
|
184 |
#define DSATTSY_CLUT2 _L8("Clut2")
|
|
185 |
|
|
186 |
#define DSATTSY_HELP_REQUESTED RSat::EHelpRequested
|
|
187 |
|
|
188 |
#define DSATTSY_ITEM_ID (1)
|
|
189 |
#define DSATTSY_RSP_ITEM_ID _L("1")
|
|
190 |
|
|
191 |
#define DSATTSY_ITEM1 _L("Item1")
|
|
192 |
#define DSATTSY_ITEM2 _L("Item2")
|
|
193 |
#define DSATTSY_ITEM3 _L("Item3")
|
|
194 |
#define DSATTSY_ITEM4 _L("Item4")
|
|
195 |
|
|
196 |
#define DSATTSY_CONTROL_RESULT RSat::EAllowedNoModification
|
|
197 |
|
|
198 |
#define DSATTSY_PRESENTATION_TYPE RSat::EDataValues
|
|
199 |
#define DSATTSY_DEFAULT_ITEM (0)
|
|
200 |
|
|
201 |
#define DSATTSY_PCMD_RESULT_SUCCESS RSat::KSuccess
|
|
202 |
#define DSATTSY_PCMD_RSP_NO_INFO RSat::KNoAdditionalInfo
|
|
203 |
#define DSATTSY_PCMD_RSP_TEXT_STRING RSat::KTextString
|
|
204 |
#define DSATTSY_PCMD_RSP_ITEM_ID RSat::KItemIdentifier
|
|
205 |
|
|
206 |
#define DSATTSY_ITEMS RSat::KItems
|
|
207 |
#define DSATTSY_ITEMS_AND_ACTIONS (RSat::KItems|RSat::KItemNextActions)
|
|
208 |
#define DSATTSY_ITEMS_AND_ICONS (RSat::KItems|RSat::KItemIconIds)
|
|
209 |
#define DSATTSY_ITEMS_ACTIONS_AND_ICONS (RSat::KItems|RSat::KItemNextActions|RSat::KItemIconIds)
|
|
210 |
#define DSATTSY_ITEMS_WITH_TEXT_ATTRIBUTES (RSat::KItems|RSat::KItemTextAttributes)
|
|
211 |
#define DSATTSY_ITEMS_WITH_TEXT_ATTRIBUTES_AND_ACTIONS (RSat::KItems|RSat::KItemNextActions|RSat::KItemTextAttributes)
|
|
212 |
#define DSATTSY_ITEMS_WITH_TEXT_ATTRIBUTES_AND_ICONS (RSat::KItems|RSat::KItemIconIds|RSat::KItemTextAttributes)
|
|
213 |
#define DSATTSY_ITEMS_WITH_TEXT_ATTRIBUTES_ACTIONS_AND_ICONS (RSat::KItems|RSat::KItemNextActions|RSat::KItemIconIds|RSat::KItemTextAttributes)
|
|
214 |
|
|
215 |
#define DSATTSY_DISPLAY_TEXT_NUMBER (0x01)
|
|
216 |
#define DSATTSY_GET_INKEY_NUMBER (0x02)
|
|
217 |
#define DSATTSY_GET_INPUT_NUMBER (0x03)
|
|
218 |
#define DSATTSY_PLAY_TONE_NUMBER (0x04)
|
|
219 |
#define DSATTSY_SET_UP_MENU_NUMBER (0x05)
|
|
220 |
#define DSATTSY_SELECT_ITEM_NUMBER (0x06)
|
|
221 |
#define DSATTSY_SEND_SM_NUMBER (0x07)
|
|
222 |
#define DSATTSY_SEND_SS_NUMBER (0x08)
|
|
223 |
#define DSATTSY_SEND_USSD_NUMBER (0x09)
|
|
224 |
#define DSATTSY_SET_UP_CALL_NUMBER (0x0A)
|
|
225 |
#define DSATTSY_REFRESH_NUMBER (0x0B)
|
|
226 |
#define DSATTSY_SET_UP_EVENT_LIST_NUMBER (0x0C)
|
|
227 |
#define DSATTSY_SET_UP_IDLE_MODE_TEXT_NUMBER (0x0D)
|
|
228 |
#define DSATTSY_SEND_DTMF_NUMBER (0x0E)
|
|
229 |
#define DSATTSY_PERFORM_CARD_APDU_NUMBER (0x0F)
|
|
230 |
#define DSATTSY_POWER_OFF_CARD_NUMBER (0x10)
|
|
231 |
#define DSATTSY_POWER_ON_CARD_NUMBER (0x20)
|
|
232 |
#define DSATTSY_GET_READER_STATUS_NUMBER (0x30)
|
|
233 |
#define DSATTSY_RUN_AT_COMMAND_NUMBER (0x40)
|
|
234 |
#define DSATTSY_LANGUAGE_NOTIFICATION_NUMBER (0x50)
|
|
235 |
#define DSATTSY_LAUNCH_BROWSER_NUMBER (0x60)
|
|
236 |
#define DSATTSY_CLOSE_CHANNEL_NUMBER (0x70)
|
|
237 |
#define DSATTSY_RECEIVE_DATA_NUMBER (0x80)
|
|
238 |
#define DSATTSY_SEND_DATA_NUMBER (0x90)
|
|
239 |
#define DSATTSY_GET_CHANNEL_STATUS_NUMBER (0xA0)
|
|
240 |
#define DSATTSY_SERVICE_SEARCH_NUMBER (0xB0)
|
|
241 |
#define DSATTSY_GET_SERVICE_INFO_NUMBER (0xC0)
|
|
242 |
#define DSATTSY_DECLARE_SERVICE_NUMBER (0xD0)
|
|
243 |
#define DSATTSY_OPEN_CHANNEL_NUMBER (0xE0)
|
|
244 |
#define DSATTSY_TIMER_MNGT_NUMBER (0xE1)
|
|
245 |
#define DSATTSY_LOCAL_INFO_NUMBER (0xE2)
|
|
246 |
#define DSATTSY_POLLING_INTERVAL_NUMBER (0xE3)
|
|
247 |
#define DSATTSY_POLLING_OFF_NUMBER (0xE4)
|
|
248 |
#define DSATTSY_RETRIEVE_MULTIMEDIA_MESSAGE (0xE5)
|
|
249 |
#define DSATTSY_SUBMIT_MULTIMEDIA_MESSAGE (0xE6)
|
|
250 |
#define DSATTSY_DISPLAY_MULTIMEDIA_MESSAGE (0xE7)
|
|
251 |
#define DSATTSY_SET_FRAMES (0xE8)
|
|
252 |
#define DSATTSY_GET_FRAMES_STATUS (0xE9)
|
|
253 |
|
|
254 |
|
|
255 |
#define DSATTSY_CARD_READER_1 RSat::KAdditionalCardReader1
|
|
256 |
#define DSATTSY_CLA (1)
|
|
257 |
#define DSATTSY_INS (2)
|
|
258 |
#define DSATTSY_LC (3)
|
|
259 |
#define DSATTSY_LE (4)
|
|
260 |
#define DSATTSY_P1 (5)
|
|
261 |
#define DSATTSY_P2 (6)
|
|
262 |
#define DSATTSY_CAPDU _L8("CAPDU")
|
|
263 |
|
|
264 |
#define DSATTSY_GET_READER_STATUS_MODE RSat::ECardReaderStatus
|
|
265 |
|
|
266 |
#define DSATTSY_AT_COMMAND _L8("AT COMMAND")
|
|
267 |
|
|
268 |
#define DSATTSY_SPECIFIC_LANGUAGE RSat::ESpecificLangNotification
|
|
269 |
#define DSATTSY_FRENCH (0x1234)
|
|
270 |
|
|
271 |
#define DSATTSY_BROWSER_SELECTION_MODE RSat::ELaunchBrowserIfNotAlreadyLaunched
|
|
272 |
#define DSATTSY_BROWSER_ID RSat::EDefaultBrowser
|
|
273 |
#define DSATTSY_URL _L8("www.symbian.com")
|
|
274 |
#define DSATTSY_BEARER_LIST _L8("B1B2")
|
|
275 |
#define DSATTSY_PROXY_NAME _L("Proxy 1")
|
|
276 |
#define DSATTSY_NUM_OF_FILE_REF (2)
|
|
277 |
/****
|
|
278 |
#define DSATTSY_FILE1 _L8("File1")
|
|
279 |
#define DSATTSY_FILE2 _L8("File2")
|
|
280 |
****/
|
|
281 |
|
|
282 |
#define DSATTSY_FILE1 _L8("File1")
|
|
283 |
#define DSATTSY_FILE2 _L8("File2")
|
|
284 |
#define DSATTSY_FILE_NULL _L8("\0")
|
|
285 |
// Provisioning file refs
|
|
286 |
// 1 = 1 entry: [1 byte len, 1 byte ref]
|
|
287 |
// 2 = 1 entry: [2 byte len, 128 byte ref]
|
|
288 |
// 3 = 2 entry: [1 byte len, 1 byte ref], [1 byte len, 1 byte ref]
|
|
289 |
// 4 = 1 entry: [2 byte len, 128 byte ref]
|
|
290 |
// 4 = 2 entry: [2 byte len, 128 byte ref], [1 byte len, 1 byte ref]
|
|
291 |
|
|
292 |
#define DSATTSY_FILE_REF_DATA_1 (_L8("a")) // 1-byte key
|
|
293 |
#define DSATTSY_FILE_REF_DATA_128 (_L8("128bytes9.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.12345678"))
|
|
294 |
|
|
295 |
#define DSATTSY_INVALID_REF_FILE (_L8("Invalid file"))
|
|
296 |
|
|
297 |
// Expected total lengths of decoded refs
|
|
298 |
#define DSATTSY_REF_TOTAL_1 (1)
|
|
299 |
#define DSATTSY_REF_TOTAL_2 (128)
|
|
300 |
#define DSATTSY_REF_TOTAL_3 (2)
|
|
301 |
#define DSATTSY_REF_TOTAL_4 (128)
|
|
302 |
#define DSATTSY_REF_TOTAL_5 (129)
|
|
303 |
|
|
304 |
// Expected counts of decoded refs
|
|
305 |
#define DSATTSY_REF_COUNT_1 (1)
|
|
306 |
#define DSATTSY_REF_COUNT_2 (1)
|
|
307 |
#define DSATTSY_REF_COUNT_3 (2)
|
|
308 |
#define DSATTSY_REF_COUNT_4 (1)
|
|
309 |
#define DSATTSY_REF_COUNT_5 (2)
|
|
310 |
|
|
311 |
#define DSATTSY_DATA_LENGTH (3)
|
|
312 |
|
|
313 |
#define DSATTSY_SEND_DATA_MODE RSat::ESendDataImmediately
|
|
314 |
#define DSATTSY_CHANNEL_DATA _L8("Channel Data")
|
|
315 |
|
|
316 |
#define DSATTSY_DECLARE_SERVICE_TYPE RSat::EAddService
|
|
317 |
#define DSATTSY_NULL_NARROW_BUF _L8("")
|
|
318 |
#define DSATTSY_BEARER_NOT_PRESENT RSat::ELocalBearerIdNotPresent
|
|
319 |
#define DSATTSY_NULL_BEARER_ID (0)
|
|
320 |
#define DSATTSY_TCP_PROTO RSat::ETcp
|
|
321 |
#define DSATTSY_PORT_1 (1)
|
|
322 |
|
|
323 |
#define DSATTSY_BEARER_TECH_INDEPENDENT RSat::ETechnologyIndependent
|
|
324 |
#define DSATTSY_SERVICE_SEARCH_PARAMS _L8("Search Params")
|
|
325 |
#define DSATTSY_FILTER_INFO _L8("Filter Info")
|
|
326 |
|
|
327 |
#define DSATTSY_ATTRIBUTE_INFO _L8("Attribute Info")
|
|
328 |
|
|
329 |
#define DSATTSY_CS_BEARER RSat::ECsBearer
|
|
330 |
#define DSATTSY_GPRS_BEARER RSat::EGprsBearer
|
|
331 |
#define DSATTSY_LOCAL_BEARER RSat::ELocalLinksBearer
|
|
332 |
#define DSATTSY_ANY_BEARER RSat::EAnyBearer
|
|
333 |
#define DSATTSY_ON_DEMAND_ESTABLISHMENT RSat::EOnDemand
|
|
334 |
#define DSATTSY_AUTO_RECONNECTION RSat::ENoAutomaticReconnection
|
|
335 |
|
|
336 |
#define DSATTSY_CSD_BEARER_TYPE RSat::ECSDBearer
|
|
337 |
#define DSATTSY_BEARER_PARAMS _L8("Bearer Params")
|
|
338 |
#define DSATTSY_BUFFER_SIZE (2)
|
|
339 |
#define DSATTSY_IPV4_TYPE RSat::EIPv4Address
|
|
340 |
#define DSATTSY_ADDRESS _L8("987654321")
|
|
341 |
#define DSATTSY_LOGIN _L("Login")
|
|
342 |
#define DSATTSY_PASSWORD _L("Password")
|
|
343 |
|
|
344 |
#define DSATTSY_UICC_SERVER_MODE RSat::EUiccServerMode
|
|
345 |
|
|
346 |
#define DSATTSY_ACCESS_NAME _L8("Access Name")
|
|
347 |
|
|
348 |
#define DSATTSY_CODING RSat::E48BitAddress
|
|
349 |
|
|
350 |
#define DSATTSY_NUMBER_OF_CHANNELS (1)
|
|
351 |
#define DSATTSY_SCREEN_HEIGHT (2)
|
|
352 |
#define DSATTSY_SCREEN_WIDTH (3)
|
|
353 |
#define DSATTSY_PROTO_VERSION (4)
|
|
354 |
#define DSATTSY_WIDTH_REDUCTION (5)
|
|
355 |
|
|
356 |
#define DSATTSY_GET_INKEY_RSP_MODE RSat::EImmediateDigitRsp
|
|
357 |
|
|
358 |
#define DSATTSY_SELECTION_PREFERENCE RSat::ESoftKeyPreferred
|
|
359 |
|
|
360 |
#define DSATTSY_AID _L8("AID")
|
|
361 |
|
|
362 |
#define DSATTSY_EVENT_CARD_READER_STATUS (0)
|
|
363 |
#define DSATTSY_EVENT_LANGUAGE_SELECTION (0)
|
|
364 |
#define DSATTSY_EVENT_BROWSER_TERMINATION_CAUSE (RSat::EUserTermination)
|
|
365 |
#define DSATTSY_EVENT_DATA_AVAILABLE_STATUS (_L8("\0\0"))
|
|
366 |
#define DSATTSY_EVENT_DATA_AVAILABLE_LENGTH (0)
|
|
367 |
#define DSATTSY_EVENT_CHANNEL_STATUS (_L8("\0\0"))
|
|
368 |
#define DSATTSY_EVENT_DISPLAY_PROF14 (2)
|
|
369 |
#define DSATTSY_EVENT_DISPLAY_PROF15 (4)
|
|
370 |
#define DSATTSY_EVENT_DISPLAY_PROF16 (8)
|
|
371 |
#define DSATTSY_EVENT_LOCAL_BEARER_ID (RSat::ELocalBearerIdNotSet)
|
|
372 |
#define DSATTSY_EVENT_LOCAL_SERVICE_ID (0)
|
|
373 |
#define DSATTSY_EVENT_LOCAL_SERVICE_RECORD (_L8("\0"))
|
|
374 |
#define DSATTSY_EVENT_LOCAL_ADDR_CODING (RSat::E48BitAddress)
|
|
375 |
#define DSATTSY_EVENT_LOCAL_ADDRESS (DSATTSY_ADDRESS)
|
|
376 |
|
|
377 |
#define DSATTSY_INFO_TYPE (5)
|
|
378 |
#define DSATTSY_CB_PDU _L8("CB PAGE")
|
|
379 |
|
|
380 |
#define DSATTSY_SENDSS (RSat::ESendSs)
|
|
381 |
|
|
382 |
/************************
|
|
383 |
Testing RSat V6 Features
|
|
384 |
*************************/
|
|
385 |
|
|
386 |
//Testing Notify Retrieve Multimedia Message Pcmd
|
|
387 |
|
|
388 |
#define DSATTSYV6_DEVICE_ID1 (RSat::KNetwork)
|
|
389 |
#define DSATTSYV6_DEVICE_ID2 (RSat::KUICC )
|
|
390 |
#define DSATTSYV6_DEVICE_ID3 (RSat::KME)
|
|
391 |
#define DSATTSYV6_DEVICE_ID4 (RSat::KDeviceIdNotSet)
|
|
392 |
|
|
393 |
#define DSATTSYV6_ALPHAID_STATUS1 (RSat::EAlphaIdNotSet)
|
|
394 |
#define DSATTSYV6_ALPHAID_STATUS2 (RSat::EAlphaIdProvided)
|
|
395 |
#define DSATTSYV6_ALPHAID1 _L("ALPHA ID1")
|
|
396 |
#define DSATTSYV6_ALPHAID2 _L("ALPHA ID2")
|
|
397 |
#define DSATTSYV6_ICON_QUALIFIER1 (RSat::EIconQualifierNotSet)
|
|
398 |
#define DSATTSYV6_ICON_QUALIFIER2 (RSat::ENoIconId)
|
|
399 |
#define DSATTSYV6_ICON_QUALIFIER3 (RSat::ESelfExplanatory)
|
|
400 |
#define DSATTSYV6_ICON_ID1 (1)
|
|
401 |
#define DSATTSYV6_ICON_ID2 (2)
|
|
402 |
#define DSATTSYV6_MULTIMEDIA_MESSAGE_REF1 _L("MESSAGE REFERENCE1")
|
|
403 |
#define DSATTSYV6_MULTIMEDIA_MESSAGE_REF2 _L("MESSAGE REFERENCE2")
|
|
404 |
#define DSATTSYV6_RECEPTION_FILE1 _L("RECEPTION FILE1 ")
|
|
405 |
#define DSATTSYV6_RECEPTION_FILE2 _L("RECEPTION FILE2 ")
|
|
406 |
#define DSATTSYV6_MULTIMEDIA_CONTENT_ID1 _L("MULTIMEDIA_CONTENT_ID1")
|
|
407 |
#define DSATTSYV6_MULTIMEDIA_CONTENT_ID2 _L("MULTIMEDIA_CONTENT_ID2")
|
|
408 |
#define DSATTSYV6_MULTIMEDIA_MESSAGE_ID1 _L("MULTIMEDIA_MESSAGE_ID1 ")
|
|
409 |
#define DSATTSYV6_MULTIMEDIA_MESSAGE_ID2 _L("MULTIMEDIA_MESSAGE_ID2 ")
|
|
410 |
|
|
411 |
|
|
412 |
//Testing Notify Submit Multimedia Message Pcmd
|
|
413 |
#define DSATTSYV6_SUBMISSION_FILE1 _L("SUBMISSION_FILE1 ")
|
|
414 |
#define DSATTSYV6_SUBMISSION_FILE2 _L("SUBMISSION_FILE2 ")
|
|
415 |
|
|
416 |
//Testing Notify Display Multimedia Message Pcmd
|
|
417 |
#define DSATTSYV6_DISPLAY_PRIORITY1 (RSat::ENormalPriority)
|
|
418 |
#define DSATTSYV6_DISPLAY_PRIORITY2 (RSat::EHighPriority )
|
|
419 |
#define DSATTSYV6_IMMEDIATE_RESPONSE1 (RSat::EImmediateRspNotSet)
|
|
420 |
#define DSATTSYV6_IMMEDIATE_RESPONSE2 (RSat::ENoImmediateRsp )
|
|
421 |
|
|
422 |
//Testing Set Frames Pcmd
|
|
423 |
#define DSATTSYV6_FRAME_LAYOUT_FORMAT1 (RSat::EFrameHorizontal)
|
|
424 |
#define DSATTSYV6_FRAME_LAYOUT_FORMAT2 (RSat::EFrameVertical)
|
|
425 |
#define DSATTSYV6_FRAME_LAYOUT1 _L("FRAME_LAYOUT1 ")
|
|
426 |
#define DSATTSYV6_FRAME_LAYOUT2 _L("FRAME_LAYOUT2 ")
|
|
427 |
#define DSATTSYV6_FRAME_IDENTIFIER1 (1)
|
|
428 |
#define DSATTSYV6_FRMAE_IDENTIFIER2 (2)
|
|
429 |
#define DSATTSYV6_DEFAULT_FRAME_IDENTIFIER1 (1)
|
|
430 |
#define DSATTSYV6_DEFAULT_FRMAE_IDENTIFIER2 (2)
|
|
431 |
|
|
432 |
//Testing MmsNotificationDownload
|
|
433 |
#define DSATTSYV6_LAST_ENVELOPE1 (1)
|
|
434 |
#define DSATTSYV6_LAST_ENVELOPE2 (2)
|
|
435 |
#define DSATTSYV6_MMS_NOTIFICATION1 _L("MMS_NOTIFICATION1 ")
|
|
436 |
#define DSATTSYV6_MMS_NOTIFICATION2 _L("MMS_NOTIFICATION2 ")
|
|
437 |
|
|
438 |
//Testing MmsTransferStatus
|
|
439 |
#define DSATTSYV6_TRANSFER_FILE1 _L("TRANSFER_FILE1 ")
|
|
440 |
#define DSATTSYV6_MULTIMEDIA_MESSAGE_STATUS _L("MULTIMEDIA_MESSAGE_STATUS")
|
|
441 |
|
|
442 |
//Local Info V6
|
|
443 |
#define DSATTSYV6_LOCAL_INFOV6 (RSat::EUtranMeasurementQualifierIntraFrequency)
|
|
444 |
|
|
445 |
//Play Tone V6
|
|
446 |
#define DSATTSY_TONEV6 (RSat::KMelody7)
|
|
447 |
|
|
448 |
//Network Search Mode Event
|
|
449 |
#define DSATTSY_NETWORK_SEARCH_MODE1 (RSat::EManual)
|
|
450 |
#define DSATTSY_NETWORK_SEARCH_MODE2 (RSat::EAutomatic)
|
|
451 |
|
|
452 |
//Browsing Status Change Event
|
|
453 |
#define DSATTSY_BROWSING_STATUS1 (1)
|
|
454 |
#define DSATTSY_BROWSING_STATUS2 (2)
|
|
455 |
|
|
456 |
//Frames Information Change Event
|
|
457 |
#define DSATTSY_FRAMES_INFORMATION_FRAMEID (0x01)
|
|
458 |
#define DSATTSY_FRAMES_INFORMATION_FRAME_LIST _L8("FRAME LIST")
|
|
459 |
|
|
460 |
//Open Channel
|
|
461 |
|
|
462 |
#define DSATTSYV6_GPRS_BEARER_TYPE1 RSat::EUtranBearer
|
|
463 |
|
|
464 |
#endif // __TESTDEF_H
|
|
465 |
|
|
466 |
|