24
|
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".
|
|
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 |
@file
|
|
23 |
@publishedAll
|
|
24 |
@released
|
|
25 |
*/
|
|
26 |
|
|
27 |
|
|
28 |
#ifndef __GSMUNMSPACEMOBMSG_H__
|
|
29 |
#define __GSMUNMSPACEMOBMSG_H__
|
|
30 |
|
|
31 |
/**
|
|
32 |
* PDU types.
|
|
33 |
*
|
|
34 |
* Modes: Common
|
|
35 |
*
|
|
36 |
* @see class class RMobileSmsMessaging
|
|
37 |
*/
|
|
38 |
namespace NMobileSmsMessaging
|
|
39 |
{
|
|
40 |
// Definitions for sizes of TPDU and User Data fields
|
|
41 |
enum
|
|
42 |
{
|
|
43 |
KGsmTpduSize = 165, // 140 bytes user data + 25 bytes TPDU header
|
|
44 |
/* @deprecated 9.5 */
|
|
45 |
KCdmaTpduSize = 256 // Max size of Bearer Data in Transport Layer message
|
|
46 |
};
|
|
47 |
|
|
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.
|
|
51 |
@deprecated 9.5
|
|
52 |
*/
|
|
53 |
typedef TBuf8<KCdmaTpduSize> TMobileSmsCdmaTpdu;
|
|
54 |
}
|
|
55 |
|
|
56 |
#endif // __GSMUNMSPACEMOBMSG_H__
|