
Enums/Constants/Status/Interfaces
Operation Status
Value (Hex)
Result Code
Description
0x00
Success
The command completed successfully.
0x01
Failure
The command failed.
0x02
Bad Parameter
The command failed due to a bad parameter or command syntax error.
0x03
Redundant
The command is redundant.
0x04
Bad Cryptography
A bad cryptography operation occurred.
0x05
Delayed
The request is refused because the device is delaying requests as a defense against brute-force hacking.
0x06
No Keys
No keys are loaded.
0x07
Invalid Operation
Depends on the context of the command.
0x08
Response not available
The response is not available.
0x09
Not enough power
The battery is too low to operate reliably.
0x0A
Extended response first packet
The device is returning the first (and possibly only) packet of an Extended Response.
0x0B
Extended command pending
An extended command is pending and the device is waiting for more data.
0x0C
Extended command notification
Deprecated
0x0D
Not implemented
The command is not implemented.
0x0E
Unarmed tamper, device not ready
The tamper device is not ready to be armed.
0x0F
Unarmed tamper, bad signature
The tamper is not armed because of a bad signature.
Operation Status for Extended commands
Result Code Description
0x0000 = Success 0x0001 = Failure
0x0381 = Failure, DUKPT scheme is not loaded
0x0382 = Failure, DUKPT scheme is loaded but all of its keys have been used
0x0383 = Failure, DUKPT scheme is not loaded (Security Level not 3 or 4)
0x0384 = Invalid Total Transaction Time field
0x0385 = Invalid Card Type field 0x0386 = Invalid Options field
0x0387 = Invalid Amount Authorized field 0x0388 = Invalid Transaction Type field 0x0389 = Invalid Cash Back field
0x038A = Invalid Transaction Currency Code field 0x038B = Invalid Selection Status
0x038C = Invalid Selection Result
0x038D = Failure, no transaction currently in progress 0x038E = Invalid Reporting Option
0x038F = Failure, transaction already in progress 0x0390 = Device Has No Keys
0x0391 = Invalid Device Serial Number
0x0392 = Invalid Type of MAC field
0x0393 = Invalid Slot Number field
0x0394 = Invalid Operation field
0x0395 = Invalid Database Selector field
0x0396 = Invalid System Date and Time
0x0396 = Invalid Objects to Write field
0x0396 = Invalid Tags to Read field
0x0396 = Invalid Date / Time data (Date / Time has not been set yet)
0x0397 = Invalid MAC
0x0398 = No Slots Available 0x0399 = Object Write Protected
0x039B = Invalid CAPK Checksum
0x039C = Invalid Configuration Identifier
MTBankingEvent
public class MTBankingEvent
{
public static final int OnDeviceState
= 1400;
public static final int OnCardStatus
= 1401;
public static final int OnCardData
= 1402;
public static final int OnPINResponse
= 1403;
public static final int OnSignatureState
= 1404;
public static final int OnSignature
= 1405;
public static final int OnEncryptedDataState
= 1406;
public static final int OnEncryptedData
= 1407;
}
Parameter
Description
OnDeviceState
The device sends the host this notification to report the condition/status of the device.
OnCardStatus
The device sends the host this notification to report the card status.
OnCardData
The device sends the host this notification to report the card data.
OnPINResponse
The device sends the host this notification to report the PIN data.
OnSignatureState
The device sends the host this notification to report that signature data is available.
OnSignature
The device sends the host this notification to report the signature data.
OnEncryptedDataState
The device sends the host this notification to report the status of encrypted data.
OnEncryptedData
The device sends the host this notification to report the encrypted data.
MTEMVEvent
Parameter
Description
OnTransactionStatus
The device sends the host this notification to report progress during an EMV transaction.
OnDisplayMessageRequest
The device sends this notification to request that the host display a message for the cardholder. The host should display the message.
OnUserSelectionRequest
This device sends the host this notification to inform the host that a cardholder selection is needed before the device can continue processing the current transaction.
OnARQCReceived
The device sends the host this notification to send ARQC data for the host to process. After the host processes the ARQC data, it should send the command setAcquirerResponse() to inform the device it can proceed with the transaction.
OnTransactionResult
The device sends this notification to provide the host with final information from the transaction. It usually includes data and an indication of whether a signature is required.
OnEMVCommandResult
The device sends the host this notification to report the result of an EMV command.
OnDeviceExtendedResponse
The device sends the host this notification to report the response to an extended command.
MTError
Parameter
Description
CardDataError
The device sends the host this notification to report and error in card data.
ConnectionError
This this notification reports an error when attempting to connect to the device.
MTSCRAEvent
MTConnectionState
Parameter
Description
Disconnected
Device is disconnected.
Connected
Device is connected and ready for transacting.
Error
There was an error either connecting or disconnecting the device.
Connecting
Device is in the process of connecting. The next state is to be Connected.
Disconnecting
Device is in the process of disconnecting. The next state is to be Disconnected.
MTConnectionType
IMTCardData
Last updated

