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

Add message for reading the Lock State of the system #191

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

labbott
Copy link
Contributor

@labbott labbott commented Feb 6, 2024

Right now this is just the VPD state

@jgallagher
Copy link
Collaborator

With apologies for the tedium, before we merge this could you bump the version number and add backwards-compatibility unit tests? (#116 and #121 are the two most recent version bumps that did this)

@labbott
Copy link
Contributor Author

labbott commented Feb 6, 2024

With apologies for the tedium, before we merge this could you bump the version number and add backwards-compatibility unit tests? (#116 and #121 are the two most recent version bumps that did this)

Thanks for the reminder, once we've confirmed this is the right API I'll update the version and unit tests accordingly

gateway-messages/tests/versioning/v11.rs Outdated Show resolved Hide resolved
use gateway_messages::SerializedSize;
use gateway_messages::SpResponse;

#[test]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you add a test for the new SpError::Vpd(VpdError::*) variants too? Should be basically the same as the SprotError tests I think.

The lock information is returned as an array of trailing data.
@labbott labbott merged commit e727e96 into main Feb 28, 2024
10 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