-
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.
Handle response errors during commissioning (#17778)
* Handle ArmFailSafe response error propgating to AutoCommissioner * format fixing * Fixes based on pull request comments * Fix issue inside AutoCommissioner * Remove map, as the errors were redundant * Finish off plumbing error codes and networkstatus to AutoCommissioner * OnSetRegulatoryConfigResponse * OnNetworkConfigResponse * OnConnectNetworkResponse * OnCommissioningCompleteResponse * Remove TODO about checking if static_cast is correct I saw an example were static_cast was used on another `enum class Asdf : uint8_t`, so this does seems like the appraoch used elsewhere in this codebase * Last little bit of cleanup to turn this into real pull request * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Fix formatting issues Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
3 changed files
with
104 additions
and
43 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