Fix bug in FRU data processing logic

The logic assumed IPMI FRU data is encoded in ascii always, but the data
could be ascii or binary. Handle both encodings.

Change-Id: Ie89bb077fd32a23bb96bd4cda78b66d2ccdd9774
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
1 file changed
tree: 44292aec7a3743003be4a7a8074771249045fdc6
  1. scripts/
  2. .gitignore
  3. argument.cpp
  4. argument.hpp
  5. bootstrap.sh
  6. configure.ac
  7. fru-area.hpp
  8. frup.cpp
  9. frup.hpp
  10. LICENSE
  11. Makefile.am
  12. readeeprom.cpp
  13. README.md
  14. strgfnhandler.cpp
  15. writefrudata.cpp
  16. writefrudata.hpp
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.