Add name prefix filtering (#45)
* Add name filter * Change name filter to "prefix" * Implement namePrefix filtering * Update lib/src/universal_ble_platform_interface.dart * Update lib/src/universal_ble_platform_interface.dart --------- Co-authored-by: fotidim <foti@navideck.com>
This commit is contained in:
@@ -119,6 +119,13 @@ Use the `withManufacturerData` parameter to filter devices by manufacturer data.
|
||||
```dart
|
||||
List<ManufacturerDataFilter> withManufacturerData;
|
||||
```
|
||||
##### With namePrefix
|
||||
|
||||
Use the `withNamePrefix` parameter to filter devices by names (case sensitive). When you pass a list of names, the scan results will only include devices that have this name or start with the provided parameter.
|
||||
|
||||
```dart
|
||||
List<String> withNamePrefix;
|
||||
```
|
||||
|
||||
### Connecting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user