All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.pires.obd.commands.protocol.DescribeProtocolCommand Maven / Gradle / Ivy

There is a newer version: 1.0
Show newest version
package com.github.pires.obd.commands.protocol;

import com.github.pires.obd.enums.AvailableCommandNames;

/**
 * Describe the current Protocol.
 * If a protocol is chosen and the automatic option is
 * also selected, AT DP will show the word 'AUTO' before
 * the protocol description. Note that the description
 * shows the actual protocol names, not the numbers
 * used by the protocol setting commands.
 *
 * @author pires
 * @version $Id: $Id
 * @since 1.0-RC12
 */
public class DescribeProtocolCommand extends ObdProtocolCommand {

    /**
     * 

Constructor for DescribeProtocolCommand.

*/ public DescribeProtocolCommand() { super("AT DP"); } /** {@inheritDoc} */ @Override public String getFormattedResult() { return getResult(); } /** {@inheritDoc} */ @Override public String getName() { return AvailableCommandNames.DESCRIBE_PROTOCOL.getValue(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy