public enum SerialCommResults extends java.lang.Enum<SerialCommResults>
| Enum Constant and Description | 
|---|
ALREADY_ENABLED
The communication channel is already enabled. 
 | 
COMM_PORT_IN_USE
The serial communication port is already used by other instance. 
 | 
DATA_SIZE_TOO_LARGE
The number of bytes to write can't exceed maximum limit(4096 Bytes). 
 | 
DEVICE_NOT_CONNECTED
The remote device is not connected or attached to the mobile device. 
 | 
DEVICE_NOT_READY
Serial port is not ready to use. 
 | 
EMDK_NOT_OPENED
EMDK is not opened 
 | 
FAILURE
Failure 
 | 
FEATURE_NOT_SUPPORTED
The feature is not supported. 
 | 
INVALID_OBJECT
The object is not valid. 
 | 
INVALID_VALUE
Invalid value. 
 | 
NOT_ENABLED
The communication channel is not enabled. 
 | 
READ_ONLY_SIGNAL
The requested signal settings is read only. 
 | 
SIGNAL_OUT_OF_RANGE
The signal is out of range. 
 | 
SUCCESS
Success 
 | 
UNDEFINED
Error code not defined. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getDescription()
Returns the description for the error. 
 | 
int | 
getValue()
This method provides integer value assigned to the enum. 
 | 
static SerialCommResults | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static SerialCommResults[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SerialCommResults SUCCESS
public static final SerialCommResults FAILURE
public static final SerialCommResults INVALID_VALUE
public static final SerialCommResults DEVICE_NOT_CONNECTED
public static final SerialCommResults NOT_ENABLED
public static final SerialCommResults ALREADY_ENABLED
public static final SerialCommResults EMDK_NOT_OPENED
public static final SerialCommResults FEATURE_NOT_SUPPORTED
public static final SerialCommResults INVALID_OBJECT
public static final SerialCommResults DEVICE_NOT_READY
public static final SerialCommResults COMM_PORT_IN_USE
public static final SerialCommResults DATA_SIZE_TOO_LARGE
public static final SerialCommResults READ_ONLY_SIGNAL
public static final SerialCommResults SIGNAL_OUT_OF_RANGE
public static final SerialCommResults UNDEFINED
public static SerialCommResults[] values()
for (SerialCommResults c : SerialCommResults.values()) System.out.println(c);
public static SerialCommResults 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 int getValue()
public java.lang.String getDescription()