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

Patient modal trigger #32

Open
Benhalor opened this issue Dec 29, 2020 · 2 comments
Open

Patient modal trigger #32

Benhalor opened this issue Dec 29, 2020 · 2 comments

Comments

@Benhalor
Copy link

The firmware should be able to trigger a modal on the UI asking the patient size

I think the best way to do that would be to use the serial protocol in revert mode :
1- the firmware sends a ControlAck for patient_size to the UI with value 0
2- The UI displays a modal asking for patient size
3- The user sets the patient size and click OK
4- The UI sends the patient size to the firmware

@dsferruzza
Copy link
Member

Maybe we should keep the current behavior of ControlAck (that is: to acknowledge any setting change asked by the UI), but we could totally introduce a new telemetry message for this usage, right?

@Benhalor
Copy link
Author

Yes that what I meant

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

No branches or pull requests

2 participants