Closed alexdeweert closed 6 years ago
In nRF Connect the solution was to "Refresh" the device, and then I could see the characteristics. On the C# Xamarin side the solution was to use the hidden Java reflection method within a function
private void RefreshGattCache() {
Method m = gatt.Class.GetMethod("refresh",null);
m.Invoke(gatt,null)
}
Hello,
I've been having a very hard time getting my Android phone to recognize custom UUIDs and their associated services and characteristics (using either nRF Connect and even just a custom built Android app using Android.Bluetooth library for Xamarin).
No matter what I do, I cannot get the nRF app to see ANYTHING other than the following:![20180812_163917](https://user-images.githubusercontent.com/18603481/44007682-99926a9c-9e4e-11e8-8383-c808eb3e695f.jpg)
The iOS app LightBlue recognizes the custom UUIDs and characteristic values no problem! Same with the iOS cross platform version of my own custom Xamarin app.
So this doesn't seem to be an issue with either Xamarin, iOS, or nRF Connect...it seems to be an issue with the way that the Android hardware is scanning for the beacon.
blueoothd IS disabled...hci0 is up and running.
Results of hcidump -i hci0 following "connect" from nRF Connect app on Android
Code running on Raspberry pi
Any help would be greatly appreciated. Thanks.