headset_debug.h

来自「针对bluelab3.42的handsfree车载蓝牙的参考」· C头文件 代码 · 共 57 行

H
57
字号
/***************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005-2006
Part of BlueLab 3.4.2-release

FILE NAME
    headset_debug.h
    
DESCRIPTION
    
*/

#ifndef _HEADSET_DEBUG_H_
#define _HEADSET_DEBUG_H_


#ifdef DEBUG_PRINT_ENABLED
#include <stdio.h>
#define DEBUG(x) {printf x;}
#else
#define DEBUG(x) 
#endif

/*The individual Debug enables*/

/*The main system messages*/
#define DEBUG_MAIN

/*The a2dp handler messages*/
#define DEBUG_A2DPx
/*The hfp audio messages*/
#define DEBUG_AUDIOx
/*The avrcp messages*/
#define DEBUG_AVRCPx
/*The av stream control messages*/
#define DEBUG_AVSTREAMx
/*The battery/charger messages*/
#define DEBUG_BATx
/*The common functionality messages*/
#define DEBUG_COMMON
/*The cvc messages*/
#define DEBUG_CVC
/*The hfp handler messages*/
#define DEBUG_HFPx
/*The initialisation messages*/
#define DEBUG_INITx
/*The power messages*/
#define DEBUG_POWERx
/*The ring messages*/
#define DEBUG_RINGx
/*The tone messages*/
#define DEBUG_TONES
/*The volume messages*/
#define DEBUG_VOLUMEx

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?