flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

How can I identify what device I want to connect if the name data is empty

Open ride4sun opened this issue 6 years ago • 9 comments

If I run the example I only get data with no name info but some manufacturer data (not sure what the manufacturer data is....). How can I select the device I would like to connect to? screenshot_20181222-154300

ride4sun avatar Dec 22 '18 23:12 ride4sun

Any updates on this? I'm struggling as well.

bogoevskid avatar Jan 02 '19 10:01 bogoevskid

This explained things for me.

After a lot of struggling with this example, I tried using flutter_bluetooth_serial (it's based on flutter_blue) and successfully connected to the needed device.

bogoevskid avatar Jan 04 '19 07:01 bogoevskid

I have the same problem. I tested the example on my two sony z3+ smart phones which have bluetooth version 4.1 but still it shows hex number instead of human readable name. can not connect to each other, flutter_bluetooth_serial is android only and its not an option for me. please someone explain how can I use this package.

mehdimsv avatar Apr 25 '19 20:04 mehdimsv

I have the same problem - tested 2 android phones, raspberry Pi 3B+, HC-05 bluetooth module (Arduino) and some wireless headphones - all of the devices has no name displayed :C

AgainPsychoX avatar May 24 '19 08:05 AgainPsychoX

Same problem, when I try to get device name the string is empty, The package provided by @bogoevskid solve this problem. Hope this problem will be fixed as fast as possible

enricobenedos avatar Jan 07 '20 13:01 enricobenedos

@enricobenedos I think the answer is no. I basically blocked the update and use the old version. Kind of sucks.

ride4sun avatar Jan 07 '20 21:01 ride4sun

@ride4sun Did you write that you are using the old version? Did this solve the problem with the name? And if so, which version are you using?

AlexanderFilinovich avatar Feb 27 '20 10:02 AlexanderFilinovich

Solved for Raspberry PI 4.

So little background on what I was trying to solve.

My issue was to retrieve mac address of Bluetooth on Raspberry PI 4, which we used for let's say "XYZ" reason.

So, we used the flutter_blue package to set up Bluetooth and discover the raspberry PI device. All we could see was MAC Address of raspberry PI 4 but no "Local Name". Dig around a lot and found that PI 4 was not advertising BLE, so I enabled "LE Set Advertise Enable" using the following command. For more information, you can check this out BLE Advertising

After enabling BLE Advertising, we could see the Local Name of Raspberry PI 4.

jenish-rudani avatar Feb 24 '21 06:02 jenish-rudani

I have exactly the same trouble using a Vodafone Smart N10 Android 9.0 Why I cannot read the names of the devices? using Bluetooth settings i can see it perfectly.

santigual avatar Nov 18 '22 10:11 santigual