|
1 /** |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * defines attributes used by Dummy TSY |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 @internalComponent |
|
25 */ |
|
26 |
|
27 #ifndef __ATTRIBUTES_H |
|
28 #define __ATTRIBUTES_H |
|
29 |
|
30 #include "etelmm.h" |
|
31 |
|
32 |
|
33 // Testing SMS Messaging |
|
34 |
|
35 // SMS CAPS |
|
36 #define DMMTSY_SMS_MESSAGING_MODE_CAPS_0 (TUint32)(RMobileSmsMessaging::KCapsGsmSms |\ |
|
37 RMobileSmsMessaging::KCapsCdmaSms) |
|
38 |
|
39 #define DMMTSY_SMS_MESSAGING_MODE_CAPS_1 (TUint32)(RMobileSmsMessaging::KCapsGsmSms) |
|
40 #define DMMTSY_SMS_MESSAGING_MODE_CAPS_2 (TUint32)(RMobileSmsMessaging::KCapsCdmaSms) |
|
41 |
|
42 |
|
43 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_0 (TUint32)(RMobileSmsMessaging::KCapsReceiveStored |\ |
|
44 RMobileSmsMessaging::KCapsReceiveUnstoredPhoneAck |\ |
|
45 RMobileSmsMessaging::KCapsReceiveUnstoredClientAck |\ |
|
46 RMobileSmsMessaging::KCapsSendWithAck |\ |
|
47 RMobileSmsMessaging::KCapsGetSmspList |\ |
|
48 RMobileSmsMessaging::KCapsSetSmspList) |
|
49 |
|
50 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_1 (TUint32)(RMobileSmsMessaging::KCapsReceiveStored |\ |
|
51 RMobileSmsMessaging::KCapsSendWithAck) |
|
52 |
|
53 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_2 (TUint32)(RMobileSmsMessaging::KCapsReceiveUnstoredPhoneAck |\ |
|
54 RMobileSmsMessaging::KCapsSendWithAck |\ |
|
55 RMobileSmsMessaging::KCapsGetSmspList|\ |
|
56 RMobileSmsMessaging::KCapsSetSmspList) |
|
57 |
|
58 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_3 (TUint32)(RMobileSmsMessaging::KCapsSendNoAck |\ |
|
59 RMobileSmsMessaging::KCapsGetSmspList |\ |
|
60 RMobileSmsMessaging::KCapsSetSmspList) |
|
61 |
|
62 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_4 (TUint32)(RMobileSmsMessaging::KCapsReceiveEither |\ |
|
63 RMobileSmsMessaging::KCapsSendWithAck |\ |
|
64 RMobileSmsMessaging::KCapsGetSmspList |\ |
|
65 RMobileSmsMessaging::KCapsSetSmspList) |
|
66 |
|
67 #define DMMTSY_SMS_MESSAGING_CONTROL_CAPS_5 (TUint32)(RMobileSmsMessaging::KCapsReceiveUnstoredClientAck |\ |
|
68 RMobileSmsMessaging::KCapsSendWithAck |\ |
|
69 RMobileSmsMessaging::KCapsGetSmspList |\ |
|
70 RMobileSmsMessaging::KCapsSetSmspList) |
|
71 |
|
72 // SMS RECEIVE MODE |
|
73 #define DMMTSY_SMS_MESSAGING_RECEIVE_MODE_1 RMobileSmsMessaging::EReceiveUnstoredClientAck |
|
74 #define DMMTSY_SMS_MESSAGING_RECEIVE_MODE_2 RMobileSmsMessaging::EReceiveStored |
|
75 |
|
76 // SMS BEARER |
|
77 #define DMMTSY_SMS_MESSAGING_BEARER_1 RMobileSmsMessaging::ESmsBearerPacketPreferred |
|
78 #define DMMTSY_SMS_MESSAGING_BEARER_2 RMobileSmsMessaging::ESmsBearerCircuitOnly |
|
79 |
|
80 // RECEIVE ATTRIBUTES |
|
81 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_0 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
82 RMobileSmsMessaging::KGsmServiceCentre |\ |
|
83 RMobileSmsMessaging::KStorageLocation ) |
|
84 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_1 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
85 RMobileSmsMessaging::KGsmServiceCentre |\ |
|
86 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
87 RMobileSmsMessaging::KIncomingStatus |\ |
|
88 RMobileSmsMessaging::KStorageLocation ) |
|
89 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_2 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
90 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
91 RMobileSmsMessaging::KIncomingStatus |\ |
|
92 RMobileSmsMessaging::KGsmServiceCentre) |
|
93 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_3 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
94 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
95 RMobileSmsMessaging::KStorageLocation |\ |
|
96 RMobileSmsMessaging::KGsmServiceCentre) |
|
97 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_4 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
98 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
99 RMobileSmsMessaging::KStorageLocation |\ |
|
100 RMobileSmsMessaging::KGsmServiceCentre) |
|
101 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_5 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
102 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
103 RMobileSmsMessaging::KStorageLocation |\ |
|
104 RMobileSmsMessaging::KGsmServiceCentre) |
|
105 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_6 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
106 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
107 RMobileSmsMessaging::KStorageLocation |\ |
|
108 RMobileSmsMessaging::KGsmServiceCentre) |
|
109 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_7 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
110 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
111 RMobileSmsMessaging::KStorageLocation |\ |
|
112 RMobileSmsMessaging::KGsmServiceCentre) |
|
113 #define DMMTSY_SMS_ATTRIBUTE_FLAGS_8 (TUint32)(RMobileSmsMessaging::KSmsDataFormat |\ |
|
114 RMobileSmsMessaging::KRemotePartyInfo |\ |
|
115 RMobileSmsMessaging::KStorageLocation |\ |
|
116 RMobileSmsMessaging::KGsmServiceCentre) |
|
117 |
|
118 // Includes Type of number, Numbering plan and the actual number |
|
119 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_0 (RMobilePhone::EUnknownNumber) |
|
120 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_0 (RMobilePhone::EUnknownNumberingPlan) |
|
121 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_0 _L("0405202000") |
|
122 |
|
123 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_1 (RMobilePhone::EInternationalNumber) |
|
124 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_1 (RMobilePhone::EIsdnNumberPlan) |
|
125 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_1 _L("358405202000") |
|
126 |
|
127 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_2 (RMobilePhone::ENationalNumber) |
|
128 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_2 (RMobilePhone::EDataNumberPlan) |
|
129 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_2 _L("0405202000") |
|
130 |
|
131 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_3 (RMobilePhone::ENetworkSpecificNumber) |
|
132 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_3 (RMobilePhone::ETelexNumberPlan) |
|
133 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_3 _L("0405202000") |
|
134 |
|
135 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_4 (RMobilePhone::ESubscriberNumber) |
|
136 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_4 (RMobilePhone::EServiceCentreSpecificPlan1) |
|
137 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_4 _L("0405202000") |
|
138 |
|
139 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_5 (RMobilePhone::EAlphanumericNumber) |
|
140 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_5 (RMobilePhone::EServiceCentreSpecificPlan2) |
|
141 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_5 _L("SONERA") |
|
142 |
|
143 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_6 (RMobilePhone::EAbbreviatedNumber) |
|
144 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_6 (RMobilePhone::ENationalNumberPlan) |
|
145 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_6 _L("0405202000") |
|
146 |
|
147 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_7 (RMobilePhone::EInternationalNumber) |
|
148 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_7 (RMobilePhone::EPrivateNumberPlan) |
|
149 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_7 _L("") |
|
150 |
|
151 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TON_8 (RMobilePhone::EInternationalNumber) |
|
152 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_NP_8 (RMobilePhone::EERMESNumberPlan) |
|
153 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_8 _L("358405202222") |
|
154 #define DMMTSY_SMS_MESSAGE_GSMSERVICECENTRE_TEL_NUMBER_9 _L("358405202555") |
|
155 |
|
156 // Data Format |
|
157 #define DMMTSY_SMS_MESSAGE_DATAFORMAT_0 (RMobileSmsMessaging::EFormatUnspecified) |
|
158 #define DMMTSY_SMS_MESSAGE_DATAFORMAT_1 (RMobileSmsMessaging::EFormatGsmTpdu) |
|
159 #define DMMTSY_SMS_MESSAGE_DATAFORMAT_2 (RMobileSmsMessaging::EFormatCdmaTpdu) |
|
160 |
|
161 // Originator includes Type of number, Numbering plan and the actual number |
|
162 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_0 (RMobilePhone::EUnknownNumber) |
|
163 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_0 (RMobilePhone::EUnknownNumberingPlan) |
|
164 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_0 _L("0405202000") |
|
165 |
|
166 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_1 (RMobilePhone::EInternationalNumber) |
|
167 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_1 (RMobilePhone::EIsdnNumberPlan) |
|
168 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_1 _L("358405202000") |
|
169 |
|
170 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_2 (RMobilePhone::ENationalNumber) |
|
171 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_2 (RMobilePhone::EDataNumberPlan) |
|
172 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_2 _L("0405202000") |
|
173 |
|
174 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_3 (RMobilePhone::ENetworkSpecificNumber) |
|
175 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_3 (RMobilePhone::ETelexNumberPlan) |
|
176 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_3 _L("0405202000") |
|
177 |
|
178 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_4 (RMobilePhone::ESubscriberNumber) |
|
179 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_4 (RMobilePhone::EServiceCentreSpecificPlan1) |
|
180 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_4 _L("0405202000") |
|
181 |
|
182 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_5 (RMobilePhone::EAlphanumericNumber) |
|
183 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_5 (RMobilePhone::EServiceCentreSpecificPlan2) |
|
184 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_5 _L("0405202000") |
|
185 |
|
186 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_6 (RMobilePhone::EAbbreviatedNumber) |
|
187 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_6 (RMobilePhone::ENationalNumberPlan) |
|
188 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_6 _L("358405202000") |
|
189 |
|
190 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_7 (RMobilePhone::EInternationalNumber) |
|
191 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_7 (RMobilePhone::EPrivateNumberPlan) |
|
192 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_7 _L("") |
|
193 |
|
194 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TON_8 (RMobilePhone::EInternationalNumber) |
|
195 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_NP_8 (RMobilePhone::EERMESNumberPlan) |
|
196 #define DMMTSY_SMS_MESSAGE_ORIGINATOR_TEL_NUMBER_8 _L("358405202000") |
|
197 |
|
198 // Mobile Sms Incoming Status |
|
199 #define DMMTSY_SMS_MESSAGE_STATUS_0 (RMobileSmsMessaging::EMtMessageUnknownStatus) |
|
200 #define DMMTSY_SMS_MESSAGE_STATUS_1 (RMobileSmsMessaging::EMtMessageUnstoredPhoneAck) |
|
201 #define DMMTSY_SMS_MESSAGE_STATUS_2 (RMobileSmsMessaging::EMtMessageUnstoredClientAck) |
|
202 #define DMMTSY_SMS_MESSAGE_STATUS_3 (RMobileSmsMessaging::EMtMessageStored) |
|
203 |
|
204 // Store index |
|
205 #define DMMTSY_SMS_MESSAGE_STOREINDEX_0 (1) |
|
206 #define DMMTSY_SMS_MESSAGE_STOREINDEX_1 (2) |
|
207 #define DMMTSY_SMS_MESSAGE_STOREINDEX_2 (3) |
|
208 #define DMMTSY_SMS_MESSAGE_STOREINDEX_3 (4) |
|
209 |
|
210 |
|
211 //Deliver report |
|
212 #define DMMTSY_SMS_DEFAULT_DELIVER_REPORT (TText8*)("0000") //Default deliver report |
|
213 |
|
214 // SEND ATTRIBUTES |
|
215 //Flags |
|
216 #define DMMTSY_SMS_SEND_ATTRIBUTE_FLAGS_0 (TUint32)(RMobileSmsMessaging::KMessageReference |\ |
|
217 RMobileSmsMessaging::KGsmSubmitReport ) |
|
218 #define DMMTSY_SMS_SEND_ATTRIBUTE_FLAGS_1 (TUint32)(RMobileSmsMessaging::KMessageReference) |
|
219 #define DMMTSY_SMS_SEND_ATTRIBUTE_FLAGS_2 (TUint32)(RMobileSmsMessaging::KGsmSubmitReport) |
|
220 |
|
221 |
|
222 // Message references are handled by using internal member attribute |
|
223 #define DMMTSY_SMS_MESSAGE_MSGREF_0 (0) |
|
224 #define DMMTSY_SMS_MESSAGE_MSGREF_1 (1) |
|
225 #define DMMTSY_SMS_MESSAGE_MSGREF_2 (2) |
|
226 |
|
227 #define DMMTSY_SMS_MESSAGE_MSGREF_3 (34) |
|
228 #define DMMTSY_SMS_MESSAGE_MSGREF_4 (255) |
|
229 |
|
230 // Submit reports |
|
231 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_0 (TText8*)("010010807141731480") |
|
232 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_1 (TText8*)("010010801241332180") |
|
233 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_2 (TText8*)("010010101000000080") |
|
234 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_3 (TText8*)("010010111111111180") |
|
235 |
|
236 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_4 (TText8*)("010010112051731180") |
|
237 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_5 (TText8*)("010010112051733180") |
|
238 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_6 (TText8*)("010010112051735180") |
|
239 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_7 (TText8*)("010010112051731480") |
|
240 |
|
241 //Submit reports with RP-Cause |
|
242 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_8 (TText8*)("01080010112211221180") |
|
243 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_21 (TText8*)("01150010801241332180") |
|
244 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_27 (TText8*)("011B0010112211221180") |
|
245 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_28 (TText8*)("011C0010801241332180") |
|
246 #define DMMTSY_SMS_MESSAGE_SUBMITREPORT_29 (TText8*)("011D0010112211221180") |
|
247 // | |
|
248 // RP-CAUSE |
|
249 |
|
250 #define DMMTSY_SMS_MESSAGE_MORE_0 (TBool)(EFalse) |
|
251 #define DMMTSY_SMS_MESSAGE_MORE_1 (TBool)(ETrue) |
|
252 |
|
253 //SMS STORAGE |
|
254 |
|
255 #define DMMTSY_PHONE_MESSAGE_STORE_COUNT_0 (2) |
|
256 #define DMMTSY_PHONE_MESSAGE_STORE_COUNT_1 (4) |
|
257 // Store index |
|
258 #define DMMTSY_SMS_STORE_INDEX_1 (30) |
|
259 #define DMMTSY_SMS_STORE_INDEX_2 (45) |
|
260 #define DMMTSY_SMS_STORE_INDEX_3 (101) |
|
261 #define DMMTSY_SMS_STORE_INDEX_4 (127) |
|
262 |
|
263 #define DMMTSY_SMS_MESSAGE_FULL (TBool)(ETrue) |
|
264 |
|
265 #define DMMTSY_SMS_MESSAGE_FORMAT1 RMobileSmsMessaging::EFormatGsmTpdu |
|
266 #define DMMTSY_SMS_MESSAGE_STATUS1 RMobileSmsMessaging::EMtMessageStored |
|
267 |
|
268 #define DMMTSY_SMS_MESSAGE_FORMAT2 RMobileSmsMessaging::EFormatCdmaTpdu |
|
269 #define DMMTSY_SMS_MESSAGE_TELESERVICE (TInt)(34) |
|
270 #define DMMTSY_SMS_MESSAGE_STATUS2 RMobileSmsMessaging::EMtMessageUnstoredClientAck |
|
271 |
|
272 //SMS TPDUS FOR SMS STORAGE TESTING |
|
273 // 8 bit rx pdu, contains:"test message, 8bits, length 30" |
|
274 #define DMMTSY_SMS_MESSAGE_PDU_1 (TText8*)("240C915348801455820004108071417314801E74657374206D6573736167652C2038626974732C206C656E677468203330") //8bit pdu |
|
275 // 7bit rx pdu contains: "test message, length 23" |
|
276 #define DMMTSY_SMS_MESSAGE_PDU_2 (TText8*)("240C9153488014558200001080714173148017F4F29C0E6A97E7F3F0B9CC02B1CBEE331D0D92CD00") //7bit pdu |
|
277 //Class 0 rx pdu, contains: "Class 0 message" |
|
278 #define DMMTSY_SMS_MESSAGE_PDU_3 (TText8*)("040C915348801455820010108032110222800F4376783E07C140EDF27C1E3E9701") |
|
279 |
|
280 // Three pdus of one concatenated message that contains: |
|
281 //"3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. 3 PDU test SMS message. The End." |
|
282 #define DMMTSY_SMS_MESSAGE_CONCATENATED1 (TText8*)"440C915348801455820000103060019153009F050003000301662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA29701" |
|
283 #define DMMTSY_SMS_MESSAGE_CONCATENATED2 (TText8*)"440C915348801455820000103060019193009F050003000302E674D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B501" |
|
284 #define DMMTSY_SMS_MESSAGE_CONCATENATED3 (TText8*)"440C9153488014558200001030600191340077050003000303CAF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681662028B10AA297E774D0B43905B5CBF379F85C7681A8E832A8E826BB00" |
|
285 |
|
286 //SMS STORAGE |
|
287 //7-bit message, contains:"ME STORE MESSAGE 1" |
|
288 #define DMMTSY_SMS_ME_STORE_PDU_1 (TText8*)("15000C915348801455820000A712CD22684A7D4A8BA066713A0D1E8BA018") |
|
289 //7-bit message, contains:"ME STORE MESSAGE 2" |
|
290 #define DMMTSY_SMS_ME_STORE_PDU_2 (TText8*)("15000C915348801455820000A712CD22684A7D4A8BA066713A0D1E8B2019") |
|
291 |
|
292 //7-bit message, contains:"SIM STORE MESSAGE 1" |
|
293 #define DMMTSY_SMS_SIM_STORE_PDU_1 (TText8*)("240C9153488014558200001011919111228013D3641334A53EA54550B3389D068F45500C") |
|
294 //7-bit message, contains:"SIM STORE MESSAGE 2" |
|
295 #define DMMTSY_SMS_SIM_STORE_PDU_2 (TText8*)("240C9153488014558200001011919191228013D3641334A53EA54550B3389D068F45900C") |
|
296 //7-bit message, contains:"SIM STORE MESSAGE 3" |
|
297 #define DMMTSY_SMS_SIM_STORE_PDU_3 (TText8*)("240C9153488014558200001011919191228013D3641334A53EA54550B3389D068F45C00C") |
|
298 |
|
299 #define DMMTSY_MESSAGE_STORE_CAPS_1 (TUint32)(RMobilePhoneStore::KCapsNotifyEvent |\ |
|
300 RMobileSmsStore::KCapsGsmMessages) |
|
301 |
|
302 #define DMMTSY_MESSAGE_STORE_CAPS_2 (TUint32)(RMobilePhoneStore::KCapsWholeStore |\ |
|
303 RMobilePhoneStore::KCapsReadAccess |\ |
|
304 RMobilePhoneStore::KCapsWriteAccess |\ |
|
305 RMobilePhoneStore::KCapsNotifyEvent |\ |
|
306 RMobileSmsStore::KCapsReadMessages |\ |
|
307 RMobileSmsStore::KCapsUnreadMessages |\ |
|
308 RMobileSmsStore::KCapsSentMessages |\ |
|
309 RMobileSmsStore::KCapsUnsentMessages |\ |
|
310 RMobileSmsStore::KCapsGsmMessages) |
|
311 |
|
312 #define DMMTSY_MESSAGE_STORE_CAPS_3 (TUint32)(RMobilePhoneStore::KCapsIndividualEntry |\ |
|
313 RMobilePhoneStore::KCapsReadAccess |\ |
|
314 RMobilePhoneStore::KCapsWriteAccess |\ |
|
315 RMobilePhoneStore::KCapsDeleteAll |\ |
|
316 RMobilePhoneStore::KCapsNotifyEvent) |
|
317 |
|
318 #define DMMTSY_MESSAGE_STORE_CAPS_4 (TUint32)(RMobilePhoneStore::KCapsIndividualEntry |\ |
|
319 RMobilePhoneStore::KCapsReadAccess |\ |
|
320 RMobilePhoneStore::KCapsWriteAccess |\ |
|
321 RMobilePhoneStore::KCapsNotifyEvent) |
|
322 |
|
323 #define DMMTSY_MESSAGE_STORE_EVENT RMobilePhoneStore::KStoreHasSpace |
|
324 |
|
325 //OTHER DEFINITIONS |
|
326 #define DMMTSY_SMS_MESSAGE_NACK_CAUSE (-4534) // KErrGsmSMSMemoryCapacityExceeded |
|
327 |
|
328 // SMS PARAMETERS STORAGE |
|
329 #define DMMTSY_SMSP_STORE_SCA _L("02075474324") |
|
330 #define DMMTSY_SMSP_STORE_EVENT RMobilePhoneStore::EStoreFull |
|
331 #define DMMTSY_SMSP_STORE_INDEX1 (1) |
|
332 #define DMMTSY_SMSP_STORE_TEXT1 _L("Katie's SMS address") |
|
333 #define DMMTSY_SMSP_STORE_VALID_PARAMS1 (TUint8)(0x1F) |
|
334 #define DMMTSY_SMSP_STORE_PID1 (TUint8)(0x34) |
|
335 #define DMMTSY_SMSP_STORE_DCS1 (TUint8)(0x8A) |
|
336 #define DMMTSY_SMSP_STORE_VALIDITY1 (TUint8)(0x91) |
|
337 |
|
338 #define DMMTSY_SMSP_STORE_INDEX2 (2) |
|
339 #define DMMTSY_SMSP_STORE_TEXT2 _L("Ian's SMS address") |
|
340 #define DMMTSY_SMSP_STORE_VALID_PARAMS2 (TUint8)(0x1F) |
|
341 #define DMMTSY_SMSP_STORE_PID2 (TUint8)(0x73) |
|
342 #define DMMTSY_SMSP_STORE_DCS2 (TUint8)(0xF2) |
|
343 #define DMMTSY_SMSP_STORE_VALIDITY2 (TUint8)(0x04) |
|
344 |
|
345 #define DMMTSY_SMSP_STORE_STATUS (TBool)(EFalse) |
|
346 #define DMMTSY_SMSP_STORE_COUNT (2) |
|
347 |
|
348 // Destination includes Type of number, Numbering plan and the actual number |
|
349 #define DMMTSY_SMS_MESSAGE_DESTINATION_TON_0 (RMobilePhone::EInternationalNumber) |
|
350 #define DMMTSY_SMS_MESSAGE_DESTINATION_NP_0 (RMobilePhone::EIsdnNumberPlan) |
|
351 #define DMMTSY_SMS_MESSAGE_DESTINATION_TEL_NUMBER_0 _L("358405202000") |
|
352 |
|
353 #define DMMTSY_SMS_MESSAGE_DESTINATION_TON_1 (RMobilePhone::ENationalNumber) |
|
354 #define DMMTSY_SMS_MESSAGE_DESTINATION_NP_1 (RMobilePhone::EDataNumberPlan) |
|
355 #define DMMTSY_SMS_MESSAGE_DESTINATION_TEL_NUMBER_1 _L("0405202000") |
|
356 |
|
357 #define DMMTSY_SMS_MESSAGE_DESTINATION_TON_2 (RMobilePhone::ENetworkSpecificNumber) |
|
358 #define DMMTSY_SMS_MESSAGE_DESTINATION_NP_2 (RMobilePhone::ETelexNumberPlan) |
|
359 #define DMMTSY_SMS_MESSAGE_DESTINATION_TEL_NUMBER_2 _L("0405202000") |
|
360 |
|
361 #define DMMTSY_SMS_MESSAGE_DESTINATION_TON_3 (RMobilePhone::ESubscriberNumber) |
|
362 #define DMMTSY_SMS_MESSAGE_DESTINATION_NP_3 (RMobilePhone::EServiceCentreSpecificPlan1) |
|
363 #define DMMTSY_SMS_MESSAGE_DESTINATION_TEL_NUMBER_3 _L("0405202000") |
|
364 |
|
365 #define DMMTSY_SMS_MESSAGE_DESTINATION_TON_4 (RMobilePhone::EAlphanumericNumber) |
|
366 #define DMMTSY_SMS_MESSAGE_DESTINATION_NP_4 (RMobilePhone::EServiceCentreSpecificPlan2) |
|
367 #define DMMTSY_SMS_MESSAGE_DESTINATION_TEL_NUMBER_4 _L("0405202000") |
|
368 |
|
369 #endif |