public enum XBeeDiscoveryStatus extends Enum<XBeeDiscoveryStatus>
TransmitStatusPacket
indicating the status of the
discovery when a packet is sent.TransmitStatusPacket
Modifier and Type | Method and Description |
---|---|
static XBeeDiscoveryStatus |
get(int id)
Returns the
XBeeDiscoveryStatus associated to the given ID. |
String |
getDescription()
Returns the discovery status description.
|
int |
getId()
Returns the discovery status ID.
|
String |
toString() |
static XBeeDiscoveryStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XBeeDiscoveryStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_ADDRESS_AND_ROUTE
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_ADDRESS_DISCOVERY
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_EXTENDED_TIMEOUT_DISCOVERY
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_NO_DISCOVERY_OVERHEAD
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_ROUTE_DISCOVERY
public static final XBeeDiscoveryStatus DISCOVERY_STATUS_UNKNOWN
public static XBeeDiscoveryStatus get(int id)
XBeeDiscoveryStatus
associated to the given ID.id
- ID of the XBeeDiscoveryStatus
to retrieve.XBeeDiscoveryStatus
associated with the given ID.public String getDescription()
public int getId()
public String toString()
toString
in class Enum<XBeeDiscoveryStatus>
public static XBeeDiscoveryStatus 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 XBeeDiscoveryStatus[] values()
for (XBeeDiscoveryStatus c : XBeeDiscoveryStatus.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.