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?
android android-5.0-lollipop bluetooth bluetooth-lowenergy
Michael Kopp
source share