All pages
Powered by GitBook
1 of 1

Loading...

MTUSDK Enumerations

DeviceType

This enum refers to the type of MagTek reader which the SDK will control.

Enum

Description

SCRA

Reserved for future use.

Secure Reader Authenticator devices.

  • eDynamo

  • mDynamo

  • Dynamag

  • DynaMax

PPSCRA

Reserved for future use.

PIN Pad Secure Reader Authenticator devices.

  • DynaPro

  • DynaPro Go

  • DynaPro Mini

CMS

Reserved for future use.

Common Message Structure devices.

  • oDynamo

MMS

MMS class devices. (MagTek Message Scheme)

  • DynaFlex

  • DynaFlex Pro

ConnectionType

This enum refers to the communication interface type of MagTek reader which the SDK will control.

This enum refers to the readiness of the SDK to communicate with the device. This is not the physical attachment to a host system.

This enum refers to the type of specific information to retrieve from the device.

This enum refers to card type for which the device will perform a transaction.

This enum refers to returned status code of a function call.

This enum refers to the status of the transaction.

This enum refers to the type of event triggered by the device.

This enum refers to the type of user event reported by the device. These events are related to user interaction.

tDynamo

  • kDynamo

  • cDynamo

  • iDynamo 6

  • Enum

    Description

    USB

    Universal Serial Bus supported devices:

    • DynaFlex

    • DynaFlex Pro

    BLUETOOTH_LE

    Reserved for future use. Bluetooth Low Energy devices:

    • DynaMax

    BLUETOOTH_LE_EMV

    Reserved for future use.

    Bluetooth Low Energy with EMV supported devices:

    • eDynamo

    BLUETOOTH_LE_EMVT

    Reserved for future use.

    Bluetooth Low Energy with EMV supported devices:

    • tDynamo

    TCP

    Reserved for future use.

    Transmission Control Protocol supported devices:

    • DynaPro

    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.

    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.

    Enum

    Description

    MSR

    For magnetic stripe cards.

    Contact

    For EMV chip cards.

    Contactless

    For NFC contactless cards.

    ManualEntry

    For user to manually enter transaction data without any card access.

    Enum

    Description

    SUCCESS

    Operation completed successfully.

    TIMEOUT

    Operation timed out before completion.

    ERROR

    Error in the operation.

    UNAVAILABLE

    Status currently unavailable.

    Enum

    Description

    NoStatus

    Set before the start of a transaction and before a card is presented to the device.

    NoTransaction

    No transaction is progress.

    CardSwiped

    A card was swiped into the device.

    CardInserted

    A card was inserted into the device.

    CardRemoved

    A card was removed from the device.

    Enum

    Description

    TransactionFailed

    The transaction failed.

    TransactionNotAccepted

    The transaction was not accepted by the device.

    TechnicalFallback

    Due to technical reasons, the chip transaction cannot be completed by the reader.

    SignatureCaptureRequested

    A signature capture is requested by the device.

    Enum

    Description

    Invalid

    ConnectionState

    There was a change in the connection state of the device.

    DeviceResponse

    Device has responded to a command.

    DeviceExtendedResponse

    Device has responded to an extended command.

    DeviceNotification

    Device is sending a notification.

    Enum

    Description

    None

    No events yet to occur.

    ContactlessCardPresented

    Contactless card has been presented.

    Enum

    Description

    ContactlessCardRemoved

    Contactless card has been removed.

    CardSeated

    Card is seated into the chip station.

    CardUnseated

    Card was removed from the chip station.

    CardSwiped

    Magnetic stripe card was swiped.

    TouchPresented

    Touch screen press detected.

    ConnectionState

    InfoType

    PaymentMethod

    StatusCode

    TransactionStatus

    EventType

    UserEvent

    TCP_TLS

    Reserved for future use.

    Transmission Control Protocol with Transport Layer Security supported devices:

    • DynaPro Go

    TCP_TLS_TRUST

    Reserved for future use.

    Transmission Control Protocol with Transport Layer Security supported devices:

    • DynaPro Go

    WEBSOCKET

    Reserved for future use. WebSocket supported devices:

    • DynaFlex Pro

    SERIAL

    Reserved for future use. UART supported devices

    AIDL

    Reserved for future use. AIDL devices:

    • DynaGlass

    VIRTUAL

    Reserved for future use. Virtual devices

    Disconnecting

    Device is in the process of disconnecting. The next state will is to be

    Disconnected.

    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

    CardDetected

    A card was detected by the device.

    CardCollision

    A card collision was detected by the device.

    TimedOut

    The transaction was not completed before a timeout period.

    HostCanceled

    The host software sent a cancel.

    TransactionCanceled

    The transaction was canceled.

    TransactionInProgress

    The transactions is in progress.

    TransactionError

    There is an error during the transaction.

    TransactionApproved

    The transactions is approved.

    TransactionDeclined

    The transactions is declined.

    TransactionCompleted

    The transaction is completed.

    CardData

    Device has sent magnetic stripe data from a card swipe.

    TransactionStatus

    There was a change in transaction status.

    DisplayMessage

    Device has data to be displayed to the user.

    InputRequest

    Device is requesting input from the user.

    AuthorizationRequest

    Device has sent the Authorization Request Cryptogram and associated block of EMV tags for a transaction. This block is meant to be sent to the transaction processor.

    TransactionResult

    Device has sent the result of the transaction.

    PINBlock

    Device is sending the PINBlock after the user has entered a PIN on the device.

    Signature

    Device has sent data which represents a signature from a user.

    DeviceDataFile

    Device has sent data a file.

    OperationStatus

    Device has sent an operation status of a command.

    TouchRemoved

    Touch screen release detected.