bluetooth_low_energy icon indicating copy to clipboard operation
bluetooth_low_energy copied to clipboard

Service UUIDs not in advertisement

Open martin-robert-fink opened this issue 1 year ago • 6 comments

Hi - I had to take a little break from this, but had a bit of time today to continue testing/trying.

I'm using a heart rate monitor to try out the plug in.

When scanning, the advertisement data should have list of service UUIDs. My heart rate monitor should come back with 4 of them. Heart Rate, Battery, Device Information, and then an unidentified UUID string. I confirm this using LightBlue.

I have looked at this using my own code, but also using the example code provided with the plugin. Even with the example app, no service UUIDs show up for the heart rate monitor. To be clear, the heart rate monitor is scanned/found. However the service UUID list is empty.

I think this is a bug.

As an aside, you example app gets a linting error with the latest flutter in main.dart on line 282. Don't use BuildContext across async gaps. You may want to look at that.

Thanks, Martin

martin-robert-fink avatar Feb 22 '24 17:02 martin-robert-fink