Home
last modified time | relevance | path

Searched hist:"71689 b8ba313755077b102bb8d01ccb7ab0cbd48" (Results 1 – 1 of 1) sorted by relevance

/openbmc/pldm/pldmtool/
H A Dpldm_fru_cmd.cppdiff 71689b8ba313755077b102bb8d01ccb7ab0cbd48 Thu Apr 27 21:45:04 CDT 2023 Potin Lai <potin.lai@quantatw.com> pldmtool: fix GetFruRecordTable request fail

1. Use PLDM_GET_FIRSTPART for TransferOperationFlag to fix request
failed due to CC code 0x81 (INVALID_TRANSFER_OPERATION_FLAG).
2. Move fruFieldValuestring() to else part to avoid IANA print issue.

Tested result:
```
[
[
{
"FRU Record Set Identifier": 1,
"FRU Record Type": "General(1)",
"Number of FRU fields": 11,
"Encoding Type for FRU fields": "ASCII(1)"
},

......

{
"FRU Field Type": "Vendor IANA(15)",
"FRU Field Length": 4,
"FRU Field Value": "33049"
}
]
]
```

Change-Id: I1a711ee05c49e35cb76c104ab9b11b5b1ac97118
Signed-off-by: Potin Lai <potin.lai@quantatw.com>