Skip to content

tools: ota_upgrade: improvements - #163

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

tools: ota_upgrade: improvements#163
JordanYates merged 4 commits into
mainfrom
feature/ota_update_time

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

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.

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.

Include the key IDs in the information reported to the database when
peeling through packets. This fixes the database rarely not knowing the
devices network ID after a connection has been established, if both
gateway and device are on the same network.

Signed-off-by: Jordan Yates <jordan@embeint.com>
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 merged commit 191a739 into main Jul 30, 2026
7 checks passed
@JordanYates
JordanYates deleted the feature/ota_update_time branch July 30, 2026 07:46
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