21#define PLDM_MESSAGE_HEADER_VERSION 0
42#define PLDM_MESSAGE_HEADER_IS_REQUEST 1
43#define PLDM_MESSAGE_HEADER_IS_RESPONSE 0
44#define PLDM_MESSAGE_HEADER_IS_DATAGRAM 1
45#define PLDM_MESSAGE_HEADER_INSTANCE_ID_MASK 0x1f
54#define PLDM_HEADER_VERSION 0x00
56#define PLDM_COMPLETION_CODE_SUCCESS 0x00
57#define PLDM_COMPLETION_CODE_ERROR 0x01
58#define PLDM_COMPLETION_CODE_ERROR_INVALID_DATA 0x02
59#define PLDM_COMPLETION_CODE_ERROR_INVALID_LENGTH 0x03
60#define PLDM_COMPLETION_CODE_ERROR_NOT_READY 0x04
61#define PLDM_COMPLETION_CODE_ERROR_UNSUPPORTED_PLDM_CMD 0x05
62#define PLDM_COMPLETION_CODE_ERROR_INVALID_PLDM_TYPE 0x20
63#define PLDM_COMPLETION_CODE_SPECIFIC_START 0x80
64#define PLDM_COMPLETION_CODE_SPECIFIC_END 0xff
71#define PLDM_TYPE_MESSAGE_CONTROL_AND_DISCOVERY 0x00
72#define PLDM_TYPE_SMBIOS 0x01
73#define PLDM_TYPE_PLATFORM_MONITORING_AND_CONTROL 0x02
74#define PLDM_TYPE_BIOS_CONTROL_AND_CONFIGURATION 0x03
76#define PLDM_TRANSFER_FLAG_START 0x01
77#define PLDM_TRANSFER_FLAG_MIDDLE 0x02
78#define PLDM_TRANSFER_FLAG_END 0x04
79#define PLDM_TRANSFER_FLAG_START_AND_END 0x05
81#define PLDM_TRANSFER_OPERATION_FLAG_GET_NEXT_PART 0x00
82#define PLDM_TRANSFER_OPERATION_FLAG_GET_FIRST_PART 0x01
UINT8 RequestBit
Request bit.
UINT8 HeaderVersion
Header version.
UINT8 Reserved
Reserved bit.
UINT8 PldmTypeCommandCode
The command code of PLDM message type.
UINT8 InstanceId
Request instance ID.
UINT8 PldmType
PLDM message type.
UINT8 PldmCompletionCode
PLDM completion of response message.