I'm updating one of my apps to target SDK 28 (it previously didn't have a target) and the code which gets the name of the connected device no longer works on my Android 9 device but still works on Android 5 and 6.
errors on connectedAddress = ref.GetField("mAddress"):
Private Sub...