com.github.pires.obd.commands.protocol.ObdRawCommand 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.
*/
public class ObdRawCommand extends ObdProtocolCommand {
/**
* Constructor for ObdRawCommand.
*
* @param command a {@link java.lang.String} object.
*/
public ObdRawCommand(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