io.stepfunc.rodbus.AppDecodeLevel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rodbus Show documentation
Show all versions of rodbus Show documentation
Safe and fast Modbus library
// This library is provided under the terms of a non-commercial license.
//
// Please refer to the source repository for details:
//
// https://github.com/stepfunc/rodbus/blob/master/LICENSE.txt
//
// Please contact Step Function I/O if you are interested in commercial license:
//
// [email protected]
package io.stepfunc.rodbus;
import org.joou.*;
/**
* Controls how transmitted and received message at the application layer are decoded at the INFO log level
*
* Application-layer messages are referred to as Protocol Data Units (PDUs) in the specification.
*/
public enum AppDecodeLevel
{
/**
* Decode nothing
*/
NOTHING(0),
/**
* Decode the function code only
*/
FUNCTION_CODE(1),
/**
* Decode the function code and the general description of the data
*/
DATA_HEADERS(2),
/**
* Decode the function code, the general description of the data and the actual data values
*/
DATA_VALUES(3),;
final private int value;
private AppDecodeLevel(int value)
{
this.value = value;
}
}