public static enum StpApi.ErrorCode extends java.lang.Enum<StpApi.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Impinj.STP.ErrorCode| Enum Constant and Description |
|---|
ERROR_CODE_COMMAND_REFUSED
State machine cannot accept the command at this time
|
ERROR_CODE_FIRMWARE_INVALID |
ERROR_CODE_INVALID_ADDRESS |
ERROR_CODE_INVALID_COMMAND |
ERROR_CODE_INVALID_GET_KEY |
ERROR_CODE_INVALID_SET_KEY |
ERROR_CODE_INVALID_VALUE
Generic for a value in a specific command or a SET command
|
ERROR_CODE_NETWORK_INIT
Failure when initializing the device network connection.
|
ERROR_CODE_NO_DEVICE_CONNECTION |
ERROR_CODE_NO_HANDSHAKE |
ERROR_CODE_SET_KEY_READ_ONLY |
ERROR_CODE_SUCCESS |
ERROR_CODE_UNSUPPORTED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_CODE_COMMAND_REFUSED_VALUE
State machine cannot accept the command at this time
|
static int |
ERROR_CODE_FIRMWARE_INVALID_VALUE |
static int |
ERROR_CODE_INVALID_ADDRESS_VALUE |
static int |
ERROR_CODE_INVALID_COMMAND_VALUE |
static int |
ERROR_CODE_INVALID_GET_KEY_VALUE |
static int |
ERROR_CODE_INVALID_SET_KEY_VALUE |
static int |
ERROR_CODE_INVALID_VALUE_VALUE
Generic for a value in a specific command or a SET command
|
static int |
ERROR_CODE_NETWORK_INIT_VALUE
Failure when initializing the device network connection.
|
static int |
ERROR_CODE_NO_DEVICE_CONNECTION_VALUE |
static int |
ERROR_CODE_NO_HANDSHAKE_VALUE |
static int |
ERROR_CODE_SET_KEY_READ_ONLY_VALUE |
static int |
ERROR_CODE_SUCCESS_VALUE |
static int |
ERROR_CODE_UNSUPPORTED_VALUE |
| 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<StpApi.ErrorCode> |
internalGetValueMap() |
static StpApi.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StpApi.ErrorCode |
valueOf(int value) |
static StpApi.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StpApi.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StpApi.ErrorCode ERROR_CODE_SUCCESS
public static final StpApi.ErrorCode ERROR_CODE_INVALID_COMMAND
public static final StpApi.ErrorCode ERROR_CODE_INVALID_SET_KEY
public static final StpApi.ErrorCode ERROR_CODE_INVALID_GET_KEY
public static final StpApi.ErrorCode ERROR_CODE_INVALID_ADDRESS
public static final StpApi.ErrorCode ERROR_CODE_INVALID_VALUE
public static final StpApi.ErrorCode ERROR_CODE_FIRMWARE_INVALID
public static final StpApi.ErrorCode ERROR_CODE_COMMAND_REFUSED
public static final StpApi.ErrorCode ERROR_CODE_SET_KEY_READ_ONLY
public static final StpApi.ErrorCode ERROR_CODE_NO_HANDSHAKE
public static final StpApi.ErrorCode ERROR_CODE_NO_DEVICE_CONNECTION
public static final StpApi.ErrorCode ERROR_CODE_UNSUPPORTED
public static final StpApi.ErrorCode ERROR_CODE_NETWORK_INIT
public static final int ERROR_CODE_SUCCESS_VALUE
public static final int ERROR_CODE_INVALID_COMMAND_VALUE
public static final int ERROR_CODE_INVALID_SET_KEY_VALUE
public static final int ERROR_CODE_INVALID_GET_KEY_VALUE
public static final int ERROR_CODE_INVALID_ADDRESS_VALUE
public static final int ERROR_CODE_INVALID_VALUE_VALUE
public static final int ERROR_CODE_FIRMWARE_INVALID_VALUE
public static final int ERROR_CODE_COMMAND_REFUSED_VALUE
public static final int ERROR_CODE_SET_KEY_READ_ONLY_VALUE
public static final int ERROR_CODE_NO_HANDSHAKE_VALUE
public static final int ERROR_CODE_NO_DEVICE_CONNECTION_VALUE
public static final int ERROR_CODE_UNSUPPORTED_VALUE
public static final int ERROR_CODE_NETWORK_INIT_VALUE
public static StpApi.ErrorCode[] values()
for (StpApi.ErrorCode c : StpApi.ErrorCode.values()) System.out.println(c);
public static StpApi.ErrorCode 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static StpApi.ErrorCode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<StpApi.ErrorCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StpApi.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)