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

Fix #53, generate padding in JSON correctly #54

Merged
merged 1 commit into from
May 4, 2023

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented May 2, 2023

Describe the contribution
Handle EDS "PaddingEntry" elements in containers. In this case the member has no type, and should be translated to an array of uint8 values of the appropriate size.

Testing performed
Generate JSON from EDS

Expected behavior changes
Injects "Spare" bytes where required to compensate for padding.

System(s) tested on
Debian

Additional context
The CTF tool appears to actually assign values to spare fields, so the name "Spare" is important.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the CCB:Ready Pull request is ready for CCB discussion label May 2, 2023
In this case the member has no type, and should be translated to an
array of uint8 values of the appropriate size.
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for CCB discussion labels May 4, 2023
@dzbaker dzbaker merged commit fd91c41 into nasa:main May 4, 2023
@jphickey jphickey deleted the fix-53-padding branch October 6, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants