epoc32/include/btbasebandpolicy.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 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 //
    15 
    16 #ifndef BTBASEBANDPOLICY_H
    17 #define BTBASEBANDPOLICY_H
    18 
    19 /**
    20 @file
    21 @publishedAll
    22 @released
    23 */
    24 
    25 #include <bttypes.h>
    26 #include <btdevice.h>
    27 
    28 /** Paging policy for baseband.*/
    29 enum TBasebandPageTimePolicy
    30     {
    31 	EPagingDontCare,	/*!< Don't care setting */
    32     EPagingNormal,		/*!< Normal setting */
    33     EPagingBestEffort,	/*!< Best effort setting */
    34     EPagingQuick,		/*!< Quick paging setting */
    35     };
    36 
    37 struct TBasebandPolicyParams
    38 /** Baseband policy parameters.*/
    39 	{
    40 	TBasebandPageTimePolicy		iPageTimePolicy;	/*!< Page time policy */
    41 	};
    42 
    43 struct TSetBasebandPolicy
    44 /** Set baseband policy.
    45 
    46 @deprecated
    47 @see RBTBaseband, TPhysicalLinkQuickConnectionToken
    48 */
    49 	{
    50 	TBTDevAddr				iDevAddr;	/*!< Device Address */
    51 	TBasebandPolicyParams	iPolicy;	/*!< Policy parameters */
    52 	};
    53 
    54 /** Package for SetBasebandPolicy structure
    55 @deprecated
    56 */
    57 typedef TPckgBuf<TSetBasebandPolicy> TSetBasebandPolicyBuf;	
    58 
    59 struct TPhysicalLinkQuickConnectionToken
    60 /** Specifies details for faster connection.*/
    61 	{
    62 	TBTNamelessDevice		iDevice;	/*!< Nameless device */
    63 	TBasebandPolicyParams	iPolicy;	/*!< New policy */
    64 	};
    65 	
    66 typedef TPckgBuf<TPhysicalLinkQuickConnectionToken> TPhysicalLinkQuickConnectionTokenBuf;	/*!< Package for TPhysicalLinkQuickConnectionToken structure */
    67 
    68 #define KBasebandSlotTime 0.000625	/*!< Baseband timeslot duration (0.000625 seconds) */
    69 static const TUint KDefaultBasebandConnectionTimeout = 10;  /*!< Default baseband connection timeout (10 seconds) */
    70 
    71 #endif // BTBASEBANDPOLICY_H