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 "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
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.
28 #ifndef __GSMUNMSPACEMOBMSG_H__
29 #define __GSMUNMSPACEMOBMSG_H__
36 * @see class class RMobileSmsMessaging
38 namespace NMobileSmsMessaging
40 // Definitions for sizes of TPDU and User Data fields
43 KGsmTpduSize = 165, // 140 bytes user data + 25 bytes TPDU header
45 KCdmaTpduSize = 256 // Max size of Bearer Data in Transport Layer message
48 /** A typedef'd buffer for GSM or WCDMA message data.*/
49 typedef TBuf8<KGsmTpduSize> TMobileSmsGsmTpdu;
50 /** A typedef'd buffer for CDMA message data.
53 typedef TBuf8<KCdmaTpduSize> TMobileSmsCdmaTpdu;
56 #endif // __GSMUNMSPACEMOBMSG_H__