summaryrefslogtreecommitdiffstats
path: root/occ_finder.hpp
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-05-19 19:58:01 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-05-19 19:58:01 +0530
commit7d700e266a6d0de2f4275f09953f6cb65d7ce2d5 (patch)
tree63a9c4ce798888b8f3f3cfd54cee1a59423a15b1 /occ_finder.hpp
parent9bb065b8fe80b329b4321085523dafbeb64b64f9 (diff)
downloadopenpower-occ-control-7d700e266a6d0de2f4275f09953f6cb65d7ce2d5.tar.gz
openpower-occ-control-7d700e266a6d0de2f4275f09953f6cb65d7ce2d5.zip
Fix data format used in OCC communication
Amester and OCC understand only the sequence that is in bytes. Current OCC pass-through was sending chunk of 4 bytes and that was breaking the protocol. Since the REST server only handles 4 bytes, OCC pass-through needs to convert array of 4 bytes into array of 2 bytes prior to sending to OCC driver. Similarly, pass-through reader now needs to read one byte at a time than 4 bytes. Change-Id: Ifc24636f6b1dfb0cc0052362d2982ecfa652fec5 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'occ_finder.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud