bluetooth/btstack/linkmgr/physicallinks.cpp
changeset 35 14e279d2bbb7
parent 34 9d84592f5036
child 48 22de2e391156
equal deleted inserted replaced
34:9d84592f5036 35:14e279d2bbb7
    56 #endif
    56 #endif
    57 
    57 
    58 static const THCIErrorCode KDefaultRejectReason = EHostSecurityRejection; // see spec Error Codes
    58 static const THCIErrorCode KDefaultRejectReason = EHostSecurityRejection; // see spec Error Codes
    59 
    59 
    60 #ifdef _DEBUG
    60 #ifdef _DEBUG
    61 #define __CHECK_CONNECTION_HANDLE(aHandle) __ASSERT_DEBUG(aHandle==iHandle, Panic(EBTLinkMgrConnectionEventInWrongSAP));
    61 #define __CHECK_CONNECTION_HANDLE(aHandle) __ASSERT_DEBUG(HasHandle(aHandle), Panic(EBTLinkMgrConnectionEventInWrongSAP));
    62 #else
    62 #else
    63 #define __CHECK_CONNECTION_HANDLE(aHandle) aHandle=aHandle; // to suppress warnings
    63 #define __CHECK_CONNECTION_HANDLE(aHandle) aHandle=aHandle; // to suppress warnings
    64 #endif
    64 #endif
    65 
    65 
    66 CPhysicalLink* CPhysicalLink::NewLC(CPhysicalLinksManager& aConnectionMan, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice)
    66 CPhysicalLink* CPhysicalLink::NewLC(CPhysicalLinksManager& aConnectionMan, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice)