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

BLE advertisments stop after a while #27

Open
agrath opened this issue Apr 25, 2019 · 2 comments
Open

BLE advertisments stop after a while #27

agrath opened this issue Apr 25, 2019 · 2 comments

Comments

@agrath
Copy link

agrath commented Apr 25, 2019

This is possibly not the right place to create this but I can repro it with the Bluetooth LE Explorer app.

We have a custom UWP app which uses BluetoothLEAdvertisementWatcher from Windows.Devices.Bluetooth.Advertisement
This is used to observe advertising packets being yielded by custom devices on a schedule for presence detection.

We are experiencing an issue where after some time, our app appears to show no advertising packets being received.
Restarting our app does not fix the issue, only rebooting the computer.
We have tested this on raspberry pi, qualcomm dragonboard and an atlas mini pc all running windows 10 with different versions of the iot core system on the embedded devices.
The atlas mini pc is running an x64 build whereas the embedded devices an arm build.

We have run the Bluetooth LE Explorer app in parallel with our custom application and observed that when the issue occurs, both the Bluetooth LE Explorer and our app stop seeing packets at the same time.
Observing the issue which we've reproduced right now (it seems to be an external event of some kind so not reproducable on demand), I can see the start/stop button in LE explorer flickering between start and stop very fast, with occassional messages beside the button with Enumeration finished flicking up.

We are out of ideas, any suggestions on what this could be or things we can try? It doesn't seem to be an issue in the application code

@agrath
Copy link
Author

agrath commented Apr 25, 2019

ble-explorer-no-packets
no-packets

@jg4ye
Copy link
Contributor

jg4ye commented Apr 9, 2021

I'd recommend using btvs from "https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/testing-btp-tools-btvs" to see if the advertisement packets are being reported from the local radio to the Windows Bluetooth stack.

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

2 participants