public enum CommonCommand extends java.lang.Enum<CommonCommand> implements BaseEnum, Command
Modifier and Type | Method and Description |
---|---|
static CommonCommand |
getEnum(byte[] data) |
byte[] |
getID() |
CommonCommand |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static CommonCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommonCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonCommand REF
public static final CommonCommand NO_RESPONSE
public static final CommonCommand GET_VERSION_REQ
public static final CommonCommand GET_VERSION_RES
public static final CommonCommand START_SENSOR_REQ
public static final CommonCommand START_SENSOR_RES
public static final CommonCommand STOP_SENSOR_REQ
public static final CommonCommand STOP_SENSOR_RES
public static final CommonCommand SUBSCRIBE_STREAM_REQ
public static final CommonCommand SUBSCRIBE_STREAM_RES
public static final CommonCommand UNSUBSCRIBE_STREAM_REQ
public static final CommonCommand UNSUBSCRIBE_STREAM_RES
public static final CommonCommand GET_SENSOR_STATUS_REQ
public static final CommonCommand GET_SENSOR_STATUS_RES
public static final CommonCommand GET_LCFG_REQ
public static final CommonCommand GET_LCFG_RES
public static final CommonCommand SET_LCFG_REQ
public static final CommonCommand SET_LCFG_RES
public static final CommonCommand READ_LCFG_REQ
public static final CommonCommand READ_LCFG_RES
public static final CommonCommand WRITE_LCFG_REQ
public static final CommonCommand WRITE_LCFG_RES
public static final CommonCommand PING_REQ
public static final CommonCommand PING_RES
public static final CommonCommand ALARM_NOTIFICATION
public static final CommonCommand REGISTER_READ_REQ
public static final CommonCommand REGISTER_READ_RES
public static final CommonCommand REGISTER_WRITE_REQ
public static final CommonCommand REGISTER_WRITE_RES
public static final CommonCommand GET_DCFG_REQ
public static final CommonCommand GET_DCFG_RES
public static final CommonCommand STREAM_DATA
public static final CommonCommand GET_STREAM_DEC_FACTOR_REQ
public static final CommonCommand GET_STREAM_DEC_FACTOR_RES
public static final CommonCommand SET_STREAM_DEC_FACTOR_REQ
public static final CommonCommand SET_STREAM_DEC_FACTOR_RES
public static final CommonCommand REGISTER_READ_32_REQ
public static final CommonCommand REGISTER_READ_32_RES
public static final CommonCommand REGISTER_WRITE_32_REQ
public static final CommonCommand REGISTER_WRITE_32_RES
public static final CommonCommand HIGHEST
public static CommonCommand[] values()
for (CommonCommand c : CommonCommand.values()) System.out.println(c);
public static CommonCommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CommonCommand getEnum(byte[] data)
public CommonCommand getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public byte[] getID()
public java.lang.String toString()
toString
in class java.lang.Enum<CommonCommand>