com.github.pires.obd.commands.protocol.AvailablePidsCommand 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;
import com.github.pires.obd.commands.PersistentCommand;
import com.github.pires.obd.enums.AvailableCommandNames;
/**
* Retrieve available PIDs.
*/
public class AvailablePidsCommand extends PersistentCommand {
/**
* Default ctor.
*/
public AvailablePidsCommand() {
super("01 00");
}
/**
* Copy ctor.
*
* @param other a {@link AvailablePidsCommand} object.
*/
public AvailablePidsCommand(AvailablePidsCommand other) {
super(other);
}
@Override
protected void performCalculations() {
}
@Override
public String getName() {
return AvailableCommandNames.PIDS.getValue();
}
@Override
public String getFormattedResult() {
return getCalculatedResult();
}
@Override
public String getCalculatedResult() {
return String.valueOf(rawData);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy