All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Message Format & Structure

Every exchange with the DynaFlex II SCR — 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.

Applies to: DynaFlex II SCR

Settings & Information - Group 0xD1nn

Reference Section

Information Available

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.

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.

Need Help?

For additional support, please contact MagTek Support:

Technical Support:

  • 📧 Email:

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

Appendices

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

Programmer's Manual

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

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

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

About Messages
Message Format
Message Structure
support@magtek.com

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.

This section will help erase already existing EMV configurations.

)

These are the display limits that are supported.

Applies to: DynaFlex II SCR

System Status Information - Property Group 2.3.1.nnn

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

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

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

Reference Section

Information Available

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

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

The shared TLV and EMV objects the commands carry.

Applies to: DynaFlex II SCR

In this manual

API & Command Reference
https://www.magtek.com
feedback@magtek.com

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 Pacific

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

A: Object IDs and ITU-T x660
B: Barcode Reader Symbologies
C: Erasing EMV Configurations
D: Tip & Tax Display Limits (Touch Only

Commands

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

Notifications

Asynchronous messages the SCR 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

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 Pacific

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

Security & Keys
Compliance
NFC/MIFARE
Message Format & Structure
Data Types & Shared TLV Objects
https://www.magtek.com
feedback@magtek.com
https://www.magtek.com
feedback@magtek.com

Notifications

MMS notifications are the asynchronous messages the DynaFlex II SCR 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.

Applies to: DynaFlex II SCR

From Transactions - Source 0x01nn

Reference Section

Information Available

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

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

Firmware Updates - Source 0x09nn

Data Types & Shared TLV 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.

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

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

Information on how the device formats ARQC messages.

Information on how the device formats ARPC messages

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

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

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

E

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

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).

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)

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

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.

Information on tags used with security parameters.

Information on tags used to identify key types.

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

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

Information on tags used with TR-31 Key Blocks.

Information on tags used with DUKPT Keys.

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

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

Information on CSR File Types.

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

Section

Information available

Primitive Data Types

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

About Track Data

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

Data Types and Shared TLV Data Objects

Applies to: DynaFlex II SCR

Information in this group

Need Help?

For additional support, please contact MagTek Support:

Technical Support:

  • 📧 Email:

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

Reference Section

Information Available

Firmware Update Successful - Notification 0x0905

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

Firmware Update Failed - Notification 0x0906

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

Firmware is Up to Date - Notification 0x0907

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

Reference Section

Information Available

Device Information Update - Notification 0x1001

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

Reference Section

Information Available

User Interface Host Action Request - Notification 0x1803

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

User Interface Operation Complete - Notification 0x1805

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

From Device - Source 0x10nn

User Interface - Source 0x18nn

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 Pacific

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

Transaction Information Update - Notification 0x0101
Transaction Operation Complete - Notification 0x0105

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.

https://www.magtek.com
feedback@magtek.com

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

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site: https://www.magtek.com

Documentation Feedback:

Help us improve this documentation! feedback@magtek.com

Display Strings
Encryption Type
EMV ARQC Type
EMV ARPC Type
EMV Batch Data Type
EMV Terminal Configuration Type
EMV Processing Configuration File Type
MV Entry Point Configuration File Type
EMV Configuration CA Public Keys File Type
EMV American Express DRL Configuration Type
Signature Capture File Type
Security Operation Type
Security Parameters Type
Key Information Type
NFC UID Type
GPO Response Type
TR-31 Key Block Type
DUKPT Key Mapping
Common File Structure
Certificate File Type
Certificate Signing Request (CSR) Files Types
Card Emulation
support@magtek.com

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.

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.

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.

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.

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

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

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 SCR device.

Reference Section

Information Available

Applies to: DynaFlex II SCR

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:

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

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

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

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

Configure the device's system settings

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

Commands

The DynaFlex II SCR 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 SCR supports, each linking into that reference.

Applies to: DynaFlex II SCR

Transaction - Group 0x10nn

Reference Section

Information Available

The host uses this command to start a payment transaction.

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

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

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 uses this command to request that the device encrypt a block of user data embedded in the command string.

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

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.

Pass Through Command for MIFARE Plus, Type 2 - Command 0x1103

The Host uses this command to send commands and receive responses to and from a MIFARE Plus 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.

Personal Info Entry - Command 0x1806

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

Card Emulation - Command 0x1840

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

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

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.

Start Send File to Device (Unsecured) - Command 0xD812

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

Start Get File from Device - Command 0xD821

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

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.

Change Device Lock State - Command 0xEF06

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

Change Device Lock Passcode - Command 0xEF07

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

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

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 Pacific

Online Resources:

  • 🌐 Support Portal: developer.magtek.com

  • 🌐 Official Site:

Documentation Feedback:

Help us improve this documentation!

Start Transaction - Command 0x1001
Resume Transaction - Command 0x1004
Cancel Transaction - Command 0x1008

https://www.magtek.com
feedback@magtek.com
Get File Info from Device - Command 0xD825
Delete File from Device - Command 0xD831
Encrypt User Data - Command 0xEF09
Get Key Info - Command 0xEF11
Command Support Across Products