-
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.
[zephyr] BootReasons and NetworkInterfaces fixes (#16530)
1. Fix BootReasons attribute of GeneralDiagnostics cluster: - Make sure hwinfo_get_reset_cause() is called once per boot and is immediately followed by hwinfo_clear_reset_cause() since the reset cause is accumulated between subsequent resets. - Add support for SoftwareUpdateCompleted boot reason. - Reduce the scope of reasons classified as SoftwareReset. 2. Add a missing bound check to the NetworkInterfaces attribute provider and always assume that Zephyr's net_if API is available.
- Loading branch information
1 parent
084ccb4
commit 1955826
Showing
2 changed files
with
69 additions
and
39 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