Expand description
Platform Level Data Model (PLDM) base protocol support
This crate implements some base communication primitives for PLDM, used to construct higher-level PLDM messaging applications.
Modules§
- util
- Helper functions
Macros§
- proto_
error - Create a
PldmError::Protocol
from a message and optional description.
Structs§
- Pldm
Request - Base PLDM request type
- Pldm
Response - Base PLDM response type
Enums§
- CCode
- Pldm
Error - Generic PLDM error type
- Pldm
Message - Represents either a PLDM request or response message
Constants§
- PLDM_
MAX_ MSGSIZE - Maximum size of a PLDM message, defining our buffer sizes.
Functions§
- pldm_
rx_ req - Receive an incoming PLDM request.
- pldm_
rx_ req_ borrowed - Receive an incoming PLDM request in a borrowed buffer.
- pldm_
rx_ resp_ borrowed - Receive an incoming PLDM response in a borrowed buffer.
- pldm_
tx_ req - Transmit an outgoing PLDM request
- pldm_
tx_ resp - Transmit an outgoing PLDM response
- pldm_
xfer - Main PLDM transfer operation.
- pldm_
xfer_ buf - Main PLDM transfer operation.
Type Aliases§
- Result
- PLDM protocol return type