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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef BTBASEBANDPOLICY_H
17 #define BTBASEBANDPOLICY_H
28 /** Paging policy for baseband.*/
29 enum TBasebandPageTimePolicy
31 EPagingDontCare, /*!< Don't care setting */
32 EPagingNormal, /*!< Normal setting */
33 EPagingBestEffort, /*!< Best effort setting */
34 EPagingQuick, /*!< Quick paging setting */
37 struct TBasebandPolicyParams
38 /** Baseband policy parameters.*/
40 TBasebandPageTimePolicy iPageTimePolicy; /*!< Page time policy */
43 struct TSetBasebandPolicy
44 /** Set baseband policy.
47 @see RBTBaseband, TPhysicalLinkQuickConnectionToken
50 TBTDevAddr iDevAddr; /*!< Device Address */
51 TBasebandPolicyParams iPolicy; /*!< Policy parameters */
54 /** Package for SetBasebandPolicy structure
57 typedef TPckgBuf<TSetBasebandPolicy> TSetBasebandPolicyBuf;
59 struct TPhysicalLinkQuickConnectionToken
60 /** Specifies details for faster connection.*/
62 TBTNamelessDevice iDevice; /*!< Nameless device */
63 TBasebandPolicyParams iPolicy; /*!< New policy */
66 typedef TPckgBuf<TPhysicalLinkQuickConnectionToken> TPhysicalLinkQuickConnectionTokenBuf; /*!< Package for TPhysicalLinkQuickConnectionToken structure */
68 #define KBasebandSlotTime 0.000625 /*!< Baseband timeslot duration (0.000625 seconds) */
69 static const TUint KDefaultBasebandConnectionTimeout = 10; /*!< Default baseband connection timeout (10 seconds) */
71 #endif // BTBASEBANDPOLICY_H