Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

The Bluetooth device name returns null using Bluetooth LE in Xamarin forms

judsonabrahamjudsonabraham USMember ✭✭✭

I am trying to implement Bluetooth LE in my Xamarin forms application. But I'm able to access only the address of Bluetooth devices when the Bluetooth device is discovered. I'm not able to discover the name of the Bluetooth device. I tried various solutions but none of them worked. This is my code

 private async void btnScan_Clicked(object sender, EventArgs e)
                adapter.ScanMode = ScanMode.LowLatency;
 adapter.DeviceDiscovered += (s, a) =>


                //We have to test if the device is scanning 
                if (!ble.Adapter.IsScanning)
                    await adapter.StartScanningForDevicesAsync();

            catch (Exception ex)
                DisplayAlert("Notice", ex.Message.ToString(), "Error !");


I don't have any clue how to fix this. Any suggestions?

Best Answer


Sign In or Register to comment.