12 - MTUSDK Enumerations
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 40
12.3
ConnectionState
This enum refers to the readiness of the SDK to communicate with the device. This is not the physical
attachment to a host system.
Enum
Description
Unknown
Device is in an unknown connection state.
Disconnected
Device is disconnected.
Connecting
Device is in the process of connecting. The next state is to be
Connected
.
Error
There was an error either connecting or disconnecting the device.
Connected
Device is connected and ready for transacting.
Disconnecting
Device is in the process of disconnecting. The next state will is to be
Disconnected
.
12.4
InfoType
This enum refers to the type of specific information to retrieve from the device.
Enum
Description
DeviceSerialNumber
Device serial number.
FirmwareVersion
Firmware version of the device.
DeviceCapabilities
Capabilities of the device delimited by a comma.
Boot1Version
Boot 1 firmware version of the device.
Boot0Version
Boot 0 firmware version of the device.
FirmwareHash
Firmware hash comprised of part numbers, versions, and timestamps.
TamperStatus
Tamper status of the device.
0x00 = Not Tampered
0x01 = Tampered
OperationStatus
Operation status of the device.
0x01 = Offline
0x02 = Online
OfflineDetail
Details of why the device is offline.
Bit 0 = Tamper problem present
Bit 1 = Master Key problem present
Bit 2 = Keys and Certificates problem present
Bit 3 = Real Time Clock problem present
Bit 4 = Random Number Generator problem present
Bit 5 = Cryptography Engine problem present
Bit 6 = Magnetic Stripe Reader Hardware problem present
Bit 7 = Reserved
12.5
PaymentMethod
This enum refers to card type for which the device will perform a transaction.