Hi everyone
I'm trying to create a Bluetooth scanner in Xamarin Forms for Android and iOS. After connecting with this device its Services and Characteristics need to be read.
For iOS this works nice and easy, but in Android once connected it is unable to discover any Service or Characteristic. In the properties of the connected device it says "Connected" but also "NotPaired", but again I'm unable to pair with this device.
What am I doing wrong (the library I'm using is Acr Ble)?
The code to connect to a device
await device.PairingRequest("000000");
device.Connect().Subscribe(result =>
{
// Some code
});
device.WhenStatusChanged().Subscribe(status =>
{
if (status == ConnectionStatus.Connected)
{
// Navigate to new page
}
});