/** * Reads the OBD-II response. * <p> * This method may be overriden in subclasses, such as ObdMultiCommand. * * @param in a {@link java.io.InputStream} object. * @throws java.io.IOException if any. */ protected void readResult(InputStream in) throws IOException { readRawData(in); checkForErrors(); fillBuffer(); performCalculations(); }