-
Notifications
You must be signed in to change notification settings - Fork 304
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
Added support for 32bit UUID's added in 4.1 of the Bluetooth spec #1315
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I just have a few suggestion to improve the doc string.
Also, please add a changelog entry.
bleak/uuids.py
Outdated
@@ -1157,11 +1157,16 @@ def normalize_uuid_str(uuid: str) -> str: | |||
- Converted to lower case. | |||
- 16-bit UUIDs are expanded to 128-bit. | |||
|
|||
BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 3, Part B - Section 2.5.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we need this in the documentation. I don't expect anyone to actually look it up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think the Bluetooth spec reference would be better as a code comment rather than a documentation comment.
Co-authored-by: David Lechner <david@lechnology.com>
Co-authored-by: David Lechner <david@lechnology.com>
Morning. Any chance of progressing the pull request? Please let me know if there is anything else I need to do. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be helpful if you could also add a changelog entry.
bleak/uuids.py
Outdated
@@ -1157,11 +1157,16 @@ def normalize_uuid_str(uuid: str) -> str: | |||
- Converted to lower case. | |||
- 16-bit UUIDs are expanded to 128-bit. | |||
|
|||
BLUETOOTH CORE SPECIFICATION Version 5.4 | Vol 3, Part B - Section 2.5.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think the Bluetooth spec reference would be better as a code comment rather than a documentation comment.
I have added a change log and fixed the doc format. |
Thanks! |
Pull Request Guidelines for Bleak
Before you submit a pull request, check that it meets these guidelines:
CHANGELOG.rst
, describing your changes as is specified by theguidelines in that document.
different problems and you are committing them in the same PR. In that case,
consider making several PRs instead.
AUTHORS.rst
file!