Home | History | Annotate | Download | only in mce
      1 /******************************************************************************
      2  *
      3  *  Copyright 2014 The Android Open Source Project
      4  *  Copyright 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 "bt_types.h"
     28 #include "bta_api.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 tSDP_DISCOVERY_DB
     36     bta_mce_sdp_db_data[BTA_MCE_SDP_DB_SIZE / sizeof(tSDP_DISCOVERY_DB)];
     37 
     38 /* MCE configuration structure */
     39 const tBTA_MCE_CFG bta_mce_cfg = {
     40     (BTA_MCE_SDP_DB_SIZE / sizeof(tSDP_DISCOVERY_DB)) *
     41         sizeof(tSDP_DISCOVERY_DB),
     42     bta_mce_sdp_db_data /* The data buffer to keep SDP database */
     43 };
     44 
     45 const tBTA_MCE_CFG* p_bta_mce_cfg = &bta_mce_cfg;
     46