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

Don't set all trackers to "ok" on device reconnect #883

Merged
merged 3 commits into from
Nov 18, 2023

Conversation

ButterscotchV
Copy link
Member

This code sets the status of disconnected trackers to "ok", this works fine if the trackers connected to the device don't change, but it absolutely can.

We can instead simply rely on setUpSensor to set the status more accurately, as it should always be called when a device connects or re-connects, for each tracker.

Fixes #871

This code sets the status of disconnected trackers to "ok", this works fine if the trackers connected to the device don't change, but it absolutely can.

We can instead simply rely on `setUpSensor` to set the status more accurately, as it should always be called when a device connects or re-connects, for each tracker.
@ButterscotchV ButterscotchV added Type: Bug Something isn't working Priority: Normal The default priority Area: Server Related to the server labels Oct 31, 2023
@ButterscotchV ButterscotchV self-assigned this Oct 31, 2023
@ImUrX ImUrX merged commit 25bd050 into SlimeVR:main Nov 18, 2023
7 checks passed
@ButterscotchV ButterscotchV deleted the tracker-status-fix branch November 18, 2023 04:19
ImUrX added a commit that referenced this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Server Related to the server Priority: Normal The default priority Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extensions appear as actively connected after being unplugged
3 participants