canonical / bluez.dart

Mozilla Public License 2.0
52 stars 20 forks source link

Filter by manufacturer data #94

Closed fotiDim closed 8 months ago

fotiDim commented 8 months ago

We have a bluetooth peripheral that does not advertise services nor has a static name, therefore we need to discover it by manufacturer data. setDiscoveryFilter does not seem to support filtering by manufacturer data, though. Currently we are discovering all devices and filter in the app, but it would be nice if we could filter on the OS API level. Not sure if the corresponding API exists on Linux but other platforms like Android have it.

robert-ancell commented 8 months ago

The BlueZ documentation doesn't seem to indicate this is supported - you would have to contact the BlueZ developers. If they expose this API, then I'll happily add it to bluez.dart!