summaryrefslogtreecommitdiff
authorLawrence Mok <lawrence.mok@amlogic.com>2013-12-12 20:42:42 (GMT)
committer Lawrence Mok <lawrence.mok@amlogic.com>2013-12-12 20:42:42 (GMT)
commitefae12b0334af5fdf43fd68da75a7ac04de46adc (patch)
treead3506d4f3fe8a1e18f89653e78f85898b95c6ec
parent81a0986c936d468f20ad3eeb205d618b2c32b393 (diff)
downloadlibbt-efae12b0334af5fdf43fd68da75a7ac04de46adc.zip
libbt-efae12b0334af5fdf43fd68da75a7ac04de46adc.tar.gz
libbt-efae12b0334af5fdf43fd68da75a7ac04de46adc.tar.bz2
add some bt conf from the removed system/bluetooth
Diffstat
-rw-r--r--data/auto_pairing.conf27
-rw-r--r--data/blacklist.conf7
2 files changed, 34 insertions, 0 deletions
diff --git a/data/auto_pairing.conf b/data/auto_pairing.conf
new file mode 100644
index 0000000..3919940
--- a/dev/null
+++ b/data/auto_pairing.conf
@@ -0,0 +1,27 @@
+// Do NOT change this file format without updating the parsing logic in
+// BluetoothService.java
+
+// 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/data/blacklist.conf b/data/blacklist.conf
new file mode 100644
index 0000000..3190b7b
--- a/dev/null
+++ b/data/blacklist.conf
@@ -0,0 +1,7 @@
+// Do NOT change this file format without updating the parsing logic in
+// the modules that use this file (listed below):
+// android_bluetooth_ScoSocket.cpp
+
+// Module,Type,Value List,Parameter List, //Comment
+scoSocket:name,"MY-CAR",=ALL_ESCO_MASK;-ESCO_2EV5;-ESCO_3EV3;-ESCO_3EV5, // Infinity G35
+scoSocket:name,"Motorola HF850",=SCO_ESCO_MASK, // Motorola HF850