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

Status handling #35

Open
bilderbuchi opened this issue Jan 31, 2023 · 0 comments
Open

Status handling #35

bilderbuchi opened this issue Jan 31, 2023 · 0 comments
Labels
components Concerning the individual entity types comprising ECP discussion-needed A solution still needs to be determined

Comments

@bilderbuchi
Copy link
Member

It's important to know what state Components are in, e.g. for error handling & recorvery, communication speed back-off, enable "state" handling, information, etc.

I think we should first collect Status/error states that we want do specify for Components (all_good, connection_congested, connection_dead, device_errored,...). This is also something that could be returned on receiving a STATUS request.

Then, we should decide how to represent them (a status and an error registry (cf. SCPI)? both fused into one? Bitmask/enum to represent them efficiently?)

Then, we should discuss how much of the behaviour in the different states and the ways to transition between them we prescribe (the "Status" state machine), and howm uch we leave to implementations.

Originally posted by @bilderbuchi in #4 (comment)

@bilderbuchi bilderbuchi added components Concerning the individual entity types comprising ECP discussion-needed A solution still needs to be determined labels Jan 31, 2023
@bklebel bklebel mentioned this issue Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Concerning the individual entity types comprising ECP discussion-needed A solution still needs to be determined
Projects
None yet
Development

No branches or pull requests

1 participant