Skip to content

Fix oem_file_classification_name field, add AsciiString and Timestamp handling #23

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

Merged
merged 4 commits into from
Aug 4, 2025

Conversation

mkj
Copy link
Member

@mkj mkj commented Aug 1, 2025

This fixes the File Descriptor response message format, as well as adding some convenience functions for displaying the filename.

@mkj mkj requested a review from jk-ozlabs August 1, 2025 08:19
mkj added 2 commits August 1, 2025 18:23
This is a fixed length null terminated string for encoding/decoding
PDRs, wrapping the underlying VecWrap bytes.

Signed-off-by: Matt Johnston <[email protected]>
This adds Eq comparison and other common traits to the protocol structs.

Signed-off-by: Matt Johnston <[email protected]>
mkj added 2 commits August 4, 2025 15:39
The length field is now omitted entirely when oem_classification is set
to 0. Previously in that case length was included and set to zero, which
is not the correct message format.

The name field is renamed from oem_file_name to
oem_file_classification_name, and is now an Option.

Signed-off-by: Matt Johnston <[email protected]>
The PLDM file host example now sets updateTime to the local time
for testing purposes.

Signed-off-by: Matt Johnston <[email protected]>
@mkj mkj merged commit 8051f2e into CodeConstruct:main Aug 4, 2025
3 checks passed
@mkj mkj deleted the oem-filename branch August 4, 2025 07:47
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.

1 participant