1 /****************************************************************************** 2 * 3 * Copyright (C) 2003-2012 Broadcom Corporation 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at: 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ******************************************************************************/ 18 19 /****************************************************************************** 20 * 21 * This file contains compile-time configurable constants for the BTA 22 * system manager. 23 * 24 ******************************************************************************/ 25 26 #include "bt_target.h" 27 #include "gki.h" 28 #include "bta_sys.h" 29 30 /* GKI task mailbox event for BTA. */ 31 #ifndef BTA_MBOX_EVT 32 #define BTA_MBOX_EVT TASK_MBOX_2_EVT_MASK 33 #endif 34 35 /* GKI task mailbox for BTA. */ 36 #ifndef BTA_MBOX 37 #define BTA_MBOX TASK_MBOX_2 38 #endif 39 40 /* GKI timer id used for protocol timer for BTA. */ 41 #ifndef BTA_TIMER 42 #define BTA_TIMER TIMER_1 43 #endif 44 45 const tBTA_SYS_CFG bta_sys_cfg = 46 { 47 BTA_MBOX_EVT, /* GKI mailbox event */ 48 BTA_MBOX, /* GKI mailbox id */ 49 BTA_TIMER, /* GKI timer id */ 50 APPL_INITIAL_TRACE_LEVEL /* initial trace level */ 51 }; 52 53 tBTA_SYS_CFG *p_bta_sys_cfg = (tBTA_SYS_CFG *)&bta_sys_cfg; 54 55 56