public enum MifareDesfireResults extends Enum<MifareDesfireResults>
Enum Constant and Description |
---|
ADDITIONAL_FRAME_REQUIRED
The protocol error occurs when the library passes command such as invalid
APDU command mode, invalid padding byes, APDU command string length,
etc..
|
ALREADY_ENABLED
The tag is already enabled.
|
ALREADY_EXISTS
The file or application identifier specified already exists on the tag.
|
APP_INTEGRITY_ERROR
The application integrity error on the tag.
|
APP_LIMIT_EXCEEDED
No.of applications exceeded on the tag i.e.,Maximum of 28 application is
allowed.
|
APP_NOT_FOUND
The application is not found on the tag.
|
APP_NOT_SELECTED
The application identifier(AID) not selected error will be returned if
the POS application calls method such as getFileSettings, getFileds
without selecting the Application (AID)..
|
AUTHENTICATION_ERROR
The tag is not authenticated or not allowed to peform operations
requested..
|
COMMAND_ABORTED
The previous command not completed because of additional frame exception
and if it is not given to that command but we trying to execute the other
command
|
EMDK_NOT_OPENED
The EMDK is not opened.
|
FAILURE
Failure
|
FILE_INTEGRITY_ERROR
The file integrity error occurred on the tag.
|
FILE_NOT_FOUND
The requested file does not exists on the tag.
|
FILE_SIZE_LIMIT_EXCEEDED
The file size limit exceeded..
|
INTEGRITY_ERROR
This is protocol error when MifareDesfire library passes incorrect
padding bytes.
|
INVALID_COMMAND_CODE
This is protocol error when MifareDesfire library passes invalid command
code to the SAM.
|
INVALID_COMMAND_LENGTH
This is protocol error when MifareDesfire library passes invalid command
string length to the SAM..
|
INVALID_SAM_KEY
The SAM key is invalid or SAM key does not satisfy all the conditions.
|
INVALID_VALUE
Invalid input parameter or value
|
NO_TRANSACTION_CHANGES
There are no chnages to file or record to complete the requested
operation such abort or commit transaction.
|
NOT_ENABLED
The connection to the Tag is not enabled.
|
PARAM_NOT_SUPPORTED
The parameter not supported.
|
PICC_DISABLED_ERROR
The PICC disabled error on the tag.
|
PICC_INTEGRITY_ERROR
The PICC integrity error on the tag.
|
SAM_AUTHENTICATION_ERROR
The application is trying to use the key which is not present on the SAM.
|
SUCCESS
Success
|
TAG_KEY_NOT_FOUND
The key requested for the operation is not present in the Tag..
|
TAG_LOST
Tag lost
|
TAG_MEMORY_ERROR
The error occurred on the tag memory.
|
TAG_OUT_OF_MEMORY
The volatile memory (EEPROM) on the tag is full to perfrom the requested
operation.
|
UNDEFINED
Error code not defined.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description for the error.
|
int |
getValue()
This method provides integer value assigned to the enum.
|
static MifareDesfireResults |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MifareDesfireResults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MifareDesfireResults SUCCESS
public static final MifareDesfireResults FAILURE
public static final MifareDesfireResults EMDK_NOT_OPENED
public static final MifareDesfireResults NOT_ENABLED
public static final MifareDesfireResults INVALID_SAM_KEY
public static final MifareDesfireResults TAG_LOST
public static final MifareDesfireResults SAM_AUTHENTICATION_ERROR
public static final MifareDesfireResults INVALID_VALUE
public static final MifareDesfireResults ALREADY_ENABLED
public static final MifareDesfireResults APP_NOT_SELECTED
public static final MifareDesfireResults NO_TRANSACTION_CHANGES
public static final MifareDesfireResults TAG_OUT_OF_MEMORY
public static final MifareDesfireResults INVALID_COMMAND_CODE
public static final MifareDesfireResults INTEGRITY_ERROR
public static final MifareDesfireResults TAG_KEY_NOT_FOUND
public static final MifareDesfireResults INVALID_COMMAND_LENGTH
public static final MifareDesfireResults APP_NOT_FOUND
public static final MifareDesfireResults APP_INTEGRITY_ERROR
public static final MifareDesfireResults AUTHENTICATION_ERROR
public static final MifareDesfireResults ADDITIONAL_FRAME_REQUIRED
public static final MifareDesfireResults FILE_SIZE_LIMIT_EXCEEDED
public static final MifareDesfireResults PICC_INTEGRITY_ERROR
public static final MifareDesfireResults COMMAND_ABORTED
public static final MifareDesfireResults PICC_DISABLED_ERROR
public static final MifareDesfireResults APP_LIMIT_EXCEEDED
public static final MifareDesfireResults ALREADY_EXISTS
public static final MifareDesfireResults TAG_MEMORY_ERROR
public static final MifareDesfireResults FILE_NOT_FOUND
public static final MifareDesfireResults FILE_INTEGRITY_ERROR
public static final MifareDesfireResults PARAM_NOT_SUPPORTED
public static final MifareDesfireResults UNDEFINED
public static MifareDesfireResults[] values()
for (MifareDesfireResults c : MifareDesfireResults.values()) System.out.println(c);
public static MifareDesfireResults 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()
public String getDescription()