Request: Scanning filtering by manufacturer ID
See original GitHub issueThis is a feature request, but we recently had to abandon our use of this library due to not being able to scan filter by manufacturer ID (at least on Android, don’t know what iOS world looks like). I had added the functionality locally to the library just by passing through a manufacturerID and calling if that value was provided
ScanFilter.Builder builder = new ScanFilter.Builder();
builder.SetManufacturerData(manufacturerId.Value, Array.Empty<byte>() );
ScanFilter filter = builder.Build();
scanFilters.Add(filter);
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Request: Scanning filtering by manufacturer ID · Issue #515
This is a feature request, but we recently had to abandon our use of this library due to not being able to scan...
Read more >How to use the BLE Scanning filters on the Connection ...
In this blog, I show how to add the extra criteria filter (manufacturer specific data) and then check for particular pattern inside the ......
Read more >How to filter on manufacturer ID when scanning for BLE ...
Hi, I want to filter BLE advertisements on manufacturer ID when scanning with nrf_ble_scan. I cannot change the advertising packet, ...
Read more >How to filter on manufacturer data when using ...
The "manufacturerId" (aka Company Identifier) identifies the manufacturer of the BLE device and are uniquely assigned by the Bluetooth SIG. So ...
Read more >BLE scanning filtered by manufacturer data does not work
It seems like when I register a scanning with a manufacturer filter I will not get any results. Same code works on other...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the suggestion. That’s a reasonable request.
Apart from filtering on Manufacturer data, it would also be good to have a way to filter on Service data. Right now one can only filter on Service UUID (by passing it directly to
IAdapter.StartScanningForDevicesAsync
).Given all those different filtering options (cf. https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder), it would be good to introduce more advanced filtering mechanisms to
IAdapter
.And yes, one should also check the iOS APIs, in order to see what we can cover across platforms here.
Service-data filtering was added with #588.