-
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 status report handling in read handler (#21374)
* Fix status report handling in read handler * address comments * Update src/app/tests/TestReadInteraction.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/app/tests/TestReadInteraction.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/app/tests/TestReadInteraction.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Update src/app/tests/TestReadInteraction.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Fix 1. Once message is passed to OnReadInitialRequest in read handler, if anything bad in incoming message, handler would send status report with invalid action, if there is not enough resource for paths in IM engines, we would send status report with exhansted path. 2. Fix fake build in linux, it seems this build don't have IM schema check. Usually without CHIP_CONFIG_IM_ENABLE_SCHEMA_CHECK, if schema error happens, we would get a little bit more detailed error, here, we add additional error check in TestReadHandlerInvalidAttributePath. * address comments Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
1 parent
8f6623c
commit 29a2a29
Showing
4 changed files
with
339 additions
and
52 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
Oops, something went wrong.