diff options
| author | Martin Brabham <optedoblivion@google.com> | 2022-01-05 00:16:24 +0000 |
|---|---|---|
| committer | Martin Brabham <optedoblivion@google.com> | 2022-01-20 17:16:25 +0000 |
| commit | 355f503ce2821ef788ca68fc08add190b1b76a28 (patch) | |
| tree | 788a79d7acc440d7b71fe84e23ec9667729cb490 /framework/java/android/bluetooth/BluetoothFrameworkInitializer.java | |
| parent | b94558ae8789b0613bee89bb7af389ff80c4621a (diff) | |
BLE Scanning: Force the APCF address type value to always be 0x02.
The address type in...
Java:
Public = 0
Random = 1
In the host stack when dealing with BLE ID addresses 2 and 3 are used for resolve
address
C++:
Public = 0
Random = 1
Public ID = 2
Random ID = 3
The vendor command takes Public (0) or Random (1) or Any (2)
We need to use 0x02 for Any if we want to use the resolving list for scans.
e.g. specifying for a PUBLIC (0x00) will only return results for a public matching
address and will NOT try to resolve any RPA to the address. For this the Any (0x02)
must be specified.
Ignore-AOSP-First: Need on sc-v2-dev; code doesn't match on master
Bug: 209885517
Test: Manual scanning app
Tag: #stability
Change-Id: Ic4236d5703611de83c45ebe7638c0f4f2b02931b
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions
