Skip to content

tools: ota_upgrade: fix & improve large copies - #162

Merged
JordanYates merged 3 commits into
mainfrom
feature/ota_update_time
Jul 30, 2026
Merged

tools: ota_upgrade: fix & improve large copies#162
JordanYates merged 3 commits into
mainfrom
feature/ota_update_time

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

Unlike run_file_upload, the client timeout associated with run_file_copy needs to be large enough to contain the entire copy process, as the local gateway manages the copy itself.

Ensure that the local gateways and remote devices have synchronised times before starting the upgrade process. This ensures time isn't wasted by regenerating interface keys on each packet.

Use the response bytes object directly in a callback, instead of
manually reconstructing it from a different argument.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Ensure that the local gateways and remote devices have synchronised
times before starting the upgrade process. This ensures time isn't
wasted by regenerating interface keys on each packet.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Unlike `run_file_upload`, the client timeout associated with
`run_file_copy` needs to be large enough to contain the entire copy
process, as the local gateway manages the copy itself.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates force-pushed the feature/ota_update_time branch from 9192bda to b0d1481 Compare July 30, 2026 06:05
@JordanYates
JordanYates merged commit 874f8d4 into main Jul 30, 2026
7 checks passed
@JordanYates
JordanYates deleted the feature/ota_update_time branch July 30, 2026 06:13
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