Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ota-requestor-app] Verify QueryImageResponse command #9524

Closed
holbrookt opened this issue Sep 7, 2021 · 1 comment · Fixed by #13770
Closed

[ota-requestor-app] Verify QueryImageResponse command #9524

holbrookt opened this issue Sep 7, 2021 · 1 comment · Fixed by #13770

Comments

@holbrookt
Copy link
Contributor

holbrookt commented Sep 7, 2021

Problem

ota-requestor-app does not verify the contents of the QueryImageResponse command.

Proposed Solution

At the very least, it should:

  • react to different values of Status (UpdateAvailable, Busy, NotAvailable) - reference 11.20.3.2 Querying the OTA Provider
  • if UpdateAvailable:
  • If Busy
    • Emit next query - longest of either 2 minutes from the last QueryImage command or delay specified in DelayedActionTime field
  • If NotAvailable
    • Emit next query - longest of either 2 minutes from the last QueryImage command or delay specified in DelayedActionTime field

Verification of other fields can be added later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants