亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? headset_config_csr_pioneer.c

?? bluelab的一個很好的例程
?? C
字號:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2005

FILE NAME
    headset_config_csr_pioneer.c
    
DESCRIPTION
    This file contains the default configuration parameters for a CSR Pioneer
 Mono Headset
*/



#ifndef BC4_HS_CONFIGURATOR
    #include "headset_config.h"
#else
    #include "Configurator_config_types.h"
#endif


/* PSKEY_USR_0 - Battery config */
static const config_battery_type battery_config =
{
 	sizeof(battery_config_type),
    {
     	0x0195, /* Battery divisor ratio */
     	0x0E74, /* Battery upper threshold */
       	0x0D48, /* Battery lower threshold */
     	0x0BB8, /* Battery shutdown threshold */
      	0x001e,  /* Battery monitoring period */      	
        0x0005  /* Low Batt Indicator Repeat time */
   	}   
};


/* PSKEY_USR_1 - Button config */
static const config_button_type button_config =
{
  	sizeof(button_config_type),
    {
      	0x01f4, /* Button double press time */
      	0x0320, /* Button long press time */
      	0x2710, /* Button very long press time */
      	0x01f4, /* Button repeat time */
   	}   
};




/* PSKEY_USR_2 - buttonpatterns */
#define NUM_BUTTON_PATTERNS 2


static const config_button_pattern_type button_pattern_config = 
{
    sizeof(button_pattern_config_type ) * NUM_BUTTON_PATTERNS ,
    
    { 
        0   ,0,0,0,0,0,0 ,
        0   ,0,0,0,0,0,0 
    }    
    
};

/* PSKEY_USR_3 - Supported features */
static const config_uint16_type supported_features_config =
{
	1,
   	(
/*   	HFP_NREC_FUNCTION     | */
	 	HFP_THREE_WAY_CALLING | 
/*	 	HFP_CLI_PRESENTATION  | */ 
 	 	HFP_VOICE_RECOGNITION | 
	 	HFP_REMOTE_VOL_CONTROL|
        HFP_ENHANCED_CALL_STATUS |
        HFP_ENHANCED_CALL_CONTROL 
    )
};

/* PSKEY_USR_4 - Input PIO Block */
static const config_uint16_type input_pio_block =
{
  	1,
  	0xffff
};



/* PSKEY_USR_5 - hfp supported features */
static const config_HFP_1_5_type HFP_1_5_features_config =
{
  	2,
  	{
        0x8000,
        (
        sync_hv1  |
        sync_hv2  | 
        sync_hv3 /*  | 
        sync_ev3  |    
        sync_ev4  | 
        sync_ev5  | 
        sync_2ev3 |
        sync_3ev3 |
        sync_2ev5 |
        sync_3ev5*/
        )    
    }
};


/* PSKEY_USR_6 - network_ind_time */
static const config_uint16_type network_ind_time =
{
  	1,
  	0x000A /*if there is now network present indicate it every 10 seconds*/
};

/* PSKEY_USR_7 - mute remind timeout */
static const config_uint16_type mute_remind_timeout =
{
  	1,
  	0x0005
};

/* PSKEY_USR_8 - Power On Timeout*/
static const config_uint16_type power_on_timeout =
{
  	1,
  	0x000c
};

/* PSKEY_USR_9 - Power off disabled after power on timeout */
static const config_uint16_type power_off_disabled_timeout =
{
  	1,
  	0x0000
};

/* PSKEY_USR_10 - Reserved */
static const config_uint16_type volume_orientation =
{
  	1,
  	0
};


/* PSKEY_USR_11 - Pairing timeout */
static const config_uint16_type pairing_timeout =
{
  	1,
  	0x003c
};

/* PSKEY_USR_12 - Automatic switch off timeout */
static const config_uint16_type auto_switch_off_timeout =
{
  	1,
  	0x0258
};

/* PSKEY_USR_13 - Radio configuration parameters */
static const config_radio_type radio =
{
  	4,
  	{0x0800, 0x0012, 0x0800, 0x0012}
};

/* PSKEY_USR_14 - NiMH Battery Charger Configuration */
static const config_charger_type nimh_charger =
{
  	11,
  	{0x0708, 0x0ce4, 0x070f, 0x2800, 0x0400, 0x7804, 0xffd0, 0x0044, 0x0000, 0x0000, 0x0001},
};

/* PSKEY_USR_15 - Features block */
static const config_features_type features =
{
  	3,
  	{0x1822, 0x1111, 0x0006},  
};

/* PSKEY_USR_16 - Volume gain mappings */
static const config_volume_type volume =
{
  	32,
  	{   
    	0x10d1, 0x0000 ,
    	0x20d2, 0x0000 , 
    	0x31d2, 0x0000 , 
    	0x42d2, 0x0000 ,
    	0x53d3, 0x0000 , 
    	0x64d3, 0x0000 , 
    	0x75d4, 0x0000 , 
    	0x86d4, 0x0000 ,
    	0x97d5, 0x0000 , 
    	0xa8d6, 0x0000 , 
    	0xb9d6, 0x0000 , 
    	0xcad7, 0x0000 ,
    	0xdbd8, 0x0000 , 
    	0xecd8, 0x0000 , 
    	0xfdd9, 0x0000 , 
    	0xfeda, 0x0000 
  	},
};


/* PSKEY_USR_17 - Number of LED filters */
#define NO_LED_FILTERS  (0x0003)

static const config_uint16_type no_led_filters =
{
  	1,
  	NO_LED_FILTERS
};

/* PSKEY_USR_18 - LED filter configuration */
static const config_led_filters_type led_filters =
{
 	sizeof(led_filter_config_type) * NO_LED_FILTERS,
 	{
/*1*/        0x1a00, 0x8200, 0x0000, 	/*filter on with low batt*/
/*2*/        0x2200, 0x0010, 0x0000, 	/*filter off with charger connected*/
/*3*/        0x2100, 0x0010, 0x0000, 	/*filter off with EVBATok*/         
 	}, 
};

/* PSKEY_USR_19 - Number of LED states */
#define NO_LED_STATES  (0x0004)

static const config_uint16_type no_led_states =
{
  	1,
  	NO_LED_STATES
};

/* PSKEY_USR_20 - LED state configuration */
static const config_led_states_type led_states =
{
  	sizeof(led_config_type) * NO_LED_STATES,
  	{
        0x010a, 0x0A28, 0x0000, 0x2fe1, /*connectable*/
    	0x020a, 0x0A02, 0x0000, 0x2fe3, /*conn_discoverable*/
    	0x030A, 0x0A28, 0x0000, 0x3fe1, /*connected*/
    	0x060A, 0x0A02, 0x0000, 0x1fe1  /*ONGOING*/
  	}, 
};

/* PSKEY_USR_21 - Number of LED events */
#define NO_LED_EVENTS  (0x0002)

static const config_uint16_type no_led_events =
{
  	1,
  	NO_LED_EVENTS
};

/* PSKEY_USR_22 - LED event configuration */
static const config_led_events_type led_events =
{
 	sizeof(led_config_type) * NO_LED_EVENTS,
 	{
                                            /* E - red , F - blu*/
   		0x0164, 0x0000, 0x0000, 0x1FF1,
        0x0264, 0x0000, 0x0000, 0x1ee1
 	}, 
};

#define  NO_EVENTS  (20)

/* PSKEY_USR_23 - System event configuration A */
static const config_events_type events_a =
{
    sizeof(event_config_type) * NO_EVENTS,
  	{
        0x0102, 0x0200, 0x0001, /*power On*/
    	0x0202, 0x0200, 0xfffe, /*power Off*/
        0x0303, 0x0200, 0xfffe, /*Enter Pair Mode - all states as we want this to hold on and work - works only from power on though - off happens first in all other states otherwise*/        
    	0x0a01, 0x0200, 0x007e, /*toggle mute*/
               
    	0x0b01, 0x0002, 0x007e, /*vol up*/        
    	0x0b05, 0x0002, 0x007e, /*vol up*/
    	0x0c01, 0x0004, 0x007e, /*vol dn*/
    	0x0c05, 0x0004, 0x007e, /*vol dn*/  
        
        0x0401, 0x0001, 0x000e, /*voice dial*/           
    	0x0608, 0x0001, 0x0020, /*answer*/
    	0x0902, 0x0001, 0x0040, /*transfer*/
    	0x1c02, 0x0001, 0x0000, /*establish SLC*/   /*removed as the LNR / Voice Dial covers this now*/     
        
    	0x0703, 0x0001, 0x0020, /*reject*/            
    	0x0502, 0x0001, 0x000e, /*LNR*/           
    	0x0801, 0x0001, 0x0050, /*cancel*/              
    	0x2206, 0x0020, 0xffff, /*charger connected*/
        
    	0x2307, 0x0020, 0xffff, /*charger disconnected*/
    	0x1403, 0x0202, 0xffff, /*reset PDL*/         
        0x0E04, 0x0001, 0x0300,  /*    EventThreeWayReleaseAllHeld, */   /*DOUBLE RELEASE ALL HELD - REJECT WAITING*/
        0x0F08, 0x0001, 0x0500  /*    EventThreeWayAcceptWaitingReleaseActive*/ /*short -ANSWER & RELEASE*/  
    },
};


/* PSKEY_USR_24 - System event configuration B */
static const config_events_type events_b =
{

    sizeof(event_config_type) * NO_EVENTS,
    {
        0x1002, 0x0001, 0x0300,  /*  EventThreeWayAcceptWaitingHoldActive  ,*/   /*LONG - ANSWER & HOLD*/
        0x1108, 0x0001, 0x0200,  /*  EventThreeWayAddHeldTo3Way  ,*/        /*SHORT - ADD HELD CALL**/
        0x1203, 0x0001, 0x0600,  /*    EventThreeWayConnect2Disconnect,  */  /*VLONG - EX TX*/
        0x3a04, 0x0001, 0x0020,  /*Event Place Incoming Call on Hold*/
        
        0x3b01, 0x0001, 0x0800,  /*EventAcceptHeldIncomingCall*/
        0x3c02, 0x0001, 0x0800, /*EventRejectHeldIncomingCall*/       
        0x1C09, 0x0200, 0x0002, /*establish SLC long release on power on*/
        0x0000, 0x0000, 0x0000,        

        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        

        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        

        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000,        
        0x0000, 0x0000, 0x0000
    },
};


/* PSKEY_USR_25 - Number of tone events */
#define NO_TONE_EVENTS  (0x0014)

static const config_uint16_type no_tone_events =
{
  	1,
  	NO_TONE_EVENTS
};


/* PSKEY_USR_26 - Tone event configuration */
static const config_tone_events_type tone_events =
{
  	sizeof(tone_config_type) * NO_TONE_EVENTS,
  	{
    	0xff1d,	/*ring tone*/
    	0x0111, /*power ON*/
    	0x0211, /*power OFF*/
    	0x0914, /*transfer*/
    	0x1c14, /*establish SLC*/
    	0x1a15, /*low batt */
    	0x1416, /*reset PDL */
    	0x1612, /*pairing fail */
    	0x3410, /*SLC Connected*/
    	0x2413, /*SLC Disconnected*/
    	0x2a1a,    /*mute reminder*/
        


    	0x280d, /*enter mute*/
        0x290e, /*exit mute*/
        
		
		0x1B0e, /*EventEndOfCall */
		0x040b, /*EventInitateVoiceDial */
		0x050b, /*EventLastNumberRedial*/
		0x060d, /*EventAnswer */
		0x070e, /*EventReject */    
		0x080e, /*EventCancelEnd */
        0x3512  /*EventError */
  	}
};


/* PSKEY_USR_27 - PIO assignment */
static const config_pio_block_type pio_block =
{
  	2,
  	{0x0000, 0xffff}
};


/* PSKEY_USR_28 - Link Loss Num Retries */
static const config_uint16_type link_loss_num_retries = 
{
    1,
    0x0005
};



/* CSR Pioneer Default Configuration */
const config_type csr_pioneer_default_config = 
{
 	&battery_config,        	/* PSKEY_USR_0 - Battery configuration */
  	&button_config,       		/* PSKEY_USR_1 - Button configuration */
  	&button_pattern_config,		/* PSKEY_USR_2 - */
  	&supported_features_config, /* PSKEY_USR_3 - HFP Supported Features*/
  	&input_pio_block,        	/* PSKEY_USR_4 - Input pio block*/
  	&HFP_1_5_features_config,	/* PSKEY_USR_5 - The HFP 1.5 Supported features*/
  	&network_ind_time, 			/* PSKEY_USR_6 - network / service indicator timeout*/
  	&mute_remind_timeout,    	/* PSKEY_USR_7 - mute remind timeout*/
  	&power_on_timeout,          /* PSKEY_USR_8 - power on timeout*/
  	&power_off_disabled_timeout,/* PSKEY_USR_9 - Automatic disconnect timeout */
  	&volume_orientation ,       /* PSKEY_USR_10 - Connect as Master timeout */
  	&pairing_timeout,       	/* PSKEY_USR_11 - Pairing timeout */
  	&auto_switch_off_timeout,   /* PSKEY_USR_12 - Automatic switch off timeout */
  	&radio,            			/* PSKEY_USR_13 - Radio configuration parameters */
  	&nimh_charger,         		/* PSKEY_USR_14 - NiMH Battery Charger Configuration */
  	&features,          		/* PSKEY_USR_15 - Features block */
  	&volume,           			/* PSKEY_USR_16 - Volume gain mappings */
  	&no_led_filters,       		/* PSKEY_USR_17 - Number of LED filters */
  	&led_filters,         		/* PSKEY_USR_18 - LED filter configuration */
  	&no_led_states,        		/* PSKEY_USR_19 - Number of LED states */
  	&led_states,         		/* PSKEY_USR_20 - LED state configuration */
  	&no_led_events,        		/* PSKEY_USR_21 - Number of LED events */
  	&led_events,         		/* PSKEY_USR_22 - LED event configuration */
  	&events_a,          		/* PSKEY_USR_23 - Number of system events */
  	&events_b,           			/* PSKEY_USR_24 - System event configuration */
  	&no_tone_events,       		/* PSKEY_USR_25 - Number of tone events */
  	&tone_events,         		/* PSKEY_USR_26 - Tone event configuration */
  	&pio_block,          		/* PSKEY_USR_27 - PIO assignment */
    &link_loss_num_retries      /* PSKEY_USR_28 - Link Loss Num Retries */
};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
97久久超碰国产精品电影| 亚洲精品欧美专区| 国产在线一区二区| 欧美成人性福生活免费看| 奇米777欧美一区二区| 91麻豆精品国产自产在线| 日韩中文字幕不卡| 日韩欧美在线不卡| 国产精品原创巨作av| 国产欧美日韩在线看| 成人av午夜电影| 亚洲人成影院在线观看| 欧美日韩在线播放一区| 视频一区二区三区中文字幕| 91精品国产aⅴ一区二区| 久久成人免费电影| 中日韩av电影| 91成人看片片| 青青草国产精品97视觉盛宴| 2020国产精品| 97精品久久久午夜一区二区三区 | 国产成人av影院| 欧美国产激情二区三区| 色狠狠色狠狠综合| 蜜臀av一级做a爰片久久| 2021中文字幕一区亚洲| 91免费版在线| 欧美aa在线视频| 国产喂奶挤奶一区二区三区| 91久久精品网| 极品少妇xxxx精品少妇| 1000精品久久久久久久久| 欧美日韩亚洲高清一区二区| 国产一区二区在线看| 亚洲乱码日产精品bd| 欧美岛国在线观看| 色偷偷一区二区三区| 精品一二线国产| 亚洲免费av高清| 精品国产一区二区三区不卡| av色综合久久天堂av综合| 亚洲va欧美va人人爽| 欧美韩国日本不卡| 91精品国产全国免费观看| 成人涩涩免费视频| 美女视频免费一区| 亚洲免费资源在线播放| www亚洲一区| 欧美久久久影院| 从欧美一区二区三区| 蜜桃一区二区三区在线观看| 亚洲主播在线播放| 欧美激情一区三区| 日韩一级精品视频在线观看| 91麻豆免费在线观看| 精品一区二区精品| 日韩精品亚洲一区二区三区免费| 欧美国产成人在线| 久久久久久久久久久久久夜| 欧美日本在线观看| 91视视频在线直接观看在线看网页在线看 | 欧美日韩免费电影| 91丨porny丨国产| 懂色一区二区三区免费观看| 蜜桃av一区二区在线观看| 亚洲一区二区三区在线| 日韩美女视频一区二区| 欧美精品一区二区三区蜜桃 | 欧美一区在线视频| 欧美性受极品xxxx喷水| 91亚洲精品久久久蜜桃网站| 国产成人综合在线| 国内精品嫩模私拍在线| 美女视频一区二区三区| 五月激情六月综合| 丝袜美腿亚洲综合| 天天做天天摸天天爽国产一区| 亚洲人成影院在线观看| 亚洲美女区一区| 亚洲免费资源在线播放| 亚洲精品国产一区二区精华液 | 亚洲色图在线看| 国产精品看片你懂得| 欧美国产激情二区三区| 中文字幕乱码久久午夜不卡| 欧美激情在线免费观看| 久久午夜老司机| 欧美激情中文不卡| 中文字幕色av一区二区三区| 国产精品电影院| 樱花影视一区二区| 夜夜嗨av一区二区三区四季av| 亚洲免费观看高清完整版在线观看| 亚洲视频精选在线| 亚洲在线中文字幕| 日韩专区一卡二卡| 精品一区二区三区蜜桃| 国产成人午夜99999| 风间由美一区二区av101| 成人免费电影视频| 色诱视频网站一区| 制服丝袜日韩国产| 久久久久久久久免费| 中文av一区二区| 亚洲午夜精品在线| 日本va欧美va瓶| 国产sm精品调教视频网站| eeuss鲁片一区二区三区| 91极品美女在线| 日韩一区二区免费电影| 久久影音资源网| 亚洲人一二三区| 免费看精品久久片| 成人丝袜18视频在线观看| 欧美视频精品在线观看| 欧美videos大乳护士334| 国产精品少妇自拍| 亚洲国产精品久久久久秋霞影院| 蜜臀av国产精品久久久久| 丰满少妇在线播放bd日韩电影| 色久优优欧美色久优优| 精品少妇一区二区三区视频免付费 | 麻豆精品新av中文字幕| 成人性生交大片免费看视频在线 | 国产精品99久久久久久有的能看 | 亚洲午夜激情av| 国产美女视频一区| 日本高清不卡aⅴ免费网站| 51精品久久久久久久蜜臀| 国产欧美一区二区精品性| 亚洲午夜av在线| 成人av资源在线观看| 日韩一区二区中文字幕| 中文字幕佐山爱一区二区免费| 久久国产尿小便嘘嘘尿| 不卡电影一区二区三区| 欧美一区二区三区在线看| 成人免费在线视频| 狠狠色综合日日| 欧美色手机在线观看| 国产嫩草影院久久久久| 日韩制服丝袜先锋影音| 一本一本大道香蕉久在线精品| 精品美女在线播放| 一区二区三区在线看| 国产成人免费高清| 日韩欧美一二三四区| 亚洲午夜激情网页| 91啪亚洲精品| 国产精品色在线观看| 久久99精品一区二区三区| 欧美视频第二页| 一区二区三区在线观看动漫 | 91网站黄www| 国产日产欧产精品推荐色 | 粉嫩在线一区二区三区视频| 日韩欧美一区在线观看| 亚洲成人精品影院| 91国偷自产一区二区三区成为亚洲经典 | 国产偷国产偷精品高清尤物| 亚洲精品乱码久久久久久黑人| 青青国产91久久久久久| 欧美亚洲动漫制服丝袜| 久久久亚洲欧洲日产国码αv| 一级日本不卡的影视| 丝袜诱惑制服诱惑色一区在线观看 | 欧美视频一区二区| 亚洲手机成人高清视频| 国产黄人亚洲片| 欧美一区二区三区免费视频| 亚洲乱码日产精品bd| 国产成人免费视频网站高清观看视频| 欧美mv日韩mv国产| 日韩成人免费电影| 欧美日韩在线一区二区| 亚洲欧洲韩国日本视频| 色综合色综合色综合色综合色综合| 久久综合视频网| 日本aⅴ精品一区二区三区| 色狠狠桃花综合| 亚洲成人av福利| 在线看不卡av| 夜色激情一区二区| 国产999精品久久久久久| 国产无人区一区二区三区| 国产尤物一区二区在线| 日韩免费电影网站| 日韩和欧美一区二区三区| 欧美哺乳videos| 另类中文字幕网| 精品国产乱码久久久久久老虎| 久久精品国产一区二区三| 欧美白人最猛性xxxxx69交| 成人性生交大片免费看视频在线| 国产三级精品视频| 成人av在线一区二区三区| 亚洲欧洲国产日本综合| 国产欧美日韩另类视频免费观看| 欧美激情中文字幕一区二区| 欧美电影免费观看完整版|