author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// Multimode SMS common API header file. |
williamr@2 | 15 |
// Describes common Telephony interface types for SMS messaging. |
williamr@2 | 16 |
// The types are duplicated from ETELMM.h in an effort to separate SMS from ETEL. |
williamr@2 | 17 |
// Correspondent ETEL types could be found in ETELMM.h, class RMobileSmsMessaging. |
williamr@2 | 18 |
// |
williamr@2 | 19 |
// |
williamr@2 | 20 |
|
williamr@2 | 21 |
/** |
williamr@2 | 22 |
@file |
williamr@2 | 23 |
@publishedAll |
williamr@2 | 24 |
@released |
williamr@2 | 25 |
*/ |
williamr@2 | 26 |
|
williamr@2 | 27 |
|
williamr@2 | 28 |
#ifndef __GSMUNMSPACEMOBMSG_H__ |
williamr@2 | 29 |
#define __GSMUNMSPACEMOBMSG_H__ |
williamr@2 | 30 |
|
williamr@2 | 31 |
/** |
williamr@2 | 32 |
* PDU types. |
williamr@2 | 33 |
* |
williamr@2 | 34 |
* Modes: Common |
williamr@2 | 35 |
* |
williamr@2 | 36 |
* @see class class RMobileSmsMessaging |
williamr@2 | 37 |
*/ |
williamr@2 | 38 |
namespace NMobileSmsMessaging |
williamr@2 | 39 |
{ |
williamr@2 | 40 |
// Definitions for sizes of TPDU and User Data fields |
williamr@2 | 41 |
enum |
williamr@2 | 42 |
{ |
williamr@2 | 43 |
KGsmTpduSize = 165, // 140 bytes user data + 25 bytes TPDU header |
williamr@4 | 44 |
/* @deprecated 9.5 */ |
williamr@2 | 45 |
KCdmaTpduSize = 256 // Max size of Bearer Data in Transport Layer message |
williamr@2 | 46 |
}; |
williamr@2 | 47 |
|
williamr@2 | 48 |
/** A typedef'd buffer for GSM or WCDMA message data.*/ |
williamr@2 | 49 |
typedef TBuf8<KGsmTpduSize> TMobileSmsGsmTpdu; |
williamr@4 | 50 |
/** A typedef'd buffer for CDMA message data. |
williamr@4 | 51 |
@deprecated 9.5 |
williamr@4 | 52 |
*/ |
williamr@2 | 53 |
typedef TBuf8<KCdmaTpduSize> TMobileSmsCdmaTpdu; |
williamr@2 | 54 |
} |
williamr@2 | 55 |
|
williamr@2 | 56 |
#endif // __GSMUNMSPACEMOBMSG_H__ |