All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Programmer's Manual

The DynaFlex II PED uses the shared DynaFamily Multi-Interface Card Reader Platform (MMS) command set. This manual is a device-scoped map into the API & Command Reference with the sections this device relies on linked below.

Applies to: DynaFlex II PED

In This Manual

Reference Section

Information Available

The full device Command matrix, if you're building for more than one Dyna reader.

  • Security & Keys --> How the PED protects data and manages keys: DUKPT (3DES→AES), MAC, KSNs, encryption/decryption, and the PCI requirements like the 24-hour reset and device lock.

  • Compliance--> The PED's PCI PTS POI security policy, certifications, and the regulatory documentation for deployment.

  • NFC/MIFARE -->Working with contactless cards and tags — NFC/MIFARE pass-through and the supported card technologies (NTag, Classic, DESFire, Plus).

Notifications

MMS notifications are the asynchronous messages the DynaFlex II PED reader sends while a transaction is running, reporting progress, state changes, and completion. Find the Notification Group you are looking for below and follow the links in the table to jump to a specific notification.

Message Format & Structure

Every exchange with the DynaFlex II PED — the commands you send and the responses and notifications it returns — uses the standard Multi-Interface Card Reader Platform (MMS) message format. This section defines how requests, responses, notifications, and file messages are framed and parsed. The format is the same across Dyna-family readers and is documented once in the shared reference.

This notification reports the final result of a transaction the host initiated using Command 0x1001 - Start Transaction.

Reference Section

Information Available

This notification reports information about progress and state changes involving the device’s Banking Functions modules

This notification reports information about progress and state changes that occur during interaction with the Banking Functions modules.

Reference Section

Information Available

This notification reports the successful completion of firmware update operations the host initiated

This notification reports the failure of a Firmware Update command the host initiated.

This notification reports Firmware is up to date for host initiated update.

Reference Section

Information Available

This notification reports information about general state changes that occur within the device, outside the context of specific operations like transactions

The device sends this notification when the battery charge reaches 15 percent.

The device sends this notification one minute before it automatically powers down the device.

Reference Section

Information Available

This notification requests that the host take action during operations involving the device’s User Interface modules.

This notification shows that a UI operations involving the device’s User Interface modules is complete.

Reference Section

Information Available

Transaction Information Update - Notification 0x0101

This notification reports information about progress and state changes that occur during a transaction.

Applies to: DynaFlex II PED

From Transactions - Source 0x01nn

Notifications from Banking Functions (Banking Functions Only) - Source 0x02nn

Firmware Updates - Source 0x09nn

From Device - Source 0x10nn

User Interface - Source 0x18nn

For more help

Need Help?

For additional support, please contact MagTek Support:

Technical Support:

  • 📧 Email:

All messages exchanged between the host and the device are formatted using the tag-length-value Distinguished Encoding Rules (DER).

Each message type follows a specific structure described on this page.

Reference Section

Information Available

About Messages

The host and the device communicate with each other by exchanging blocks of data called Messages, which are standardized wrappers containing a payload that is either a command Request, a command Response, an unsolicited Notification, or a File.

Applies to: DynaFlex II PED

Settings & Information - Group 0xD1nn

Need Help?

For additional support, please contact MagTek Support:

Technical Support:

  • 📧 Email:

Message Format & Structure

How MMS requests, responses, and notifications are framed and parsed.

Data Types & Shared TLV Objects

The shared TLV and EMV objects the commands carry.

Commands

The MMS command set, scoped to the Go, with a supported-commands view.

Notifications

Asynchronous messages the PED sends during transactions, device events, and firmware updates.

Configurations

Configurable properties and parameters.

Status Codes & Responses

Result and error codes the device returns.

See Also

For More help

Need Help?

For additional support, please contact MagTek Support:

Technical Support:

  • 📧 Email: support@magtek.com

  • 📞 Phone: 1-800-788-6835 (US) | +1-562-546-6616 (International)

  • 🕐 Hours: Monday-Friday, 6:00 AM - 5:00 PM PST

Online Resources:

  • 🌐 Official Site:

  • 💬 Developer Forum:

Documentation Feedback:

Help us improve this documentation!

Command Support Across Products

📞 Phone: 1-562-546-6800 (US)

  • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

  • Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    The device sends this notification when the battery charger detects that the battery is fully charged.

    Transaction Operation Complete - Notification 0x0105
    Banking Functions Information Update - 0x0201
    Banking Functions Operations Complete - 0x0206
    Firmware Update Successful - Notification 0x0905
    Firmware Update Failed - Notification 0x0906
    Firmware is Up to Date - Notification 0x0907
    Device Information Update - Notification 0x1001
    Low Battery Warning - Notification 0x1001
    Low Battery Shutdown - Notification 0x1001
    User Interface Host Action Request - Notification 0x1803
    User Interface Operation Complete - Notification 0x1805
    support@magtek.com

    📞 Phone: 1-562-546-6800 (US)

  • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

  • Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    Message Format
    Message Structure
    support@magtek.com
    https://www.magtek.com
    https://forum.magtek.com
    feedback@magtek.com
    feedback@magtek.com
    Battery Charged - Notification 0x1001

    Appendices

    These sections detail a variety of information on OIDs, codes, tips & taxes and more.

    Applies to: DynaFlex II SCR

    System Status Information - Property Group 2.3.1.nnn

    Reference Section

    Information Available

    For modular management of device functions, information, and settings, this standard makes extensive use of Object Identifiers (also known as Object IDs or OIDs) as defined in ITU-T X.660 | ISO/IEC 9834-1.

    Barcode symbology refers to the way in which data is encoded in a barcode. It uses either spaced lines, dots or squares.

    C: Erasing EMV Configurations

    This section will help erase already existing EMV configurations.

    D: Tip & Tax Display Limits (Touch Only)

    These are the display limits that are supported.

    E: Physical Button

    DynaFlex II SCR features a single physical button. Pressing and holding this button can activate additional functions on the device.

    For More Help

    Need Help?

    For additional support, please contact MagTek Support:

    Technical Support:

    • 📧 Email: support@magtek.com

    • 📞 Phone: 1-562-546-6800 (US)

    • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

    Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    A: Object IDs and ITU-T x660
    B: Barcode Reader Symbologies
    feedback@magtek.com

    Data Types & Shared TLV Objects

    Data Types and Shared TLV Data Objects

    This section defines the primitive and composed data types, TLV (Tag-Length-Value) data objects, file structures, and cryptographic key formats used throughout the device command set, including track data, display strings, EMV configuration file types (ARQC, ARPC, Batch, CA Public Keys), security parameters, TR‑31 key blocks, certificate and CSR file structures, and card emulation.

    Applies to: DynaFlex II PED

    Information in this group

    Section

    Information available

    A list of primitive data types used by TLV data objects.

    Configurations

    This section focuses on properties, which the host can either read from the device to retrieve device information (such as its PCI hardware ID, serial number, firmware revision numbers, etc.), or write to the device to change device behavior, or to store values for future reference.

    Reference Section

    Information Available

    Part A of EMV Terminal ID settings.

    Part B of EMV Terminal ID settings.

    Part C of EMV Terminal ID settings.

    Reference Section

    Information Available

    The device uses this property to determine what character it should use when sending masked ISO/ABA track data.

    The device sends this notification when the battery charge reaches 15 percent.

    Reference Section

    Information Available

    Configure how the device runs financial transactions — EMV terminal and kernel parameters, supported entry methods, and amount, currency, and timeout handling.`

    Continues the transaction group with the remaining financial/EMV properties, such as contactless and additional processing options.

    Read the device's core identity and status: model name, serial number, firmware and boot versions, real-time clock, and operational state. These are mostly read-only values for identifying and health-checking the reader.

    Reference Section

    Information Available

    The device's top-level firmware identifier — the composite firmware ID that ties together the individual component versions and checksums listed below.

    Part number, version, and build details for the device's core application firmware — the main firmware that runs the reader.

    Part number and version for the EMV firmware component that handles Level 2 EMV processing for contact and contactless transactions.

    Reference Section

    Information Available

    Read-only hardware information reported by the device, such as model, part number, and hardware revision.

    Reference Section

    Information Available

    This OID contains a 32-bit bitmap. Each bit indicates the status of a transaction key,

    The device uses this property to report its security status.

    The device uses this property to report its operational status.

    Reference Section

    Information Available

    About

    Detail on configuring the DynaFlex II PED device.

    Applies to: DynaFlex II PED

    About Configuration

    Financial Settings - Property Group 1.1.nnnn

    SRED Settings - Property Subgroup 1.1.2.nnn

    Device Settings - Property Group 1.2.nnnn

    Firmware Identification Information - Property Group 2.1.2.nnn

    Hardware Information - Property Group 2.2.1.nnn Device

    System Status Information - Property Group 2.3.1.nnn

    Need Help?

    For additional support, please contact MagTek Support:

    Technical Support:

    • 📧 Email:

    About Track Data

    Information about parsing EMV ARQC Type or Merchant Data Container data for each track into individual values embedded in the tracks.

    Display Strings

    A pre-defined set of messages by string ID that the host and device use for various user interface features.

    Encryption Type

    Information on the key type, variant, and other information the host can use to decrypt encrypted data included in various payloads.

    EMV ARQC Type

    Information on how the device formats ARQC messages.

    EMV ARPC Type

    Information on how the device formats ARPC messages

    EMV Batch Data Type

    Information on the device formats EMV batch data, such as merchant data and pre-defined EMV batch data tags.

    EMV Terminal Configuration Type

    Information on loading this file type to control the behavior of the device’s EMV contact kernel.

    EMV Processing Configuration File Type

    Information on loading this file type to control the behavior of the device’s EMV kernel.

    EMV Entry Point Configuration File Type

    Information on loading this file type to control the behavior of the device’s EMV kernels.

    EMV Configuration CA Public Keys File Type

    Information on loading this file type to control the behavior of the device’s EMV contact and contactless kernels when the device should support Offline Data Authentication (ODA).

    EMV American Express DRL Configuration Type

    Information on loading this file type to control the behavior of the device’s American Express contactless kernel when the card sends tag 9F70 and one or more DRL is defined. (Not supported on Expresspay 4.x)

    Signature Capture File Type

    The signature capture file type produced when the host invokes Request Cardholder Signature - Command 0x1801 (Touch Only)

    Security Operation Type

    This non-TLV data structure consists of four or five bytes that describes a security operation, including the algorithms and methods to be used in that operation.

    Security Parameters Type

    Information on tags used with security parameters.

    Key Information Type

    Information on tags used to identify key types.

    NFC UID Type

    Information on tags used with NFC UID Types. (EMV Contactless Only)

    GPO Response Type

    Information on tags used with GPORT-1 Types. (EMV Contactless Only)

    TR-31 Key Block Type

    Information on tags used with TR-31 Key Blocks.

    DUKPT Key Mapping

    Information on tags used with DUKPT Keys.

    Common File Structure

    Information on file types that conform to the common file structure format.

    Certificate File Type

    These file types conform to the Common File Structure format. The File Payload of these files contain a certificate in PEM format.

    Certificate Signing Request (CSR) Files Types

    Information on CSR File Types.

    Card Emulation

    Card emulation enables a DynaFlex/DynaProx device to simulate a Type 4 smart card.

    Need Help?

    For additional support, please contact MagTek Support:

    Technical Support:

    • 📧 Email: support@magtek.com

    • 📞 Phone: 1-562-546-6800 (US)

    • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

    Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    Primitive Data Types
    feedback@magtek.com

    📞 Phone: 1-562-546-6800 (US)

  • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

  • Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    Configure Wi-Fi connectivity on WLAN-equipped models, including network SSID, security mode, and credentials. Applies only to devices with a WLAN radio.

    Continues WLAN configuration with the remaining network properties, such as IP addressing and connection behavior.

    Configure the USB interface on USB-connected devices, including communication mode and power behavior during USB suspend. Applies only when connected over USB.

    Configure the device's cardholder-facing interface — display behavior, LEDs, buzzer, and prompts — including the UI configuration file.

    Continues UI configuration with the remaining interface properties, such as the card-logos page and related on-screen elements.

    Set or read the name the device advertises over Bluetooth LE, used to identify the reader when pairing and connecting.

    Configure the device's security posture, including SRED/encryption behavior and key status.

    Configure the device's system settings

    The identifier and version of the China UnionPay contactless kernel firmware.

    Firmware and version information for the device's Wi-Fi (WLAN) module, on models equipped with a WLAN radio.

    Identifies the custom user-interface package loaded on the device — which custom UI build (if any) is installed, and its version.

    Firmware and version information for the device's NFC contactless module and controller.

    EMV Settings A
    EMV Settings B
    EMV Settings C
    SRED Settings - Property Subgroup 1.1.2.nnn - A
    SRED Settings - Property Subgroup 1.1.2.nnn - B
    Transaction Settings - A
    Transaction Settings - B
    Basic Properties
    Firmware Identification Information
    Core Firmware Information
    EMV Firmware Information
    Device Common Configuration Information
    System Status Injected Key Information
    System Status Security Protection Information
    System Status Device State Information
    support@magtek.com
    feedback@magtek.com
    WLAN Settings (WLAN Only) - A
    WLAN Settings (WLAN Only) - B
    USB Settings (USB Only)
    User Interface Settings - A
    User Interface Settings - B
    Bluetooth LE Device Name
    Security Settings
    System Settings
    China Union Pay Kernel ID (Contactless Only) (Common Kernel)
    WLAN Information (WLAN Only)
    Custom UI
    NFC

    Commands

    The DynaFlex II PED accepts the Multi-Interface Card Reader Platform (MMS) command set — the messages you send to run transactions, read cards, manage keys and files, and query or configure the reader. Full syntax, parameters, responses, and examples are documented once in the shared reference; the families below are the commands the PED supports, each linking into that reference.

    Applies to: DynaFlex II PED

    Transaction - Group 0x10nn

    Reference Section

    Information Available

    The host uses this command to start a payment transaction.

    The Host uses this command to send commands and receive responses to and from a MIFARE Plus tag.

    The host uses this command to prompt a cardholder for customer information.

    The host uses this command to control the 4 LEDs of the device when the device is not in non-User Control LED states.

    Card emulation is initiated by receiving a 0x1840 command from the host.

    The host uses this command to send application-level APDUs to a PICC that supports ISO 14443-4 Protocol

    The host can use this command to erase all Bluetooth® LE bonds.

    The host uses this command to start sending unsecured files to the device for storage or processing

    The host uses this command to request a file stored on the device.

    The host uses this command to request the file information of a file stored on the device.

    The host uses this command to request the deletion of a file stored on the device.

    The host can use this command to change the device’s lock state.

    The host can use this command to change the device’s lock passcode.

    The host uses this command to retrieve information about a key slot, including details about the key stored in that slot.

    Resume Transaction - Command 0x1004

    The host uses this command to provide the device with additional/modified data to resume a transaction that is currently paused.

    Cancel Transaction - Command 0x1008

    The host uses this command to cancel a transaction that is currently in progress.

    Reference Section

    Information Available

    Pass Through Command For NTag/MIFARE Ultralight, Type 2 - Command 0x1100

    The host uses this command to send commands and receive responses to and from a NTag/MIFARE Ultralight.

    Pass Through Command for MIFARE Classic/MINI®/Plus SL1 (Security Level 1), Type 2 - Command 0x1101

    After a MIFARE Tag is activated, the host uses this command to send commands and receive responses to and from a MIFARE tag.

    Pass Through Command for MIFARE DESFire, Type 4 - Command 0x1102

    The host uses this command to send commands and receive responses to and from a MIFARE DESFire Tag.

    Reference Section

    Information Available

    Report Cardholder Selection - Command 0x1802

    The host uses this command to provide a cardholder selection to the device when the device itself does not have a display or inputs to prompt the cardholder for a selection.

    Read Barcode (BCR Only) - Command 0x1804

    The host uses this command to direct the device to arm or disarm the barcode reader for reading a barcode outside the scope of a transaction.

    Buzzer - Command 0x1805

    The host uses this command to start a buzzer for playing a sequence of tones. Each sequence can have a minimum of 1 to maximum of 10 tones.

    Reference Section

    Information Available

    About

    Basic details about generic pass-through commands.

    Pass-Through Mode Start/Stop - Command 0x3001

    The host uses this command to enter or exit Pass-Through Mode.

    Start/Stop Polling - Command 0x3002

    After entering the Pass-Through Mode, the host use this command to request the device to start polling for a Type A and Type B PICC until it detects a PICC or times out.

    Reference Section

    Information Available

    Reset Device - Command 0x1F01

    The host uses this command to reset the device.

    Set Notification Subscriptions - Command 0x1F02

    The host uses this command to specify which notifications the device should send on each of its available interfaces

    Terminate Bluetooth LE Connection (Bluetooth LE Only) - Command 0x1F04

    The host can use this command to terminate a Bluetooth LE connection.

    Reference Section

    Information Available

    Get Property - Command 0xD101

    The host uses this command to get information about the device or its configuration / settings.

    Set Property (Unsecured) - Command 0xD111

    The host uses this command to set device configuration / settings that do not require security.

    Set Property (Secured) - Command 0xD112

    The host uses this command to set device configuration / settings securely.

    Reference Section

    Information Available

    About Files

    Large blobs of data uploaded to / downloaded from the device are referred to as “files” and share a common set of commands documented here, and special message type Data File Message.

    Load Firmware File - Command 0xD801

    The host uses this command to send a firmware image file, signed by MagTek, to the device as the first step in updating firmware.

    Start Send File to Device (Secured) - Command 0xD811

    The host uses this command to start sending secured files to the device for storage or processing.

    Reference Section

    Information Available

    Commit Firmware from File - Command 0xD901

    The host uses this command to commit a file previously uploaded using Command 0xD801 - Load (Firmware File) into the device’s permanent memory after the device has authenticated the file.

    Reference Section

    Information Available

    Echo - Command 0xDF01

    The host uses this command to prompt the device for a response that contains the same payload it sent.

    Reference Section

    Information Available

    Get Challenge - Command 0xE001

    Requests a random challenge from the device, used to construct a secured command.

    Send Secured Command to Device - Command 0xEEEE

    The host uses this command to request a random challenge from the device, used to construct a subsequent secured command.

    Load Key Using TR-31 - Command 0xEF01

    The host uses this command to load a key into one of several available slots in the device’s secure memory.

    Reference Section

    Information Available

    Establish Ephemeral KBPK - Command 0xF017

    The host uses this command to complete the ECDHE-ECDSA Key Exchange protocol, which enables the host and the device to generate the same TEMP KBPK key to use with Command 0xEF01 - Load Key Using TR-31 to load the Master Transport Key (MTK).

    NFC/MIFARE Pass-Through - Group 0x11nn

    User Interface - Group 0x18nn

    Generic Pass-Through - Group 0x30nn

    Device Control - Group 0x1Fnn

    Setting & Information - Group 0xD1nn

    File Operation - Group 0xD8nn

    Process Files - Group 0xD9nn

    Diagnostics & Utilities - Group 0xDFnn

    Security - Grouo 0xEnnn

    Manufacturing - Group 0xFnnn

    Need Help?

    For additional support, please contact MagTek Support:

    Technical Support:

    • 📧 Email: support@magtek.com

    • 📞 Phone: 1-562-546-6800 (US)

    • 🕐 Hours: Monday-Friday, 5:30 AM - 5:00 PM PST

    Online Resources:

    • 🌐 Support Portal: developer.magtek.com

    Documentation Feedback:

    Help us improve this documentation!

    Start Transaction - Command 0x1001
    feedback@magtek.com
    Pass Through Command for MIFARE Plus, Type 2 - Command 0x1103
    Personal Info Entry - Command 0x1806
    LED Control - Command 0x1807
    Card Emulation - Command 0x1840
    ISO 14443-4 APDU Pass-Through Commands - Command 0x3003
    Erase All Bluetooth LE Bonds (Bluetooth LE Only) - Command 0x1F05
    Start Send File to Device (Unsecured) - Command 0xD812
    Start Get File from Device - Command 0xD821
    Get File Info from Device - Command 0xD825
    Delete File from Device - Command 0xD831
    Change Device Lock State - Command 0xEF06
    Change Device Lock Passcode - Command 0xEF07
    Get Key Info - Command 0xEF11
    Submit feedback