public static enum Ola.RDMResponseCode extends Enum<Ola.RDMResponseCode> implements com.google.protobuf.ProtocolMessageEnum
ola.proto.RDMResponseCode
If you add more here be sure to update ResponseCodeToString in RDMHelper.cpp
Enum Constant and Description |
---|
RDM_CHECKSUM_INCORRECT
RDM_CHECKSUM_INCORRECT = 6; |
RDM_COMMAND_CLASS_MISMATCH
RDM_COMMAND_CLASS_MISMATCH = 16; |
RDM_COMPLETED_OK
RDM_COMPLETED_OK = 0; |
RDM_DEST_UID_MISMATCH
RDM_DEST_UID_MISMATCH = 10; |
RDM_DUB_RESPONSE
RDM_DUB_RESPONSE = 19; |
RDM_FAILED_TO_SEND
RDM_FAILED_TO_SEND = 2; |
RDM_INVALID_COMMAND_CLASS
RDM_INVALID_COMMAND_CLASS = 15; |
RDM_INVALID_RESPONSE
RDM_INVALID_RESPONSE = 4; |
RDM_INVALID_RESPONSE_TYPE
RDM_INVALID_RESPONSE_TYPE = 17; |
RDM_PACKET_LENGTH_MISMATCH
RDM_PACKET_LENGTH_MISMATCH = 13; |
RDM_PACKET_TOO_SHORT
RDM_PACKET_TOO_SHORT = 12; |
RDM_PARAM_LENGTH_MISMATCH
RDM_PARAM_LENGTH_MISMATCH = 14; |
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED = 18; |
RDM_SRC_UID_MISMATCH
RDM_SRC_UID_MISMATCH = 9; |
RDM_SUB_DEVICE_MISMATCH
RDM_SUB_DEVICE_MISMATCH = 8; |
RDM_TIMEOUT
RDM_TIMEOUT = 3; |
RDM_TRANSACTION_MISMATCH
RDM_TRANSACTION_MISMATCH = 7; |
RDM_UNKNOWN_UID
RDM_UNKNOWN_UID = 5; |
RDM_WAS_BROADCAST
RDM_WAS_BROADCAST = 1; |
RDM_WRONG_SUB_START_CODE
RDM_WRONG_SUB_START_CODE = 11; |
Modifier and Type | Field and Description |
---|---|
static int |
RDM_CHECKSUM_INCORRECT_VALUE
RDM_CHECKSUM_INCORRECT = 6; |
static int |
RDM_COMMAND_CLASS_MISMATCH_VALUE
RDM_COMMAND_CLASS_MISMATCH = 16; |
static int |
RDM_COMPLETED_OK_VALUE
RDM_COMPLETED_OK = 0; |
static int |
RDM_DEST_UID_MISMATCH_VALUE
RDM_DEST_UID_MISMATCH = 10; |
static int |
RDM_DUB_RESPONSE_VALUE
RDM_DUB_RESPONSE = 19; |
static int |
RDM_FAILED_TO_SEND_VALUE
RDM_FAILED_TO_SEND = 2; |
static int |
RDM_INVALID_COMMAND_CLASS_VALUE
RDM_INVALID_COMMAND_CLASS = 15; |
static int |
RDM_INVALID_RESPONSE_TYPE_VALUE
RDM_INVALID_RESPONSE_TYPE = 17; |
static int |
RDM_INVALID_RESPONSE_VALUE
RDM_INVALID_RESPONSE = 4; |
static int |
RDM_PACKET_LENGTH_MISMATCH_VALUE
RDM_PACKET_LENGTH_MISMATCH = 13; |
static int |
RDM_PACKET_TOO_SHORT_VALUE
RDM_PACKET_TOO_SHORT = 12; |
static int |
RDM_PARAM_LENGTH_MISMATCH_VALUE
RDM_PARAM_LENGTH_MISMATCH = 14; |
static int |
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED_VALUE
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED = 18; |
static int |
RDM_SRC_UID_MISMATCH_VALUE
RDM_SRC_UID_MISMATCH = 9; |
static int |
RDM_SUB_DEVICE_MISMATCH_VALUE
RDM_SUB_DEVICE_MISMATCH = 8; |
static int |
RDM_TIMEOUT_VALUE
RDM_TIMEOUT = 3; |
static int |
RDM_TRANSACTION_MISMATCH_VALUE
RDM_TRANSACTION_MISMATCH = 7; |
static int |
RDM_UNKNOWN_UID_VALUE
RDM_UNKNOWN_UID = 5; |
static int |
RDM_WAS_BROADCAST_VALUE
RDM_WAS_BROADCAST = 1; |
static int |
RDM_WRONG_SUB_START_CODE_VALUE
RDM_WRONG_SUB_START_CODE = 11; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Ola.RDMResponseCode> |
internalGetValueMap() |
static Ola.RDMResponseCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Ola.RDMResponseCode |
valueOf(int value) |
static Ola.RDMResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ola.RDMResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ola.RDMResponseCode RDM_COMPLETED_OK
RDM_COMPLETED_OK = 0;
The request/response completed correctly
public static final Ola.RDMResponseCode RDM_WAS_BROADCAST
RDM_WAS_BROADCAST = 1;
The request was broadcast, no respone expected
public static final Ola.RDMResponseCode RDM_FAILED_TO_SEND
RDM_FAILED_TO_SEND = 2;
We failed to send this request
public static final Ola.RDMResponseCode RDM_TIMEOUT
RDM_TIMEOUT = 3;
The response timed out
public static final Ola.RDMResponseCode RDM_INVALID_RESPONSE
RDM_INVALID_RESPONSE = 4;
The response was invalid
public static final Ola.RDMResponseCode RDM_UNKNOWN_UID
RDM_UNKNOWN_UID = 5;
The UID could not be located (may have been removed)
public static final Ola.RDMResponseCode RDM_CHECKSUM_INCORRECT
RDM_CHECKSUM_INCORRECT = 6;
The response checksum was wrong
public static final Ola.RDMResponseCode RDM_TRANSACTION_MISMATCH
RDM_TRANSACTION_MISMATCH = 7;
Invalid transaction number
public static final Ola.RDMResponseCode RDM_SUB_DEVICE_MISMATCH
RDM_SUB_DEVICE_MISMATCH = 8;
Wrong sub device
public static final Ola.RDMResponseCode RDM_SRC_UID_MISMATCH
RDM_SRC_UID_MISMATCH = 9;
Source UID in response doesn't match
public static final Ola.RDMResponseCode RDM_DEST_UID_MISMATCH
RDM_DEST_UID_MISMATCH = 10;
Destination UID in response doesn't match
public static final Ola.RDMResponseCode RDM_WRONG_SUB_START_CODE
RDM_WRONG_SUB_START_CODE = 11;
Incorrect sub start code
public static final Ola.RDMResponseCode RDM_PACKET_TOO_SHORT
RDM_PACKET_TOO_SHORT = 12;
RDM response was smaller than the minimum size
public static final Ola.RDMResponseCode RDM_PACKET_LENGTH_MISMATCH
RDM_PACKET_LENGTH_MISMATCH = 13;
The length field of packet didn't match length received
public static final Ola.RDMResponseCode RDM_PARAM_LENGTH_MISMATCH
RDM_PARAM_LENGTH_MISMATCH = 14;
The parameter length exceeds the remaining packet size
public static final Ola.RDMResponseCode RDM_INVALID_COMMAND_CLASS
RDM_INVALID_COMMAND_CLASS = 15;
The command class was not one of GET_RESPONSE or SET_RESPONSE
public static final Ola.RDMResponseCode RDM_COMMAND_CLASS_MISMATCH
RDM_COMMAND_CLASS_MISMATCH = 16;
The command class didn't match the request
public static final Ola.RDMResponseCode RDM_INVALID_RESPONSE_TYPE
RDM_INVALID_RESPONSE_TYPE = 17;
The response type was not ACK, ACK_OVERFLOW, ACK_TIMER or NACK
public static final Ola.RDMResponseCode RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED = 18;
The discovery command class is not supported by this device. This typically means the hardware doesn't support discovery commands.
public static final Ola.RDMResponseCode RDM_DUB_RESPONSE
RDM_DUB_RESPONSE = 19;
Responses to DUB commands, these responses won't have a defined RDM message, but rather just a string of bytes from the wire.
public static final int RDM_COMPLETED_OK_VALUE
RDM_COMPLETED_OK = 0;
The request/response completed correctly
public static final int RDM_WAS_BROADCAST_VALUE
RDM_WAS_BROADCAST = 1;
The request was broadcast, no respone expected
public static final int RDM_FAILED_TO_SEND_VALUE
RDM_FAILED_TO_SEND = 2;
We failed to send this request
public static final int RDM_TIMEOUT_VALUE
RDM_TIMEOUT = 3;
The response timed out
public static final int RDM_INVALID_RESPONSE_VALUE
RDM_INVALID_RESPONSE = 4;
The response was invalid
public static final int RDM_UNKNOWN_UID_VALUE
RDM_UNKNOWN_UID = 5;
The UID could not be located (may have been removed)
public static final int RDM_CHECKSUM_INCORRECT_VALUE
RDM_CHECKSUM_INCORRECT = 6;
The response checksum was wrong
public static final int RDM_TRANSACTION_MISMATCH_VALUE
RDM_TRANSACTION_MISMATCH = 7;
Invalid transaction number
public static final int RDM_SUB_DEVICE_MISMATCH_VALUE
RDM_SUB_DEVICE_MISMATCH = 8;
Wrong sub device
public static final int RDM_SRC_UID_MISMATCH_VALUE
RDM_SRC_UID_MISMATCH = 9;
Source UID in response doesn't match
public static final int RDM_DEST_UID_MISMATCH_VALUE
RDM_DEST_UID_MISMATCH = 10;
Destination UID in response doesn't match
public static final int RDM_WRONG_SUB_START_CODE_VALUE
RDM_WRONG_SUB_START_CODE = 11;
Incorrect sub start code
public static final int RDM_PACKET_TOO_SHORT_VALUE
RDM_PACKET_TOO_SHORT = 12;
RDM response was smaller than the minimum size
public static final int RDM_PACKET_LENGTH_MISMATCH_VALUE
RDM_PACKET_LENGTH_MISMATCH = 13;
The length field of packet didn't match length received
public static final int RDM_PARAM_LENGTH_MISMATCH_VALUE
RDM_PARAM_LENGTH_MISMATCH = 14;
The parameter length exceeds the remaining packet size
public static final int RDM_INVALID_COMMAND_CLASS_VALUE
RDM_INVALID_COMMAND_CLASS = 15;
The command class was not one of GET_RESPONSE or SET_RESPONSE
public static final int RDM_COMMAND_CLASS_MISMATCH_VALUE
RDM_COMMAND_CLASS_MISMATCH = 16;
The command class didn't match the request
public static final int RDM_INVALID_RESPONSE_TYPE_VALUE
RDM_INVALID_RESPONSE_TYPE = 17;
The response type was not ACK, ACK_OVERFLOW, ACK_TIMER or NACK
public static final int RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED_VALUE
RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED = 18;
The discovery command class is not supported by this device. This typically means the hardware doesn't support discovery commands.
public static final int RDM_DUB_RESPONSE_VALUE
RDM_DUB_RESPONSE = 19;
Responses to DUB commands, these responses won't have a defined RDM message, but rather just a string of bytes from the wire.
public static Ola.RDMResponseCode[] values()
for (Ola.RDMResponseCode c : Ola.RDMResponseCode.values()) System.out.println(c);
public static Ola.RDMResponseCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static Ola.RDMResponseCode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Ola.RDMResponseCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Ola.RDMResponseCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016. All rights reserved.