pldmtool: GetPLDMCommands: Support more PLDM Base command numbers
Add more supported PLDM Base command numbers in table "Table 7 - PLDM
Messaging Control and Discovery Command Codes" of DSP0240 V1.2.0 when
`GetPLDMCommands` is called.
Change-Id: I63a326594b3d5e9ed3fb435746dc07d1b84cbf19
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
diff --git a/pldmtool/pldm_base_cmd.cpp b/pldmtool/pldm_base_cmd.cpp
index 4a3ae88..2acbbe1 100644
--- a/pldmtool/pldm_base_cmd.cpp
+++ b/pldmtool/pldm_base_cmd.cpp
@@ -32,10 +32,16 @@
};
const std::map<const char*, pldm_supported_commands> pldmBaseCmds{
+ {"SetTID", PLDM_SET_TID},
{"GetTID", PLDM_GET_TID},
{"GetPLDMVersion", PLDM_GET_PLDM_VERSION},
{"GetPLDMTypes", PLDM_GET_PLDM_TYPES},
- {"GetPLDMCommands", PLDM_GET_PLDM_COMMANDS}};
+ {"GetPLDMCommands", PLDM_GET_PLDM_COMMANDS},
+ {"SelectPLDMVersion", PLDM_SELECT_PLDM_VERSION},
+ {"NegotiateTransferParameters", PLDM_NEGOTIATE_TRANSFER_PARAMETERS},
+ {"MultipartSend", PLDM_MULTIPART_SEND},
+ {"MultipartReceive", PLDM_MULTIPART_RECEIVE},
+ {"GetMultipartTransferSupport", PLDM_GET_MULTIPART_TRANSFER_SUPPORT}};
const std::map<const char*, pldm_bios_commands> pldmBiosCmds{
{"GetBIOSTable", PLDM_GET_BIOS_TABLE},