-
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.
Remove code duplication for CHIP_ERROR to ClusterCode conversion. (#3…
…4752) * Remove code duplication for CHIP_ERROR to ClusterCode conversion. We have a complete implementation of this in ClusterStatusCode. Remove the logic in StatusIB and use the ClusterStatusCode one instead. Generally StatusIB is just a ClusterStatusCode ontainer, however due to direct TLV reads, it splits out its contents. I only updated the constructor to use common code. * Move the chip-error conversion from statusIB into the header and made it re-use code --------- Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information
1 parent
cea7fd8
commit 8bdc3c2
Showing
2 changed files
with
2 additions
and
26 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