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

Bug fix: Don't read LED state after write if not supported #90

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

philips77
Copy link
Member

Some LBS (LED Button Service) implementations don't support READ property in either LED or Button characteristics.
Until now, the LED state was read after a write for confirmation. This was failing, causing the LED state to be always disabled.

This PR fixes that.

Initially, when the LED state is unknown and cannot be ready the UI will display: UKNOWN.

@philips77 philips77 merged commit 814b897 into main Mar 7, 2023
@philips77 philips77 deleted the fix/dont-read-after-write branch March 7, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant