public enum ModemStatusEvent extends Enum<ModemStatusEvent>
ModemStatusPacket
packet.Modifier and Type | Method and Description |
---|---|
static ModemStatusEvent |
get(int id)
Returns the
ModemStatusEvent associated to the given ID. |
String |
getDescription()
Returns the modem status description.
|
int |
getId()
Returns the modem status ID.
|
String |
toString() |
static ModemStatusEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModemStatusEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModemStatusEvent STATUS_COORDINATOR_REALIGNMENT
public static final ModemStatusEvent STATUS_COORDINATOR_STARTED
public static final ModemStatusEvent STATUS_DISASSOCIATED
public static final ModemStatusEvent STATUS_ERROR_AP_NOT_CONNECTED
public static final ModemStatusEvent STATUS_ERROR_AP_NOT_FOUND
public static final ModemStatusEvent STATUS_ERROR_FAILED_JOIN_AP
public static final ModemStatusEvent STATUS_ERROR_FAILED_JOIN_SECURITY
public static final ModemStatusEvent STATUS_ERROR_INVALID_CHANNEL
public static final ModemStatusEvent STATUS_ERROR_PSK_NOT_CONFIGURED
public static final ModemStatusEvent STATUS_ERROR_SSID_NOT_FOUND
public static final ModemStatusEvent STATUS_ERROR_STACK
public static final ModemStatusEvent STATUS_ERROR_SYNCHRONIZATION_LOST
public static final ModemStatusEvent STATUS_HARDWARE_RESET
public static final ModemStatusEvent STATUS_JOINED_NETWORK
public static final ModemStatusEvent STATUS_MODEM_CONFIG_CHANGED_WHILE_JOINING
public static final ModemStatusEvent STATUS_NETWORK_SECURITY_KEY_UPDATED
public static final ModemStatusEvent STATUS_NETWORK_WENT_TO_SLEEP
public static final ModemStatusEvent STATUS_NETWORK_WOKE_UP
public static final ModemStatusEvent STATUS_UNKNOWN
public static final ModemStatusEvent STATUS_VOLTAGE_SUPPLY_LIMIT_EXCEEDED
public static final ModemStatusEvent STATUS_WATCHDOG_TIMER_RESET
public static ModemStatusEvent get(int id)
ModemStatusEvent
associated to the given ID.id
- ID of the ModemStatusEvent
to retrieve.ModemStatusEvent
associated with the given ID.public String getDescription()
public int getId()
public String toString()
toString
in class Enum<ModemStatusEvent>
public static ModemStatusEvent 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 ModemStatusEvent[] values()
for (ModemStatusEvent c : ModemStatusEvent.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.