diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2012-12-12 16:00:35 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2012-12-12 16:00:35 -0800 |
commit | 5738f83aeb59361a0a2eda2460113f6dc9194271 (patch) | |
tree | bf9fb1c890a681253207fe5d48e2cd56b94de3a7 /conf | |
download | external_bluetooth_bluedroid-5738f83aeb59361a0a2eda2460113f6dc9194271.zip external_bluetooth_bluedroid-5738f83aeb59361a0a2eda2460113f6dc9194271.tar.gz external_bluetooth_bluedroid-5738f83aeb59361a0a2eda2460113f6dc9194271.tar.bz2 |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf
Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
Diffstat (limited to 'conf')
-rw-r--r-- | conf/Android.mk | 28 | ||||
-rw-r--r-- | conf/auto_pair_devlist.conf | 27 | ||||
-rw-r--r-- | conf/bt_did.conf | 94 | ||||
-rw-r--r-- | conf/bt_stack.conf | 33 |
4 files changed, 182 insertions, 0 deletions
diff --git a/conf/Android.mk b/conf/Android.mk new file mode 100644 index 0000000..22d03d7 --- /dev/null +++ b/conf/Android.mk @@ -0,0 +1,28 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := bt_stack.conf +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/bluetooth +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(LOCAL_MODULE) +include $(BUILD_PREBUILT) + + +include $(CLEAR_VARS) +LOCAL_MODULE := bt_did.conf +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/bluetooth +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(LOCAL_MODULE) +include $(BUILD_PREBUILT) + + +include $(CLEAR_VARS) +LOCAL_MODULE := auto_pair_devlist.conf +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/bluetooth +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(LOCAL_MODULE) +include $(BUILD_PREBUILT) + diff --git a/conf/auto_pair_devlist.conf b/conf/auto_pair_devlist.conf new file mode 100644 index 0000000..1e25592 --- /dev/null +++ b/conf/auto_pair_devlist.conf @@ -0,0 +1,27 @@ +# Do NOT change this file format without updating the parsing logic in +# BT IF module implementation (btif_storage.c) + +# This file contains information to prevent auto pairing with Bluetooth devices. +# Blacklisting by vendor prefix address: +# The following companies are included in the list below: +# ALPS (lexus), Murata (Prius 2007, Nokia 616), TEMIC SDS (Porsche, Audi), +# Parrot, Zhongshan General K-mate Electronics, Great Well +# Electronics, Flaircomm Electronics, Jatty Electronics, Delphi, +# Clarion, Novero, Denso (Lexus, Toyota), Johnson Controls (Acura), +# Continental Automotive, Harman/Becker, Panasonic/Kyushu Ten, +# BMW (Motorola PCS), Visteon, Peugeot, BMW (MINI10013) +AddressBlacklist=00:02:C7,00:16:FE,00:19:C1,00:1B:FB,00:1E:3D,00:21:4F,00:23:06,00:24:33,00:A0:79,00:0E:6D,00:13:E0,00:21:E8,00:60:57,00:0E:9F,00:12:1C,00:18:91,00:18:96,00:13:04,00:16:FD,00:22:A0,00:0B:4C,00:60:6F,00:23:3D,00:C0:59,00:0A:30,00:1E:AE,00:1C:D7,00:80:F0,00:12:8A,00:09:93,00:80:37,00:26:7E + +# Blacklisting by Exact Name: +ExactNameBlacklist=Motorola IHF1000,i.TechBlueBAND,X5 Stereo v1.3,KML_CAN + +# Blacklisting by Partial Name (if name starts with) +PartialNameBlacklist=BMW,Audi,Parrot,Car + +# Fixed PIN keyboard blacklist. Keyboards should have variable PIN +# The keyboards below have a fixed PIN of 0000, so we will auto pair. +# Note the reverse logic in this case compared to other's in this file +# where its a blacklist for not auto pairing. +FixedPinZerosKeyboardBlacklist=00:0F:F6 + +# Blacklisting by addition of the address during usage diff --git a/conf/bt_did.conf b/conf/bt_did.conf new file mode 100644 index 0000000..b08a938 --- /dev/null +++ b/conf/bt_did.conf @@ -0,0 +1,94 @@ +# Device ID (DID) configuration +[DID] + +# Record Number: 1, 2 or 3 - maximum of 3 records +recordNumber = 1 + +# Primary Record - true or false (default) +# There can be only one primary record +primaryRecord = true + +# Vendor ID '0xFFFF' indicates no Device ID Service Record is present in the device +# 0x000F = Broadcom Corporation (default) +#vendorId = 0x000F + +# Vendor ID Source +# 0x0001 = Bluetooth SIG assigned Device ID Vendor ID value (default) +# 0x0002 = USB Implementer’s Forum assigned Device ID Vendor ID value +#vendorIdSource = 0x0001 + +# Product ID & Product Version +# Per spec DID v1.3 0xJJMN for version is interpreted as JJ.M.N +# JJ: major version number, M: minor version number, N: sub-minor version number +# For example: 1200, v14.3.6 +productId = 0x1200 +version = 0x1436 + +# Optional attributes +#clientExecutableURL = +#serviceDescription = +#documentationURL = + +#=================================================================================================# +# Device ID (DID) configuration +[DID] + +# Record number: 1, 2 or 3 - maximum of 3 records +#recordNumber = 2 + +# Primary Record - true or false (default) +# There can be only one primary record +#primaryRecord = false + +# Vendor ID '0xFFFF' indicates no Device ID Service Record is present in the device +# 0x000F = Broadcom Corporation (default) +#vendorId = 0x000F + +# Vendor ID Source +# 0x0001 = Bluetooth SIG assigned Device ID Vendor ID value (default) +# 0x0002 = USB Implementer’s Forum assigned Device ID Vendor ID value +#vendorIdSource = 0x0001 + +# Product ID & Product Version +# Per spec DID v1.3 0xJJMN for version is interpreted as JJ.M.N +# JJ: major version number, M: minor version number, N: sub-minor version number +# Default: 0x0000, v00.0.0 +#productId = 0x0000 +#version = 0x0000 + +# Optional attributes +#clientExecutableURL = +#serviceDescription = +#documentationURL = + +#=================================================================================================# +# Device ID (DID) configuration +[DID] + +# Record number: 1, 2 or 3 - maximum of 3 records +#recordNumber = 3 + +# Primary Record - true or false (default) +# There can be only one primary record +#primaryRecord = false + +# Vendor ID '0xFFFF' indicates no Device ID Service Record is present in the device +# 0x000F = Broadcom Corporation (default) +#vendorId = 0x000F + +# Vendor ID Source +# 0x0001 = Bluetooth SIG assigned Device ID Vendor ID value (default) +# 0x0002 = USB Implementer’s Forum assigned Device ID Vendor ID value +#vendorIdSource = 0x0001 + +# Product ID & Product Version +# Per spec DID v1.3 0xJJMN for version is interpreted as JJ.M.N +# JJ: major version number, M: minor version number, N: sub-minor version number +# Default: 0x0000, v00.0.0 +#productId = 0x0000 +#version = 0x0000 + +# Optional attributes +#clientExecutableURL = +#serviceDescription = +#documentationURL = diff --git a/conf/bt_stack.conf b/conf/bt_stack.conf new file mode 100644 index 0000000..a956c14 --- /dev/null +++ b/conf/bt_stack.conf @@ -0,0 +1,33 @@ +# Enable BtSnoop logging function +# valid value : true, false +BtSnoopLogOutput=false + +# BtSnoop log output file +BtSnoopFileName=/sdcard/btsnoop_hci.log + +# Enable trace level reconfiguration function +# Must be present before any TRC_ trace level settings +TraceConf=true + +# Trace level configuration +# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated ) +# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages ) +# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages ) +# BT_TRACE_LEVEL_API 3 ( API traces ) +# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events ) +# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages ) +TRC_BTM=2 +TRC_HCI=2 +TRC_L2CAP=2 +TRC_RFCOMM=2 +TRC_OBEX=2 +TRC_AVCT=2 +TRC_AVDT=2 +TRC_AVRC=2 +TRC_AVDT_SCB=2 +TRC_AVDT_CCB=2 +TRC_A2D=2 +TRC_SDP=2 +TRC_GATT=2 +TRC_SMP=2 +TRC_BTAPP=2 |