1 /*
2  * Copyright (C) 2021 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef _BDROID_BUILDCFG_H
18 #define _BDROID_BUILDCFG_H
19 
20 #define BTM_DEF_LOCAL_NAME "trout"
21 // Disables read remote device feature
22 #define MAX_ACL_CONNECTIONS 16
23 // Allow more L2CAP channels in support of multiple connected devices
24 #define MAX_L2CAP_CHANNELS 64
25 #define BLE_VND_INCLUDED TRUE
26 // skips conn update at conn completion
27 #define BT_CLEAN_TURN_ON_DISABLED 1
28 
29 /* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */
30 #define AVDT_NUM_SEPS 12
31 
32 /* Enable A2DP(SNK) */
33 #define BTA_AV_SINK_INCLUDED TRUE
34 
35 /* Enable delay-report for A2DP(SNK) */
36 #define A2DP_SINK_DELAY_REPORT TRUE
37 
38 /* Write 128bit UUID to EIR when a service based on RFCOMM channel is created. */
39 #define BTA_EIR_SUPPORT_128BIT_UUID TRUE
40 
41 /*
42  * Change CoD for Auto car-kit
43  * {SERVICE_CLASS, MAJOR_CLASS, MINOR_CLASS}
44  *
45  * SERVICE_CLASS:0x26 (Bit17 - Networking, Bit18 - Rendering, Bit21 - Audio)
46  * MAJOR_CLASS:0x04 - Audio/Video
47  * MINOR_CLASS:0X08 - Hands-free Device
48  *
49  * Detailed information can be found in below link
50  * https://www.bluetooth.com/specifications/assigned-numbers/baseband
51  */
52 #define BTA_DM_COD \
53     { 0x26, 0x04, 0x08 }
54 #endif
55