com.github.pires.obd.commands.protocol.OdbRawCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obd-java-api Show documentation
Show all versions of obd-java-api Show documentation
OBD Java API compatible with ELM327.
package com.github.pires.obd.commands.protocol;
/**
* This class allows for an unspecified command to be sent.
*
* @author pires
* @version $Id: $Id
*/
public class OdbRawCommand extends ObdProtocolCommand {
/**
* Constructor for OdbRawCommand.
*
* @param command a {@link java.lang.String} object.
*/
public OdbRawCommand(String command) {
super(command);
}
/** {@inheritDoc} */
@Override
public String getFormattedResult() {
return getResult();
}
/** {@inheritDoc} */
@Override
public String getName() {
return "Custom command " + getCommandPID();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy