I want to get devices names on blue tooth scan from my app.Currently I get a null value instead of device name. I have tried this link to implement this:-https://github.com/aritchie/bluetoothle.

Please Help me

Here is my code

  CrossBleAdapter.Current.ScanInterval(TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10)).Subscribe(async scanResult =>
        {
            var _device = await scanResult.Device.ConnectWait().ToTask();

            if (!Devices.Any(d => d.Uuid == _device.Uuid))
            {
                Devices.Add(scanResult.Device);
            }
        });

0 Answers