root@p201:/system/etc/firmware # cat /data/misc/bluedroid/bt_config.xml
<Bluedroid>
<N1 Tag="Local">
<N1 Tag="Adapter">
<N1 Tag="BluezMigrationDone" Type="int">1</N1>
<N2 Tag="Address" Type="string">4c:0f:c7:e1:33:b7</N2>
<N3 Tag="ScanMode" Type="int">0</N3>
<N4 Tag="DiscoveryTimeout" Type="int">120</N4>
<N5 Tag="LE_LOCAL_KEY_IR" Type="binary">13146ce31a13392bb92dbe6b1a1ecbb4</N5>
<N6 Tag="LE_LOCAL_KEY_IRK" Type="binary">08f191bb84f8c85d5a6c6a762d36353b</N6>
<N7 Tag="LE_LOCAL_KEY_DHK" Type="binary">97dc584f3c81b957bf332ac9b2d80db5</N7>
<N8 Tag="LE_LOCAL_KEY_ER" Type="binary">2fb491010a6d6442f3a808733d2ac25e</N8>
</N1>
<N2 Tag="AutoPairBlacklist">
<N1 Tag="AddressBlacklist" Type="string">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,00:26:e8</N1>
<N2 Tag="ExactNameBlacklist" Type="string">Motorola IHF1000,i.TechBlueBAND,X5 Stereo v1.3,KML_CAN</N2>
<N3 Tag="FixedPinZerosKeyboardBlacklist" Type="string">00:0F:F6</N3>
<N4 Tag="PartialNameBlacklist" Type="string">BMW,Audi,Parrot,Car</N4>
</N2>
</N1>
<N2 Tag="Remote">
<N1 Tag="3c:b6:b7:9d:ce:23">
<N1 Tag="Timestamp" Type="int">1483536701</N1>
<N2 Tag="DevClass" Type="int">5898764</N2>
<N3 Tag="DevType" Type="int">1</N3>
<N4 Tag="Manufacturer" Type="int">0</N4>
<N5 Tag="LmpVer" Type="int">0</N5>
<N6 Tag="LmpSubVer" Type="int">0</N6>
<N7 Tag="AddrType" Type="int">0</N7>
<N8 Tag="Name" Type="string">vivo Xplay5S</N8>
</N1>
<N2 Tag="b0:89:00:b2:8a:73">
<N1 Tag="Timestamp" Type="int">1529374319</N1>
<N2 Tag="Name" Type="string">BBMMJ</N2>
<N3 Tag="DevClass" Type="int">5898764</N3>
<N4 Tag="DevType" Type="int">1</N4>
<N5 Tag="Manufacturer" Type="int">271</N5>
<N6 Tag="LmpVer" Type="int">7</N6>
<N7 Tag="LmpSubVer" Type="int">1544</N7>
<N8 Tag="AddrType" Type="int">0</N8>
<N9 Tag="Service" Type="string">0000110a-0000-1000-8000-00805f9b34fb 00001105-0000-1000-8000-00805f9b34fb 00001115-0000-1000-8000-00805f9b34fb 00001116-0000-1000-8000-00805f9b34fb 0000112f-0000-1000-8000-00805f9b34fb 00001112-0000-1000-8000-00805f9b34fb 0000111f-0000-1000-8000-00805f9b34fb 00001132-0000-1000-8000-00805f9b34fb </N9>
</N2>
<N3 Tag="fc:3d:93:77:16:2c">
<N1 Tag="Timestamp" Type="int">1529375637</N1>
<N2 Tag="DevClass" Type="int">2491420</N2>
<N3 Tag="DevType" Type="int">1</N3>
<N4 Tag="Manufacturer" Type="int">10</N4>
<N5 Tag="LmpVer" Type="int">4</N5>
<N6 Tag="LmpSubVer" Type="int">4192</N6>
<N7 Tag="AddrType" Type="int">0</N7>
<N8 Tag="Name" Type="string">小钢炮蓝牙音箱青春版</N8>
<N9 Tag="LinkKeyType" Type="int">4</N9>
<N10 Tag="PinLength" Type="int">0</N10>
<N11 Tag="LinkKey" Type="binary">8bc8096cafdc5c58da29cd263c23cc9b</N11>
<N12 Tag="Service" Type="string">0000110b-0000-1000-8000-00805f9b34fb 0000110e-0000-1000-8000-00805f9b34fb </N12>
</N3>
<N4 Tag="e4:46:da:7b:1d:29">
<N1 Tag="Timestamp" Type="int">1529374318</N1>
<N2 Tag="DevClass" Type="int">5898764</N2>
<N3 Tag="DevType" Type="int">1</N3>
<N4 Tag="AddrType" Type="int">0</N4>
<N5 Tag="Name" Type="string">小米手机</N5>
</N4>
<N5 Tag="d8:bb:99:68:68:6d">
<N1 Tag="Timestamp" Type="int">1529379220</N1>
<N2 Tag="Name" Type="string">W3-98BB9968686D</N2>
<N3 Tag="DevClass" Type="int">7936</N3>
<N4 Tag="DevType" Type="int">2</N4>
<N5 Tag="AddrType" Type="int">1</N5>
</N5>
<N6 Tag="f3:fc:89:2a:78:65">
<N1 Tag="Timestamp" Type="int">1529379203</N1>
<N2 Tag="Name" Type="string">MI Band 2</N2>
<N3 Tag="DevClass" Type="int">7936</N3>
<N4 Tag="DevType" Type="int">2</N4>
<N5 Tag="AddrType" Type="int">1</N5>
</N6>
<N7 Tag="67:8f:a2:75:0c:fe">
<N1 Tag="Timestamp" Type="int">1529374412</N1>
<N2 Tag="DevClass" Type="int">7936</N2>
<N3 Tag="DevType" Type="int">2</N3>
<N4 Tag="AddrType" Type="int">1</N4>
</N7>
<N8 Tag="74:23:44:d1:33:73">
<N1 Tag="Timestamp" Type="int">1529375635</N1>
<N2 Tag="Name" Type="string">QCOM-BTD</N2>
<N3 Tag="DevClass" Type="int">5898764</N3>
<N4 Tag="DevType" Type="int">1</N4>
<N5 Tag="AddrType" Type="int">0</N5>
</N8>
<N9 Tag="78:02:f8:17:6c:e4">
<N1 Tag="Timestamp" Type="int">1529376500</N1>
<N2 Tag="Name" Type="string">PE-TL10</N2>
<N3 Tag="DevClass" Type="int">5898764</N3>
<N4 Tag="DevType" Type="int">1</N4>
<N5 Tag="AddrType" Type="int">0</N5>
</N9>
</N2>
</Bluedroid>
其中DevType字段的含义:1代表是传统蓝牙设备,2代表BLE设备;有时候会出现3,代表混合的或者是设备没有上报DevType字段时自动识别为3。
Android系统通过/data/misc/bluedroid/bt_config.xml文件查看蓝牙设备类型
最新推荐文章于 2023-07-03 14:10:07 发布