/** * verifies the heat pump response after data has been updated * * @param response of heat pump * @return true if data set has been confirmed */ public boolean setDataCheck(byte[] response) { try { verifyHeader(response); } catch (StiebelHeatPumpException e) { return false; } return true; }
/** * verifies the header of the heat pump response * * @param response of heat pump * @return true if header is valid */ public boolean headerCheck(byte[] response) { try { verifyHeader(response); } catch (StiebelHeatPumpException e) { logger.debug("verification of response failed " + e.toString()); return false; } return true; }