Is there a way to connect to a Bluetooth Low Energy device under Android 5 displaying a public static address?

Background : I am using a BLE ("peer") device that communicates with my Android application without pairing - it announces a peer device and Android connects to it. During this connection, the Android device transmits its own Bluetooth address (this is part of each connection). In Android 4.4, it was a public static (i.e. Bluetooth-MAC) address, under Android 5 (at least with my Nexus 9) it was a private random address.

Problem : A peer device checks the incoming address of an Android device and allows only devices with a known address to be connected. When using the newly created random address for each new connection, this does not work.

This message the Android 5 MAC address for the MAC address for the BLE advertisement indicates that at least for advertising it is not possible to disable this privacy feature. My question is . Does anyone know how to disable this privacy feature and let Android pass on its โ€œtrueโ€ public address when connected?

+7
android android-5.0-lollipop bluetooth bluetooth-lowenergy
source share

No one has answered this question yet.

See similar questions:

10
MAC 5-bit Bluetooth MAC Address for BLE Advertising
0
Android 5 BLE connects with random static VS-resolved private address

or similar:

882
A static way to get "Context" in Android?
185
Android 4.3 Bluetooth Low energy unstable
43
Get the MAC address of a low energy bluetooth peripheral device
31
Android 4.3: How to connect to multiple Bluetooth low-power devices
nineteen
Private and Public Addresses in Low Energy Bluetooth on Android
sixteen
Android Lollipop 5.0 Bluetooth Low Power Central Role of Poor Performance
7
Android 4.4: Low Energy Bluetooth; Connect without scan for BLE device
5
Pairing with the low-power Android Bluetooth device
0
Reading Low Energy Bluetooth IRK from Android Application
0
Android 5 BLE connects with random static VS-resolved private address

All Articles