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

I use a BLE device (`peer’) that communicates with my Android app without pairing — the peer device advertises and android connects to it. During this connection, the Android device transmits its own Bluetooth address (this is part of each connection). Under Android 4.4 this used to be its public static (i.e. Bluetooth-MAC) address, under Android 5 (at least with my Nexus 9) this is a private random address.

The Problem:
The peer device checks the supplied address of the Android device and allows only devices with known address to connect. When using a newly generated random address for each new connection, this does not work.

  • Can I remove the android-support-v4.jar library?
  • ListView inside a ScrollView
  • Android GridVIew Change number of columns depending on Orientation
  • Extending Android View class to add a dropshadow
  • When Fragment.instantiate is preferable over MyFragment.newInstance or new MyFragment()
  • Under What Conditions Does ART Compact the Heap?
  • This post
    Android 5 static bluetooth MAC address for BLE advertising
    indicates, that at least for advertising it’s not possible to disable this privacy feature. My question: Does anyone know, how to disable this privacy feature and let Android transmit its `true’ public address on connection?

    Related posts:

    Which view should be used for new Material Design Bottom Navigation?
    Why does Locale.getDefault().getLanguage() in Android return the display name instead of the languag...
    Android multidex, UnsatisfiedLinkError - couldn't find .so file
    No Java files found which extend CordovaActivity. when use “cordova build”
    Fit image in webview
    How MediaCodec finds the codec inside the framework in Android?
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.