Skip to content

tools: ota_update: improve edge case handling - #164

Merged
JordanYates merged 3 commits into
mainfrom
feature/stability_improve
Aug 2, 2026
Merged

tools: ota_update: improve edge case handling#164
JordanYates merged 3 commits into
mainfrom
feature/stability_improve

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

Improve handling of edge cases where the cloud server fails to respond, etc.

Detect and handle the case where the device key cannot be retrieved from
the database. This prevents the gateway from crashing when the retrieval
fails.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Proactively query device key when connecting to a device if it is not
already known. This fixes tools that don't need the command
characteristic (e.g. bt_log) to still be able to decode device key
authorised packets.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Don't exit the program if the time set fails. Instead terminate the
connection and continue scanning for other devices.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates force-pushed the feature/stability_improve branch from d159e7a to 3863836 Compare August 2, 2026 00:34
@JordanYates
JordanYates merged commit 3677796 into main Aug 2, 2026
7 checks passed
@JordanYates
JordanYates deleted the feature/stability_improve branch August 2, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant