1 gsmunmspacemobmsg.h |
1 // Copyright (c) 2004-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Multimode SMS common API header file. |
|
15 // Describes common Telephony interface types for SMS messaging. |
|
16 // The types are duplicated from ETELMM.h in an effort to separate SMS from ETEL. |
|
17 // Correspondent ETEL types could be found in ETELMM.h, class RMobileSmsMessaging. |
|
18 // |
|
19 // |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file |
|
25 @publishedAll |
|
26 @released |
|
27 */ |
|
28 |
|
29 |
|
30 #ifndef __GSMUNMSPACEMOBMSG_H__ |
|
31 #define __GSMUNMSPACEMOBMSG_H__ |
|
32 |
|
33 /** |
|
34 * PDU types. |
|
35 * |
|
36 * Modes: Common |
|
37 * |
|
38 * @see class class RMobileSmsMessaging |
|
39 */ |
|
40 namespace NMobileSmsMessaging |
|
41 { |
|
42 // Definitions for sizes of TPDU and User Data fields |
|
43 enum |
|
44 { |
|
45 KGsmTpduSize = 165, // 140 bytes user data + 25 bytes TPDU header |
|
46 KCdmaTpduSize = 256 // Max size of Bearer Data in Transport Layer message |
|
47 }; |
|
48 |
|
49 /** A typedef'd buffer for GSM or WCDMA message data.*/ |
|
50 typedef TBuf8<KGsmTpduSize> TMobileSmsGsmTpdu; |
|
51 /** A typedef'd buffer for CDMA message data.*/ |
|
52 typedef TBuf8<KCdmaTpduSize> TMobileSmsCdmaTpdu; |
|
53 } |
|
54 |
|
55 #endif // __GSMUNMSPACEMOBMSG_H__ |