-
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.
Fix messagedef IM data value logging to be consistent. (#19569)
There were a bunch of issues: * Weird indentation for attribute data and event data * No implementation of logging floating point values for attribute data * Manual tabs inserted various places for command data instead of using the pretty print depth. This fix consolidates the event/command/attribute logging (which was all completely generic and almost identical except for the issues above) into a single function that is called from all three places. Verified that the following produce the same results as before or better ones, in terms of the logging: ./chip-tool applicationbasic read application 17 3 ./chip-tool mediaplayback fast-forward 17 3 ./chip-tool mediaplayback read playback-speed 17 3 ./chip-tool operationalcredentials read fabrics 17 0
- Loading branch information
1 parent
53386f0
commit 2297240
Showing
8 changed files
with
177 additions
and
483 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
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.