-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Make BLE UUID string constants lowercase #33692
Make BLE UUID string constants lowercase #33692
Conversation
PR #33692: Size comparison from b790232 to 31717b5 Full report (83 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
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.
Maybe this should be quoted somehow: https://datatracker.ietf.org/doc/html/rfc4122#section-3:
Each field is treated as an integer and has its value printed as a
zero-filled hexadecimal digit string with the most significant
digit first. The hexadecimal values "a" through "f" are output as
lower case characters and are case insensitive on input.
EDIT: UUID in the docstring on line 58 should also be converted to lowercase.
I was failing to provision ble-wifi from linux after #33649. It seems that turning string constants to lowercase makes it work (previous code had it lowercase).
I could not really find documentation in bluez about the case requirement though. All I see is that:
fails with uppercase and succeeds with lowercase, so it seems to me that service data is a map with lowercase keys.