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

SMHE-2164: Set watchdog value #1524

Merged
merged 10 commits into from
Feb 21, 2025
Merged

SMHE-2164: Set watchdog value #1524

merged 10 commits into from
Feb 21, 2025

Conversation

stefanermens
Copy link
Contributor

@stefanermens stefanermens commented Feb 10, 2025

This PR adds the generic SetSpecificAttributeValue function to GXF. With this function a value in the meter can be set. To avoid security issues, only a limited list of values can be set (at the moment only one: the watchdog timer).
The datatype of the value that is to be set, is checked against the information in the object config. Only if it matches, the set request is executed. For now, only integer values are supported.

Copy link
Contributor

@harrymiddelburgetall harrymiddelburgetall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost flawless implementation. Three minor comments and one comment on naming of the ObjectType type.

Signed-off-by: stefanermens <[email protected]>
@stefanermens stefanermens merged commit a92a8f4 into development Feb 21, 2025
9 checks passed
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.

2 participants