Skip to content

Update device advert scanning functionality #2

@thegecko

Description

@thegecko

The specification outlines a (not yet stable) ability to watch a device's adverts:

https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothdevice-watchadvertisements

This likely needs quite a refactor of the noble adapter code to continually scan for devices and read the adData for a specific device.

Implement:

  • BluetoothDevice.watchAdvertisements()
  • BluetoothDevice.unwatchAdvertisements()
  • BluetoothDevice.watchingAdvertisements

Remove:

  • BluetoothDevice.adData

Update:

  • Eddystone example

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions