Does anyone solve this problem i encountered error, GattCallback error : 133, using plugin.ble
here is my code below:
device = DevicesList.SelectedItem as IDevice;
var result = await DisplayAlert("Confirm", "Do you want to connect?", "Connect", "Cancel");
if (!result)
return;
//Stop Scanner
await adapter.StopScanningForDevicesAsync();
try
{
await adapter.ConnectToDeviceAsync(device);
await DisplayAlert("Connection", "Status:" + device.State , "OK");
}
catch (DeviceConnectionException ex)
{
await DisplayAlert("Error", ex.Message, "OK");
}