-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lib: aws_fota: Improve error handling for FOTA jobs
Improves error handling by providing more fine grained errors on job parsing. Jobs are now marked as failed if document is invalid but the job id could be parsed. A new error state is introduced to enable retries for marking jobs as failed. Additionally, the job update accepted/rejected topics are now longer subscribed to, as this is not necessary to receive the respective messages and thus adds unnecessary overhead. Signed-off-by: Fabian Nawratil <fabian.nawratil@nordicsemi.no>
- Loading branch information
Showing
5 changed files
with
165 additions
and
143 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.