1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/btbasebandpolicy.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,71 @@
1.4 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +#ifndef BTBASEBANDPOLICY_H
1.20 +#define BTBASEBANDPOLICY_H
1.21 +
1.22 +/**
1.23 +@file
1.24 +@publishedAll
1.25 +@released
1.26 +*/
1.27 +
1.28 +#include <bttypes.h>
1.29 +#include <btdevice.h>
1.30 +
1.31 +/** Paging policy for baseband.*/
1.32 +enum TBasebandPageTimePolicy
1.33 + {
1.34 + EPagingDontCare, /*!< Don't care setting */
1.35 + EPagingNormal, /*!< Normal setting */
1.36 + EPagingBestEffort, /*!< Best effort setting */
1.37 + EPagingQuick, /*!< Quick paging setting */
1.38 + };
1.39 +
1.40 +struct TBasebandPolicyParams
1.41 +/** Baseband policy parameters.*/
1.42 + {
1.43 + TBasebandPageTimePolicy iPageTimePolicy; /*!< Page time policy */
1.44 + };
1.45 +
1.46 +struct TSetBasebandPolicy
1.47 +/** Set baseband policy.
1.48 +
1.49 +@deprecated
1.50 +@see RBTBaseband, TPhysicalLinkQuickConnectionToken
1.51 +*/
1.52 + {
1.53 + TBTDevAddr iDevAddr; /*!< Device Address */
1.54 + TBasebandPolicyParams iPolicy; /*!< Policy parameters */
1.55 + };
1.56 +
1.57 +/** Package for SetBasebandPolicy structure
1.58 +@deprecated
1.59 +*/
1.60 +typedef TPckgBuf<TSetBasebandPolicy> TSetBasebandPolicyBuf;
1.61 +
1.62 +struct TPhysicalLinkQuickConnectionToken
1.63 +/** Specifies details for faster connection.*/
1.64 + {
1.65 + TBTNamelessDevice iDevice; /*!< Nameless device */
1.66 + TBasebandPolicyParams iPolicy; /*!< New policy */
1.67 + };
1.68 +
1.69 +typedef TPckgBuf<TPhysicalLinkQuickConnectionToken> TPhysicalLinkQuickConnectionTokenBuf; /*!< Package for TPhysicalLinkQuickConnectionToken structure */
1.70 +
1.71 +#define KBasebandSlotTime 0.000625 /*!< Baseband timeslot duration (0.000625 seconds) */
1.72 +static const TUint KDefaultBasebandConnectionTimeout = 10; /*!< Default baseband connection timeout (10 seconds) */
1.73 +
1.74 +#endif // BTBASEBANDPOLICY_H