1 /****************************************************************************** 2 * 3 * Copyright (C) 2014 The Android Open Source Project 4 * Copyright (C) 2003-2012 Broadcom Corporation 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at: 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 ******************************************************************************/ 19 20 /****************************************************************************** 21 * 22 * This file contains compile-time configurable constants for MCE 23 * 24 ******************************************************************************/ 25 26 #include "bt_common.h" 27 #include "bta_api.h" 28 #include "bt_types.h" 29 #include "bta_mce_api.h" 30 31 #ifndef BTA_MCE_SDP_DB_SIZE 32 #define BTA_MCE_SDP_DB_SIZE 4500 33 #endif 34 35 static UINT8 __attribute__ ((aligned(4))) bta_mce_sdp_db_data[BTA_MCE_SDP_DB_SIZE]; 36 37 /* MCE configuration structure */ 38 const tBTA_MCE_CFG bta_mce_cfg = 39 { 40 BTA_MCE_SDP_DB_SIZE, 41 (tSDP_DISCOVERY_DB *)bta_mce_sdp_db_data /* The data buffer to keep SDP database */ 42 }; 43 44 tBTA_MCE_CFG *p_bta_mce_cfg = (tBTA_MCE_CFG *) &bta_mce_cfg; 45