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

Issue61 uuid case sensitivity #62

Merged
merged 6 commits into from
Jan 13, 2022

Conversation

WouterJD
Copy link
Contributor

examples/server.py defines the UUID with capitals

    my_service_uuid = "A07498CA-AD5B-474E-940D-16F1FBE7E8CD"
    my_char_uuid = "51FF12BB-3ED8-46E5-B4F9-D64E2FEC021B"

This causes a key-error in add_new_characteristic()
which is resolved by adding service_uuid = str(UUID(service_uuid)) in that function.
as is also done in update_value()

Perhaps to be done at more locations.

@kevincar kevincar changed the base branch from master to develop January 13, 2022 12:31
@kevincar kevincar added backend: WinRT Problem specific to WinRT bug Something isn't working labels Jan 13, 2022
@kevincar kevincar merged commit d5338d0 into kevincar:develop Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: WinRT Problem specific to WinRT bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows 10: KeyError: 'A07498CA-AD5B-474E-940D-16F1FBE7E8CD' in server.py
2 participants