Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update device advert scanning functionality #2

Open
thegecko opened this issue Jan 3, 2018 · 3 comments
Open

Update device advert scanning functionality #2

thegecko opened this issue Jan 3, 2018 · 3 comments

Comments

@thegecko
Copy link
Owner

thegecko commented Jan 3, 2018

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
@m4-miranda
Copy link

Hi, fairly new to the project and the spec, is this functionality built into Chrome? How would one go about contributing?

@thegecko
Copy link
Owner Author

The implementation status suggests this isn't supported in Chrome yet.
That doesn't mean you can't implement it following the specification, but there's no way to then compare it with another implementation.

@tavrez
Copy link

tavrez commented Dec 1, 2024

I need to read a payload of a services on a non-connectable device, is this the method needed for my work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants