mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-03 20:51:36 +00:00
ID:478 - ekanalyzer: Fixed decoding of FRU fields
Got rid of the field decoding code that was only capable of processing ASCII and binary fields, and switched to using get_fru_area_str() that can also decode BCDplus and 6-bit ASCII and maybe will eventually be enabled to decode Unicode text as well. This is the first step to completely get rid of the completely awfully written FRU data decoding functionality of ekanalyzer that essentially duplicates that of ipmi_fru.c module.
This commit is contained in:
@@ -614,5 +614,6 @@ typedef struct ipmi_fru_bloc {
|
||||
|
||||
int ipmi_fru_main(struct ipmi_intf *intf, int argc, char **argv);
|
||||
int ipmi_fru_print(struct ipmi_intf *intf, struct sdr_record_fru_locator *fru);
|
||||
char *get_fru_area_str(uint8_t *data, uint32_t *offset);
|
||||
|
||||
#endif /* IPMI_FRU_H */
|
||||
|
||||
Reference in New Issue
Block a user