# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1272882878 -10800 # Node ID 4b81101308c63a6a474512952c8e6466e501cf4d # Parent 907b2fb7aa8ef428bf401c8ea44a924180fe7e00 Revision: 201018 Kit: 201018 diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btexample/test/group/bld.inf --- a/bluetooth/btexample/test/group/bld.inf Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btexample/test/group/bld.inf Mon May 03 13:34:38 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1999-2010 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" @@ -19,7 +19,7 @@ @file */ -#include "../TestConsole/Bld.inf" +#include "../TestConsole/bld.inf" #include "../cit/ROMConfig/group/bld.inf" diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btlogger/group/BLD.INF --- a/bluetooth/btlogger/group/BLD.INF Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btlogger/group/BLD.INF Mon May 03 13:34:38 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2005-2010 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" @@ -17,5 +17,5 @@ @file */ -#include "../generic/group/BLD.INF" +#include "../generic/group/bld.inf" #include "../btsnoophcilogger/group/bld.inf" diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btstack/avctp/avctpPacketMgr.cpp --- a/bluetooth/btstack/avctp/avctpPacketMgr.cpp Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btstack/avctp/avctpPacketMgr.cpp Mon May 03 13:34:38 2010 +0300 @@ -31,10 +31,6 @@ _LIT8(KLogComponent, LOG_COMPONENT_AVCTP); #endif -#ifdef _DEBUG -PANICCATEGORY("pktmgr"); -#endif - using namespace SymbianAvctp; /** diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btstack/avctp/avctpmuxer.cpp --- a/bluetooth/btstack/avctp/avctpmuxer.cpp Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btstack/avctp/avctpmuxer.cpp Mon May 03 13:34:38 2010 +0300 @@ -37,10 +37,6 @@ _LIT8(KLogComponent, LOG_COMPONENT_AVCTP); #endif -#ifdef _DEBUG -PANICCATEGORY("avctpmux"); -#endif - using namespace SymbianAvctp; #ifdef __FLOG_ACTIVE diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btstack/avdtp/avdtpSignallingChannel.h --- a/bluetooth/btstack/avdtp/avdtpSignallingChannel.h Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btstack/avdtp/avdtpSignallingChannel.h Mon May 03 13:34:38 2010 +0300 @@ -53,7 +53,7 @@ #ifdef _OOM_TEST static const TInt KAvdtpSignallingChannelIdleTimeout = 800; #else -static const TInt KAvdtpSignallingChannelIdleTimeout = 3000000; // 3s +static const TInt KAvdtpSignallingChannelIdleTimeout = 1000000; // 1s #endif NONSHARABLE_CLASS(CSignallingChannel) : public CBase, public MSocketNotify, public XLogicalChannelFactoryClient diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btstack/linkmgr/physicallinks.cpp --- a/bluetooth/btstack/linkmgr/physicallinks.cpp Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btstack/linkmgr/physicallinks.cpp Mon May 03 13:34:38 2010 +0300 @@ -818,7 +818,7 @@ if (!aEncrypted) { iLinksMan.LinkManagerProtocol().ACLController().SetParked(iHandle, ETrue); - iEncryptionEnforcer->EncryptionDisabled(SimplePairingMode()== EPhySimplePairingEnabled); + iEncryptionEnforcer->EncryptionDisabled(IsEncryptionPauseResumeSupported()); } else { @@ -4162,12 +4162,12 @@ } } -void CEncryptionEnforcer::EncryptionDisabled(TBool aSecurityModeFour) +void CEncryptionEnforcer::EncryptionDisabled(TBool aEncryptionPauseResumeSupported) { LOG_FUNC LOG1(_L("CEncryptionEnforcer::EncryptionDisabled() : current status = %d"), iState); - if(aSecurityModeFour) + if(aEncryptionPauseResumeSupported) { Stop(); ChangeState(EForcingInProgress); diff -r 907b2fb7aa8e -r 4b81101308c6 bluetooth/btstack/linkmgr/physicallinks.h --- a/bluetooth/btstack/linkmgr/physicallinks.h Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetooth/btstack/linkmgr/physicallinks.h Mon May 03 13:34:38 2010 +0300 @@ -206,7 +206,7 @@ static CEncryptionEnforcer* NewLC(CPhysicalLink& aLink, THCIEncryptModeFlag aEncryptionMode); void EncryptionEnabled(); - void EncryptionDisabled(TBool aSecurityModeFour); + void EncryptionDisabled(TBool aEncryptionPauseResumeSupported); void RoleSwitchEvent(); private: diff -r 907b2fb7aa8e -r 4b81101308c6 bluetoothmgmt/bluetoothclientlib/avlib/avdtpTypes.cpp --- a/bluetoothmgmt/bluetoothclientlib/avlib/avdtpTypes.cpp Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetoothmgmt/bluetoothclientlib/avlib/avdtpTypes.cpp Mon May 03 13:34:38 2010 +0300 @@ -37,7 +37,7 @@ // const TInt KMinMediaCodecLOSC = 2; // mediatype, codectype - see figure8-50 AVDTP // const TInt KMinContentProtectionLOSC = 2; // protectiontype -static const TUint KAvdtpSockAddrLocalMask = static_cast(1<<31); +static const TUint KAvdtpSockAddrLocalMask = static_cast(1U<<31U); /** Default constructor using 0 as the parameter for setPort() diff -r 907b2fb7aa8e -r 4b81101308c6 bluetoothmgmt/btcommon/bld.inf --- a/bluetoothmgmt/btcommon/bld.inf Fri Apr 16 16:09:25 2010 +0300 +++ b/bluetoothmgmt/btcommon/bld.inf Mon May 03 13:34:38 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1999-2010 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" @@ -25,7 +25,7 @@ #include "../btconfig/bld.inf" // Logging code -#include "../../bluetooth/btlogger/group/BLD.INF" +#include "../../bluetooth/btlogger/group/bld.inf" // User code #include "../bluetoothclientlib/bld.inf" @@ -45,7 +45,7 @@ // Profiles #include "../../bluetooth/gavdp/group/bld.inf" -#include "../../bluetoothcommsprofiles/btpan/group/BLD.INF" +#include "../../bluetoothcommsprofiles/btpan/group/bld.inf" // CSY diff -r 907b2fb7aa8e -r 4b81101308c6 bthci/hci2implementations/group/hci_implementation_reference.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bthci/hci2implementations/group/hci_implementation_reference.iby Mon May 03 13:34:38 2010 +0300 @@ -0,0 +1,45 @@ +// Copyright (c) 2006-2010 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 HCI_IMPLEMENTATION_REFERENCE_IBY +#define HCI_IMPLEMENTATION_REFERENCE_IBY + +// If __HCI_DEBUG__ is defined pull in debug versions of the +// HCI DLLs and Plugins regardless of the ROM type +#ifdef __HCI_DEBUG__ +define HCI_DIR UDEB +#define HCI_PLUGIN ECOM_PLUGIN_UDEB +#else +define HCI_DIR BUILD_DIR +#define HCI_PLUGIN ECOM_PLUGIN +#endif + +#include +#include +#include + +#ifdef HCI_TI + +#include +#include + +#else // CSR + Default + +#include +#include + +#endif + +#endif // HCI_IMPLEMENTATION_REFERENCE_IBY