public static enum SerialComManager.FTPPROTO extends Enum<SerialComManager.FTPPROTO>
Pre-defined enum constants for defining file transfer protocol to use.
| Enum Constant and Description |
|---|
XMODEM
XMODEM protocol with three variants checksum, CRC and 1k.
|
YMODEM
YMODEM protocol with two variants CRC + 128 data bytes and CRC + 1k block.
|
ZMODEM
coming soon
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SerialComManager.FTPPROTO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialComManager.FTPPROTO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialComManager.FTPPROTO XMODEM
XMODEM protocol with three variants checksum, CRC and 1k.
public static final SerialComManager.FTPPROTO YMODEM
YMODEM protocol with two variants CRC + 128 data bytes and CRC + 1k block.
public static final SerialComManager.FTPPROTO ZMODEM
coming soon
public static SerialComManager.FTPPROTO[] values()
for (SerialComManager.FTPPROTO c : SerialComManager.FTPPROTO.values()) System.out.println(c);
public static SerialComManager.FTPPROTO 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 int getValue()
Copyright © 2016. All rights reserved.