Skip to content

Commit

Permalink
Add find() function to scan for devices using advertisement filters
Browse files Browse the repository at this point in the history
- Add noinspection statements to suppress Lint errors
- Add information about pythonnet binaries to requirements_dev.txt
- Add Python representation of Windows.Devices.Bluetooth.Advertisement
  classes for conversion.
- Scanning is done using BluetoothLEAdvertisementWatcher instead of
  to enable all of the Bluetooth LE Advertisement features (
  flags, services, manufacturer data, ...) which are required for
  filtering.
- TODO: Filtering as described in find().__doc__
  Filtering could also be done using BluetoothLEAdvertisementWatcher.AdvertisementFilter
  however that would complicate future cross-platform compatibility and
  made using Regex filters impossible.
  • Loading branch information
bojanpotocnik committed Mar 26, 2019
1 parent 35ca81f commit 4e838f0
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 2 deletions.
Loading

0 comments on commit 4e838f0

Please sign in to comment.