CVMRESULT

Constant Description
FAIL_CVM Indicates the CMV failed.
NO_CVM_REQ Indicates the CVM is not required.
PIN_OFFLINE_ENCR Indicates the PIN was verified offline and encrypted.
PIN_OFFLINE_PLAIN Indicates the PIN was verified offline in plaintext.
PIN_ONLINE Indicates the PIN was verified online.
SIGNATURE_REQ Indicates that a signature is required.

UE_ERROR

Constant Description
ALREADY_STARTED
BAD_SWIPE MP200 received bad swipe. Transaction will be aborted, retry.
GATEWAY_401_UNAUTHORIZED
GATEWAY_CONNECTION_ERROR The connection to the gateway failed.
GENERAL_EXCEPTION_CAUGHT Exception from Exception class caught, stack trace printed, report this error.
HANDLED These errors go out to the user.
INVALID_AMOUNT The amount entered was invalid.
INVALID_MAG_STRIPE The transaction was terminated because a bad mag swipe was retried 3 times.
INVALID_TERMINAL_CONFIG
INVALID_UPDATE_PARAMETER
LOW_BATTERY Low battery, plug in the MP200.
MP200_COMMAND_TIMEOUT Command to MP200 timed out, transaction will abort, retry.
NO_BT_DEVICE No BT(bluetooth) device was found, check BT settings.
NO_DEVICES_FOUND
NO_ERROR
NOT_CONNECTED The device is not in the connected state to execute this function.
NOT_ENOUGH_SPACE_FOR_UPDATE Free up memory in the app cache directory.
TIMEOUT_GATEWAY Timeout has occurred between gateway.
TRANSACTION_CANCEL_BUTTON The transaction was cancelled by pressing the cancel button.
TRANSACTION_CARD_ERROR
TRANSACTION_CARD_REMOVED
TRANSACTION_INVALID_PIN Transaction was terminated because of an invalid PIN.
TRANSACTION_REQUESTS_CHANGE_INTERFACE This will also fire a delegate to change interface.
UNHANDLED_ERROR Unhandled Error, please report this.
UNHANDLED_EXCEPTION
UNHANDLED_EXCEPTION_CAUGHT
UPDATE_COMPLETE
UPDATE_FAILED An error occurred during the update process causing it to fail.
USB_CONNECTION_CLOSED USB Connection has been closed, reconnect.
USER_INPUT_EXCEPTION