public enum APIFrameType extends Enum<APIFrameType>
Enum Constant and Description |
---|
AT_COMMAND |
AT_COMMAND_QUEUE |
AT_COMMAND_RESPONSE |
GENERIC |
IO_DATA_SAMPLE_RX_INDICATOR |
MODEM_STATUS |
RECEIVE_PACKET |
REMOTE_AT_COMMAND_REQUEST |
REMOTE_AT_COMMAND_RESPONSE |
RX_16 |
RX_64 |
RX_IO_16 |
RX_IO_64 |
TRANSMIT_REQUEST |
TRANSMIT_STATUS |
TX_16 |
TX_64 |
TX_STATUS |
Modifier and Type | Method and Description |
---|---|
static APIFrameType |
get(int value)
Returns the
APIFrameType associated with the given ID value. |
String |
getName()
Returns the API frame type name.
|
int |
getValue()
Returns the API frame type value.
|
String |
toString() |
static APIFrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIFrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIFrameType AT_COMMAND
public static final APIFrameType AT_COMMAND_QUEUE
public static final APIFrameType AT_COMMAND_RESPONSE
public static final APIFrameType GENERIC
public static final APIFrameType IO_DATA_SAMPLE_RX_INDICATOR
public static final APIFrameType MODEM_STATUS
public static final APIFrameType RECEIVE_PACKET
public static final APIFrameType REMOTE_AT_COMMAND_REQUEST
public static final APIFrameType REMOTE_AT_COMMAND_RESPONSE
public static final APIFrameType RX_16
public static final APIFrameType RX_64
public static final APIFrameType RX_IO_16
public static final APIFrameType RX_IO_64
public static final APIFrameType TRANSMIT_REQUEST
public static final APIFrameType TRANSMIT_STATUS
public static final APIFrameType TX_16
public static final APIFrameType TX_64
public static final APIFrameType TX_STATUS
public static APIFrameType get(int value)
APIFrameType
associated with the given ID value.value
- ID value to retrieve APIFrameType
.APIFrameType
for the given ID value, null
if
it does not exist.public int getValue()
public String toString()
toString
in class Enum<APIFrameType>
public static APIFrameType 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 static APIFrameType[] values()
for (APIFrameType c : APIFrameType.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.