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

[1.3] RVC example app - Handle new pause-compatible and resume-compatible states. #30796

Closed
4 tasks done
hicklin opened this issue Dec 4, 2023 · 0 comments · Fixed by #30963
Closed
4 tasks done

[1.3] RVC example app - Handle new pause-compatible and resume-compatible states. #30796

hicklin opened this issue Dec 4, 2023 · 0 comments · Fixed by #30963
Assignees
Labels
app-clusters Application cluster work examples

Comments

@hicklin
Copy link
Contributor

hicklin commented Dec 4, 2023

Following the changes in PR #30795, update the rvc-app example to handle the Pause and Resume commands for the new pause-compatible and resume-compatible states.

Tasks include

  • Add mPausedState variable to keep track of the state that was pause and the state that device should go to when it is resumed.
  • Update the RvcDevice::HandleOpStatePauseCallback to handle this command base on the device's state and set the mPausedState variable before changing the state to paused.
  • Update the RvcDevice::HandleOpStateResumeCallback to change the state to the appropriate state base on the mPausedState variable.
  • Update the sate machine diagram.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-clusters Application cluster work examples
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants