sidnet.stack.std.mac.ieee802_15_4
Enum MACenum
java.lang.Object
java.lang.Enum<MACenum>
sidnet.stack.std.mac.ieee802_15_4.MACenum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MACenum>
public enum MACenum
- extends java.lang.Enum<MACenum>
Method Summary |
byte |
getByteVal()
|
static MACenum |
retrieveFor(byte index)
|
static MACenum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MACenum[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
m_SUCCESS
public static final MACenum m_SUCCESS
m_PAN_at_capacity
public static final MACenum m_PAN_at_capacity
m_PAN_access_denied
public static final MACenum m_PAN_access_denied
m_BEACON_LOSS
public static final MACenum m_BEACON_LOSS
m_CHANNEL_ACCESS_FAILURE
public static final MACenum m_CHANNEL_ACCESS_FAILURE
m_DENIED
public static final MACenum m_DENIED
m_DISABLE_TRX_FAILURE
public static final MACenum m_DISABLE_TRX_FAILURE
m_FAILED_SECURITY_CHECK
public static final MACenum m_FAILED_SECURITY_CHECK
m_FRAME_TOO_LONG
public static final MACenum m_FRAME_TOO_LONG
m_INVALID_GTS
public static final MACenum m_INVALID_GTS
m_INVALID_HANDLE
public static final MACenum m_INVALID_HANDLE
m_INVALID_PARAMETER
public static final MACenum m_INVALID_PARAMETER
m_NO_ACK
public static final MACenum m_NO_ACK
m_NO_BEACON
public static final MACenum m_NO_BEACON
m_NO_DATA
public static final MACenum m_NO_DATA
m_NO_SHORT_ADDRESS
public static final MACenum m_NO_SHORT_ADDRESS
m_OUT_OF_CAP
public static final MACenum m_OUT_OF_CAP
m_PAN_ID_CONFLICT
public static final MACenum m_PAN_ID_CONFLICT
m_REALIGNMENT
public static final MACenum m_REALIGNMENT
m_TRANSACTION_EXPIRED
public static final MACenum m_TRANSACTION_EXPIRED
m_TRANSACTION_OVERFLOW
public static final MACenum m_TRANSACTION_OVERFLOW
m_TX_ACTIVE
public static final MACenum m_TX_ACTIVE
m_UNAVAILABLE_KEY
public static final MACenum m_UNAVAILABLE_KEY
m_UNSUPPORTED_ATTRIBUTE
public static final MACenum m_UNSUPPORTED_ATTRIBUTE
m_UNDEFINED
public static final MACenum m_UNDEFINED
values
public static final MACenum[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MACenum c : MACenum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MACenum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getByteVal
public byte getByteVal()
retrieveFor
public static MACenum retrieveFor(byte index)