bthci/hci2implementations/hctls/bcsp/inc/debug.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2006-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef HCTL_BCSP_DEBUG_H
       
    22 #define HCTL_BCSP_DEBUG_H
       
    23 
       
    24 #include <bluetooth/logger.h>
       
    25 
       
    26 #ifdef __FLOG_ACTIVE
       
    27 _LIT8(KLogComponent, LOG_COMPONENT_HCTL_BCSP);
       
    28 #endif
       
    29 
       
    30 #ifdef _DEBUG
       
    31 #	define __DEBUG_FLOG_RAW_UART_ //enable UART Flogging
       
    32 #	define __DEBUG_FLOG_STACK_TX_ //enable UART Flogging
       
    33 #	define __DEBUG_RxDecodedFrame__ //Enable flogging for RxDecodedFrame
       
    34 #	define __DEBUG_TxDatagramDecodedFrame__ //Enable flogging for RxDecodedFrame
       
    35 #	define __DEBUG_PacketRouter__ //Enable Flogging for PacketRouter and Processing
       
    36 #	define __DEBUG_FLOG_RX_ //Enable RX Flogging in CHCTLBcspReceiver::ProcessDataL()
       
    37 #	define __DEBUG_SEQ_VERBOSE__ //Enable flogging for Sequencer
       
    38 #	define __DEBUG_SEQ_Values__ //Enable flogging of Sequencer Ack Seq etc.
       
    39 #else
       
    40 #	undef __DEBUG_FLOG_RAW_UART_ //enable UART Flogging
       
    41 #	undef __DEBUG_FLOG_STACK_TX_ //enable UART Flogging
       
    42 #	undef __DEBUG_RxDecodedFrame__ //Enable flogging for RxDecodedFrame
       
    43 #	undef __DEBUG_TxDatagramDecodedFrame__ //Enable flogging for RxDecodedFrame
       
    44 #	undef __DEBUG_PacketRouter__ //Enable Flogging for PacketRouter and Processing
       
    45 #	undef __DEBUG_FLOG_RX_ //Enable RX Flogging in CHCTLBcspReceiver::ProcessDataL()
       
    46 #	undef __DEBUG_SEQ_VERBOSE__ //Enable flogging for Sequencer
       
    47 #	undef __DEBUG_SEQ_Values__ //Enable flogging of Sequencer Ack Seq etc.
       
    48 #endif
       
    49 
       
    50 #endif //HCTL_BCSP_DEBUG_H