diff -r 000000000000 -r 29b1cd4cb562 bluetoothmgmt/bluetoothclientlib/inc/btbasebandpolicy.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bluetoothmgmt/bluetoothclientlib/inc/btbasebandpolicy.h Fri Jan 15 08:13:17 2010 +0200 @@ -0,0 +1,71 @@ +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef BTBASEBANDPOLICY_H +#define BTBASEBANDPOLICY_H + +/** +@file +@publishedAll +@released +*/ + +#include +#include + +/** Paging policy for baseband.*/ +enum TBasebandPageTimePolicy + { + EPagingDontCare, /*!< Don't care setting */ + EPagingNormal, /*!< Normal setting */ + EPagingBestEffort, /*!< Best effort setting */ + EPagingQuick, /*!< Quick paging setting */ + }; + +struct TBasebandPolicyParams +/** Baseband policy parameters.*/ + { + TBasebandPageTimePolicy iPageTimePolicy; /*!< Page time policy */ + }; + +struct TSetBasebandPolicy +/** Set baseband policy. + +@deprecated +@see RBTBaseband, TPhysicalLinkQuickConnectionToken +*/ + { + TBTDevAddr iDevAddr; /*!< Device Address */ + TBasebandPolicyParams iPolicy; /*!< Policy parameters */ + }; + +/** Package for SetBasebandPolicy structure +@deprecated +*/ +typedef TPckgBuf TSetBasebandPolicyBuf; + +struct TPhysicalLinkQuickConnectionToken +/** Specifies details for faster connection.*/ + { + TBTNamelessDevice iDevice; /*!< Nameless device */ + TBasebandPolicyParams iPolicy; /*!< New policy */ + }; + +typedef TPckgBuf TPhysicalLinkQuickConnectionTokenBuf; /*!< Package for TPhysicalLinkQuickConnectionToken structure */ + +#define KBasebandSlotTime 0.000625 /*!< Baseband timeslot duration (0.000625 seconds) */ +static const TUint KDefaultBasebandConnectionTimeout = 10; /*!< Default baseband connection timeout (10 seconds) */ + +#endif // BTBASEBANDPOLICY_H