-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add chip-tool support for octet string arguments with non-ASCII bytes…
… in them. (#7363) For an octet-string argument we support three formats: 1. hex: followed by hex representation of the bytes. 2. str: followed by just the chars, if they are all nicely printable 3. Just the bytes/chars, if they are all nicely printable. Format 1 is needed when the value contains non-printable chars, and especially nulls. Formats 2 and 3 are easier to use for the typical use case of Wi-Fi SSIDs and passwords. Formats 1 and 2 match chip-device-ctrl.
- Loading branch information
1 parent
f16387b
commit b5a29d3
Showing
8 changed files
with
147 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.