Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
To develop an iOS app using the MTSCRA SDK, follow the setup steps in section 2 How to Set Up the MTSCRA SDK, then create an instance of the MTSCRA object in your software project, then call the functions described in this chapter to communicate with the device. For sample code that demonstrates how to use these functions, see the contents of the MTSCRA Demo folder included with the SDK.
Generally, these functions will run in one of two modes:
Asynchronous functions will return data using the event handlers (callback functions) defined in section 5 MTSCRA Delegate Methods.
Synchronous functions will return requested data immediately in the function’s return value. If the requested data is not available immediately, synchronous calls will generally block until a specified wait time has elapsed.
Most calls that wait for input from the user will run in the asynchronous mode.
After issuing the methods in section 3 Important Information About Bluetooth LE, the MTSCRA SDK libraries will call these Delegate methods (callback functions) to provide the requested data and / or a detailed response. For details about data received by these functions, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
For details about registering Delegate methods, see the demo application included with the SDK.
To add the MTSCRA SDK libraries to a custom software project in the XCode development environment, follow these steps:
Download the MTSCRA Demo app from MagTek.com.
Open your custom software project in XCode.
Open the MTSCRA Demo app folder in Finder.
Open the Lib subfolder.
Include the following files in your custom software project within XCode:
libMTSCRA.a
MTSCRA.h
Ensure the library search paths are set up correctly.
If you are writing an app that will connect to Bluetooth LE devices, see the additional steps section 3 Important Information About Bluetooth LE.
Clean, build, and run your custom software project to make sure the library imported correctly.) In your custom software, create an instance of MTSCRA. For examples, including how to register delegate functions in your app for callbacks, see the source code included with the MTSCRA Demo app and / or Appendix C Code Examples .
Begin using the features provided by the MTSCRA object’s methods. For details about these methods, see section 4 MTSCRA Functions
Add the following files to project, and setup the bridge header folder in build settings.
MTSCRA.H
MTSCRA-Bridge.h
Add libMTSCRA.a, in build phases->Link Binary with libraries, click ‘+’, then select Add Files and browse to libMTSCRA.a.
Add libc++.tbd in build phases->Link Binary with libraries, click ‘+’, then type “c++” in the filter area and pick libc++.tbd.
After adding those two libraries, this will be in the project.
Add the external accessory protocols into info file. In the screen shot, it adds iDynamo5 and iDynamo6 with default protocols. Add your custom protocol if different.





If the app you are using won’t detect or connect to the device, check the following:
· Check the electromechanical connection:
o Make sure the host’s case is not interfering with the connection.
o Make sure iDynamo in its adapter sleeve does not shift on the host when gently wiggled.
o Make sure the device’s connector is not damaged or dirty.
o Connect another device to the host’s connector to make sure it is functioning correctly.
· For an app to interface with iDynamo, it must use the same Bundle Identifier as the device. iDynamo can also be configured with a different Bundle Identifier, in which case the app must use that Bundle Identifier instead. For details, see section 8 Developing Custom Host Software.
If card swipes are not being registered correctly, check the following:
Card orientation. Make sure the card is oriented so the magnetic stripe is inside iDynamo and facing toward the thicker side of iDynamo (away from the MagTek lock logo). See section 6.3.2 How to Swipe Magnetic Stripe Cards.
Damaged card. The magnetic stripe on the card may be damaged. Try another card.
Excessive buildup on the read head. Clean the read head by swiping a cleaning card through iDynamo several times in different orientations until the card comes out clean. Cleaning card 96700025 is available from MagTek. If the operating environment is dusty, use compressed air to blow dust or other residue out of iDynamo.
Swipe mechanics. A good read depends on the magnetic stripe moving straight over the read head and above a certain speed. Try swiping more quickly and straight through the guide path of iDynamo. The range of working swipe speeds is listed in Appendix A Technical Specifications.
Ergonomics. Make sure there are no mechanical hindrances (such as an accessory case or stand for the host) or ergonomic factors (such as awkward mounting angle) that make it difficult to swipe smoothly and straight through the device.
If iDynamo still does not register swipes after following these steps, contact your supplier for assistance.
This function clears the SDK library’s local cache of card swipe data.
(void) clearBuffersParameters: None
Return Value: None
This function sets a callback function to notify when the device has card data to send to the host or when the device state changes. See example in Open Device code example.
(void) listenForEvents:(UInt32)eventParameters: Event
Parameter
Description
event
Event type.
· TRANS_EVENT_OK = Transaction succeeded.
· TRANS_EVENT_START = Reader started sending data.
· TRANS_EVENT_ERROR = Reader failed sending data.
Return Value: None
This function retrieves masked card track data after a cardholder swipes a card. Only available on iDynamo/uDynamo; other devices will return an empty string.
Parameters: None
Return Value:
Return stored masked track data string. Tracks are delimited with start and end sentinels.
This function retrieves masked track 1 data after a cardholder swipes a card.
Parameters: None
Return Value: Return stored masked track1 data string.
This function retrieves masked track 2 data, if any, after a cardholder swipes a card.
Parameters: None
Return Value: Return stored masked track2 data string.
This function retrieves masked track 3 data, if any, after a cardholder swipes a card.
Parameters: None
Return Value: Return stored masked track3 data string.
This function retrieves masked PAN data, if any, after a cardholder swipes a card.
Parameters: None
Return Value: Return stored masked PAN data string.
This function retrieves the card’s track 1 data in encrypted format after a cardholder swipes a card.
Parameters: None
Return Value: String containing encrypted track 1 data.
This function retrieves the card’s track 2 data in encrypted format, if any, after a cardholder swipes a card.
Parameters: None
Return Value: String containing encrypted track 2 data.
This function retrieves the card’s track 3 data in encrypted format, if any, after a cardholder swipes a card.
Parameters: None
Return Value: String containing encrypted track 3 data
This function retrieves the track decode status after a cardholder swipes a card.
(NSString *) getTrackDecodeStatusParameters: None
Return Value:
Hex string, each 2 digits represent one track’s decode status, where the left most 2 digits are for Track 1.
“00” = Success
"01” = Error or not decodable
“02” = No track present
Examples:
“000000” = Track 1, 2, and 3 success.
“000100” = Track 1 and 3 success. Track 2 had error.
“000002” = Track 1 and 2 success. Track 3 not present.
This function retrieves device’s battery level percentage between 0% and 100%, if the device has a battery and supports battery level monitoring. To retrieve the most up to date percentage, call this function after a transaction.
Parameters: None
Return Value: Long value between 0 and 100
This function returns the currently opened device’s part number.
Parameters: None
Return Value: String containing the device part number.
Retrieves the Card Status
Parameters: None
Return Value: Card Status, which depends on the device.
This function retrieves individual TLV tag values. Only supported on aDynamo/UDynamo.
Parameters:
Tag = An MTSCRATransactionData type (see section D.5 MTSCRATransactionData).
Return Value: String containing the value of the specified tag.
This function gets the status of the currently connected device.
Parameters: None
Return Value: Return device status of swipe count and battery level.
This function gets the status of the current operation.
Parameters: None
Return Value: Operation Status
This function returns the version of the tag-length-value (TLV) format supported by the device.
Parameters: None
Return Value: String containing the firmware TLV version.
This function sets the protocol string the SDK will use to communicate with the device. See example in Open Device code example.
Parameters: Protocol String
Return Value: None
This function gets the response type.
Parameters: None
Return Value: Response Type
This function retrieves the card’s encrypted MagnePrint, for readers that support MagnePrint.
Parameters: None
Return Value: String containing the card’s encrypted MagnePrint.
This function retrieves the card MagnePrint status. For more information, see D99875475. Only available on iDynamo; it will return an empty string in audio reader.
Parameters: None Return Value:
Return stored MagnePrintStatus string.
This function retrieves the device serial number.
Parameters: None
Return Value: String containing the device serial number.
This function returns the MagTek serial number of the currently opened device.
Parameters: None
Return Value: Return stored serial number created by MagTek.
This function retrieves the Session ID from the currently opened device, which the host can use to uniquely identify a transaction to prevent replay. Only supported by iDynamo/uDynamo; on other devices this function will return an empty string. For more information, see
ERROR_SUCCESS = 0
ERROR_TIMEOUT = 1
ERROR_DEVICE_NOT_OPEN = 5
ERROR_INVALID_PARAMETER = 6
ERROR_DEVICE_COMMUNICATION_ERROR = 7
ERROR_OTHER_ERROR = 9
ERROR_BUSY = 15
ERROR_DATA_IS_NOT_EXIST = 16
ERROR_NOT_SUPPORT = 17
ERROR_UNKNOWN = 255
MAGTEKAUDIOREADER = Audio readers aDynamo, uDynamo.
MAGTEKIDYNAMO = iOS 30-pin and Lightning readers iDynamo.
MAGTEKDYNAMAX = Bluetooth LE reader DynaMAX.
MAGTEKEDYNAMO = Bluetooth LE reader eDynamo
MAGTEKUSBMSR = USB on OSX Only
MAGTEKKDYNAMO = Lightning EMV reader kDynamo
When calling functions startScanningForPeripherals or openDevice, the application should make sure bleReaderStateUpdated has received a device status and that the most recent status was OK , otherwise the device will not be able to connect, and iOS will not throw any error if Bluetooth is not ready.
Starting in iOS 13, app projects must specify the Privacy Usage Description for Bluetooth by NSBluetoothAlwaysUsageDescription in the info.plist file. file. Accessing Core Bluetooth without the usage descriptions will cause a runtime crash. For backward compatibility with older versions of iOS, define NSBluetoothAlwaysUsageDescription as well.
Make sure device is in pairing mode. If not, press and hold the button for 3 seconds until the blue light blinks, and then release the button.
MAGTEKTDYNAMO = Bluetooth LE reader tDynamo
MAGTEKDYNAWAVE= DynaWave
MAGTEKMDYNAMO = mDynamo
MAGTEKIDYNAMO_G3 = USB-C iDynamo 5 Gen III
MAGTEKNONE
TRANS_STATUS_OK = Transaction succeeded.
TRANS_STATUS_START = Reader started sending data.
TRANS_STATUS_ERROR = Reader failed sending data.
TRANS_EVENT_OK = Transaction succeeded.
TRANS_EVENT_ERROR = Reader failed sending data.
TRANS_EVENT_START = Reader started sending data.
TLV_OPSTS = Operation Status
TLV_CARDSTS = Card Information
TLV_TRACKSTS = Card tracks status
TLV_CARDNAME = Cardholder name
TLV_CARDIIN = Card issuer identification number
TLV_CARDLAST4 = Last four digits of PAN number
TLV_CARDEXPDATE = Card Expiration date
TLV_CARDSVCCODE = Card service code
TLV_CARDPANLEN = Length of the PAN
TLV_ENCTK1 = Encrypted track 1
TLV_ENCTK2 = Encrypted track 2
TLV_ENCTK3 = Encrypted track 3
TLV_DEVSN = Device serial number
TLV_DEVSNMAGTEK = Device serial number created by MagTek
TLV_DEVFW = Device firmware version
TLV_DEVNAME = Device model name
TLV_DEVCAPS = Device capabilities
TLV_DEVSTATUS = Device status
TLV_TLVVERSION = Firmware TLV version
TLV_DEVPARTNUMBER = Device part number
TLV_CAPMSR = Magstripe capabilities
TLV_CAPTRACKS = Track capabilities
TLV_CAPMAGSTRIPEENCRYPTION = Magstripe encryption capabilities
TLV_KSN = KSN
TLV_CMAC = CMAC
TLV_SWPCOUNT = Swipe count
TLV_BATTLEVEL = Battery level
TLV_CFGTLVVERSION = TLV version
TLV_CFGDISCOVERY = Discovery
TLV_CFGCARDNAME = Card name
TLV_CFGCARDIIN = Card issuer identification number
TLV_CFGCARDLAST4 = Card last 4 PAN
TLV_CFGCARDEXPDATE = Card expiration date
TLV_CFGCARDSVCCODE = Card service code
TLV_CFGCARDPANLEN = Card PAN length
TLV_MSKTK1 = Masked Track 1
TLV_MSKTK2 = Masked Track 2
TLV_MSKTK3 = Masked Track 3
TLV_HASHCODE = Hash code
TLV_SESSIONID = Session ID
TLV_MAGNEPRINT = MagnePrint
TLV_MAGNEPRINT_STS = MagnePrint status
CAP_MASKING = Masking
CAP_ENCRYPTION = Encryption
CAP_CARD_AUTH = Card authorization
CAP_DEVICE_AUTH = Device authorization
CAP_SESSION_ID = Session ID
CAP_DISCOVERY= Discovery
BLE = Bluetooth LE
BLE_EMV = Bluetooth LE EMV
USB = Universal Serial Bus Lightning = Lightning
NONE = None
Connection
CommandMessageData
CardMessageData
BLERawMessage
DeviceInfo
RawDataMessage
OK
OFF
RESETTING
DISCONNECTED
UNSUPPORTED UNAUTHORIZED UNKNOWN
Parameters: None
Return Value: Stored session ID.
This function retrieves the Key Serial Number (KSN) from the device.
Parameters: None
Return Value: String containing the stored key serial number.
This function gets the device’s product name.
Parameters: None
Return Value: String containing the device product name.
This function gets the device type.
Parameters: None
Return Value: Device Type
This function sets the type of device to open. Call this function before calling openDevice.
Parameters:
Device Type:
MAGTEKAUDIOREADER = Audio readers aDynamo, uDynamo.
MAGTEKIDYNAMO = iOS 30-pin and Lightning readers iDynamo.
MAGTEKDYNAMAX = Bluetooth LE reader DynaMAX.
MAGTEKEDYNAMO = Bluetooth LE reader eDynamo.
MAGTEKKDYNAMO = Lightning reader kDynamo.
MAGTEKTDYNAMO = Bluetooth LE reader tDynamo.
Return Value: None
This function gets the capabilities of the currently opened device.
Parameters: None
Return Value: Return device capabilities.
CAP_MASKING = 1,
CAP_ENCRYPTION=2,
CAP_CARD_AUTH = 4,
CAP_DEVICE_AUTH = 8,
CAP_SESSION_ID = 16,
CAP_DISCOVERY= 32,
Set device type and connection type.
Wait for callback bleReaderStateUpdated(), and then call startScanningForPeripheral().
Wait for onDeviceList() callback. Here you can call getDiscoveredPeripherals().
Select the device in the list.
Open the device you want to connect.
Library will pair the device. After inputting passcode, device is ready to use.

(NSString *) getMaskedTracks(NSString *) getTrack1Masked(NSString *) getTrack2Masked(NSString *) getTrack3Masked(NSString *) getCardPAN(NSString *) getTrack1(NSString *) getTrack2(NSString *) getTrack3(long) getBatteryLevel(NSString *) getDevicePartNumber(NSString *) getCardStatus(NSString *) getTagValue:(UInt32)tag(NSString *) getDeviceStatus(NSString *) getOperationStatus(NSString *) getTLVVersion(void) setDeviceProtocolString:(NSString *)pData(NSString *) getResponseType(NSString *) getMagnePrint(NSString *) getMagnePrintStatus(NSString *) getDeviceSerial(NSString *) getMagTekDeviceSerial(NSString *) getSessionID(NSString *) getKSN(NSString *) getDeviceName (int) getDeviceType (void) setDeviceType:(UInt32 *)deviceType (NSString *) getDeviceCapsself.lib.setConnectionType(UInt(BLE_EMV))
self.lib.setDeviceType(UInt32(MAGTEKEDYNAMO))func bleReaderStateUpdated(_ state: MTSCRABLEState) {
print("readerStateUpdated - ", state)
if (state == 0) {
// dispatch in main queue is very important
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1,
execute: {
self.lib.startScanningForPeripherals()
})
}
}
func onDeviceList(_ instance: Any!, connectionType: UInt, deviceList:
[Any]!) {
let devices = deviceList as! [MTDeviceInfo]
devList.removeAll()
let peripherals = self.lib.getDiscoveredPeripherals()
print(peripherals as Any)
...
}
lib.stopScanningForPeripherals()
lib.setAddress(devList[selected].address)
lib.openDevice()This document provides instructions for software developers who want to create custom software solutions that communicate with DynaMAX, eDynamo, aDynamo, iDynamo, uDynamo, kDynamo, sDynamo, tDynamo, iDynamo 5 Gen II, iDynamo 5 Gen III, or iDynamo 6 connected to an iOS host via audio connector or Bluetooth LE. It is part of a larger library of documents which includes:
MagneSafe V5 Programmer’s Reference (Commands)
DynaMAX Programmer's Manual (Commands)
eDynamo Programmer's Manual (Command)
iDynamo 5 (Gen II) Programmer's Manual (Commands)
iDynamo 5 (Gen III) Programmer's Manual (Commands)
kDynamo Programmer's Manual (Commands)
tDynamo Programmer's Manual (Commands)
D998200324 iDynamo 6 Programmer's Manual (Command )
The MTSCRADemo software, available from MagTek, provides demonstration source code and a reusable MTSCRA library that provides developers of custom iOS software solutions with an easy-to-use interface. Developers can include the MTSCRA library in custom branded software which can be distributed to customers or distributed internally as part of an enterprise solution.
The general terms “device” and “host” are used in different, often incompatible ways in a multitude of specifications and contexts. For example, “host” may have different meanings in the context of USB communication than it does in the context of networked financial transaction processing. In this document, “device” and “host” are used strictly as follows:
Device refers to the MSR device that receives and responds to the command set specified in this document; in this case, DynaMAX, eDynamo, aDynamo, iDynamo, uDynamo, kDynamo, sDynamo, tDynamo, or iDynamo 6.
Host refers to the piece of general-purpose electronic equipment the device is connected or paired to, which can send data to and receive data from the device. Host types include PC and Mac computers/laptops, tablets, smartphones, teletype terminals, and even test harnesses. In many cases the host may have custom software installed on it that communicates with the device. When “host” must be used differently, it is qualified as something specific, such as “USB host.”
The word “user” is also often used in different ways in different contexts. In this document, user generally refers to the cardholder.
Tested devices:
iPhone 7, 7 Plus, 8, 8 Plus, X, XS, XS Max, 11, 12, 13, 14, 15 series, iPhone 12 and 13 mini
iPad 6th 7th, 8th, 9th, 10th gen, iPad Air, iPad Air 2/3/4/5, iPad Pro, iPad Pro 2nd, 3rd, 4th, and 5th gen
iPad Mini 2, iPad Mini 3, iPad Mini 4, iPad Mini 5, iPad Mini 6 Tested operating systems: iOS 13 and above
Build Platforms: XCode 15.3 and above
The following table matches the device interface to operating system.
To troubleshoot runtime issues with custom software, use standard XCode debugging methods and tools.
This command is used to set the device’s date and time before calling startTransaction().
Devices with a battery-backed real time clock have the date and time set by the manufacturer, so this command may not need to be used after that. Devices that do not have a battery-backed real time clock must use this command frequently because (a) the clock must be set before the device can process EMV transactions, and (b) the host software must use this command every time the device is power cycled or reset.
Offset
Field Name
Value
0
Type of MAC
MAC algorithm designator
0x00 = ISO 9797 MAC Algorithm 3, Padding Method 1.
For 5:00 PM January 01, 2023 030C001800000000000000000000000000000000000101110000000F
The host uses this command to directly control power to the magnetic stripe reader head inside the device, to manage device power consumption and battery life. The host must power up the head before a cardholder swipes a magnetic stripe card outside the scope of an EMV transaction.
When the state is set to Always On, the head will always be powered.
When the state is set to Off When Idle, the head will be off when the device is idle. In this state, the device will not be able to read magnetic stripe cards outside the scope of EMV transactions without first turning the head on.
If the host sends startTransaction() the device will automatically power up the head, then power it down when the EMV transaction terminates.
Result codes: 0x00 = Success
Example Request (Hex):
This function retrieves the SDK revision number.
(NSString *) getSDKVersion Parameters: None
Return Value: String containing the SDK revision number.
This function retrieves a list of available Bluetooth LE devices. After calling this function to locate the device you wish to connect to, use setAddress to tell the library which device you want to connect to. Use stopScanningForPeripherals to stop the scan.
(void)startScanningForPeripheralsParameters: None
Return Value: An array of peripherals
This function stops the scanning of available Bluetooth LE devices.
(void)stopScanningForPeripheralsParameters: None Return Value: None
This function sets device’s address for Bluetooth LE devices.
(void)setAddress:(NSString *)address Parameters:
Return Value: None
This function opens a connection to the device.
To use this function to connect to a Bluetooth LE device, the app should follow these steps:
Call startScanningForPeripherals to find the device you want to connect to.
Call setAddress to tell the library which device you want to connect to.
Make sure your app’s bleReaderStateUpdated function most recent status is was OK .
Call openDevice.
After calling this function, call isDeviceOpened to make sure the device was successfully opened.
Parameters: None
Return Value:
YES = Success
NO = Error
This function closes the connection to the currently opened device. After calling this function, call isDeviceOpened to make sure the device was successfully closed.
Parameters: None
Return Value:
YES = Success
NO = Error
This function reports whether any compatible devices are connected to the host.
Parameters: None
Return Value:
YES = host is connected to a device
NO = host is not connected to a device
This function retrieves device opened status, which changes on successful completion of a call to startScanningForPeripherals or closeDevice.
Parameters: None
Return Value:
YES = Device is opened
NO = Device is not opened
This function sends a direct command to device. See MagneSafe V5 Programmer’s Reference (Commands) for details about available commands and syntax.
Return Value:
0 = Success
9 = Error
15 = Busy
This function retrieves card data from a string separated by ‘|’ after a cardholder swipes a card. The host software should call it in response to the trackDataReadyNotification callback.
Parameters: None
Return Value:
A null terminated hex string for Card Data, Field separated by ‘|’.NULL value for failed.
Fields:
Device ID, Device Serial Number, Card Swipe Status, CardEncode Type, Track 1 Decode Status, Track 2 Decode Status, Track 3 Decode Status, MagnePrint Status, Track 1 Length, Track 2 Length, Track 3 Length, Masked Track 1 Length, Masked Track 2 Length, Masked Track 3 Length, MagnePrint Length, Card Data, Masked Card Data, DUKPT Session ID, DUKPT Key Serial Number, First Name, Last Name, PAN, Month, Year, Track 1 Data, Track 2 Data, Track 3 Data, Masked Track 1 Data, Masked Track 2 Data, Masked Track 3 Data, MagnePrint Data
This function gets the MSR capability of the device. For more information, see D99875483 – Track ID Enable Property.
(NSString *) getCapMSRParameters: None Return Value:
Return MSR Capability bit masking.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Id
0 – Decodes standard ISO/ABA cards only
1 – Decodes AAMV and 7-bit cards also
If this flag is set to 0, only tracks that conform to the ISO format allowed for that track will be decoded. If the track cannot be decoded by the ISO method it will be considered to be in error.
00 – Track Disabled
01 – Track Enabled
10 – Track Enabled/Required (Error if blank)
This function gets the device’s capability for encrypting track data.
Return Value:
“1” = Available
“0” = Unavailable.
This function gets information about the device’s tracks capability.
Parameters: None
Return Value: A hex string for the track capability. See Track ID Enable Property in D99875475.
This function retrieves the card expiration date after a cardholder swipes a card.
Parameters: None
Return Value: String containing the card expiration date
This function gets the last 4 digits of the card account number (PAN) after a cardholder swipes a card.
Parameters: None
Return Value: String containing the last 4 digits of the PAN
This function gets the issuer identification number (IIN) of the card number after a cardholder swipes a card.
Parameters: None
Return Value: String containing the IIN
This function gets the cardholder name after a cardholder swipes a card.
Parameters: None
Return Value: String containing the cardholder name, for example, “John Wayne”.
This function gets the length of the PAN after a cardholder swipes a card.
Parameters: None
Return Value: Length of card number or PAN
This function retrieves the card’s service code after a cardholder swipes a card.
Parameters: None
Return Value: String containing the card’s service code
This function retrieves the part number and revision of the device’s firmware.
Parameters: None
Return Value: String containing firmware part number and revision.
The SDK sends this notification when card data is available from the device.
The SDK sends this notification when the connection status of the device changes.
Return a card object type with card swipe data.
Parameter
Description
cardDataObj
MTCardData object
instance
Instance ID
Card swipe has started.
Card swipe got an error during transmission.
Device connection changed whether from close to open or vice versa.
Bluetooth LE Reader was connected.
Bluetooth LE Reader was disconnected.
Bluetooth LE Reader was discovered.
Bluetooth LE state changed. Enumerated possible values that would arrive via this delegate are:
self.mtSCRALib = [[MTSCRA alloc] init];
[self.mtSCRALib
listenForEvents: TRANS_EVENT_OK|TRANS_EVENT_START|TRANS_EVENT_ERROR)];
//iDynamo
[self.mtSCRALib setDeviceType:(MAGTEKIDYNAMO)];
[self.mtSCRALib setDeviceProtocolString:(“com.magtek.idynamo”)];
//Audio
//[self.mtSCRALib setDeviceType:(MAGTEKAUDIOREADER)];
[self.mtSCRALib openDevice];[self.mtSCRALib closeDevice];[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(trackDataReady:) name:@"trackDataReadyNotification"
object:nil];
- (void)trackDataReady:(NSNotification *)notification
{
NSNumber *status = [[notification userInfo]
valueForKey:@"status"];
[self performSelectorOnMainThread:@selector(onDataEvent:)
withObject:status waitUntilDone:YES];
}
- (void)onDataEvent:(id)status
{
//[self clearLabels];
switch ([status intValue]) {
case TRANS_STATUS_OK:
NSLog(@"TRANS_STATUS_OK");
break;
case TRANS_STATUS_ERROR:
NSLog(@"TRANS_STATUS_ERROR");
break;
default:
break;
}
}[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(devConnStatusChange)
name:@"devConnectionNotification" object:nil];
- (void)devConnStatusChange
{
BOOL isDeviceConnected = [self.mtSCRALib isDeviceConnected];
if (isDeviceConnected)
{
self.deviceStatus.text = @"Device Connected";
}
else
{
self.deviceStatus.text = @"Device Disconnected";
}
}MSR Card Swipe
EMV Transaction (Quick Chip)
EMV Transaction (Full)
@interface MTCardData : NSObject
- (id)initWithCardData:(NSString*)cardData;
/*!
@attribute cardIIN
@discussion cardIIN is 6 digits of the account, usually can help to identify the issuer
*/
@property(nonatomic, strong) NSString *cardIIN;
/*!
@attribute cardData
@discussion track1 | track2 | track3
*/
@property(nonatomic, strong) NSString *cardData;
/*!
@attribute cardLast4
@discussion last 4 digits of account, usually can help user to identify him/her self
*/
Parameter
Description
instance
Instance ID
Parameter
Description
deviceType
MTSCRADeviceType object
connected
Boolean for connection state. True = Connected
False = Not connected
instance
Instance ID
Parameter
Description
peripheral
CBPeripheral object
Parameter
Description
connectionInfo
MTConnectionInfo object
Parameter
Description
state
MTSCRABLEState
/*!
@attribute cardName @discussion card holder name
*/
@property(nonatomic, strong) NSString *cardName;
@property (strong, nonatomic) NSString *cardLastName;
@property (strong, nonatomic) NSString *cardMiddleName;
@property (strong, nonatomic) NSString *cardFirstName;
@property(nonatomic, strong) NSString *cardExpDate;
@property(nonatomic, strong) NSString *cardServiceCode;
@property(nonatomic, strong) NSString *cardStatus;
@property(nonatomic, strong) NSString *responseData;
@property(nonatomic, strong) NSString *maskedTracks;
@property(nonatomic, strong) NSString *encryptedTrack1;
@property(nonatomic, strong) NSString *encryptedTrack2;
@property(nonatomic, strong) NSString *encryptedTrack3;
@property(nonatomic, strong) NSString *encryptionStatus;
@property(nonatomic, strong) NSString *maskedTrack1;
@property(nonatomic, strong) NSString *maskedTrack2;
@property(nonatomic, strong) NSString *maskedTrack3;
@property(nonatomic, strong) NSString *trackDecodeStatus;
@property(nonatomic, strong) NSString *encryptedMagneprint;
@property(nonatomic, strong) NSString *magneprintStatus;
@property(nonatomic, strong) NSString *deviceSerialNumber;
@property(nonatomic, strong) NSString *deviceSerialNumberMagTek;
@property(nonatomic, strong) NSString *encrypedSessionID;
/*!
@attribute deviceKSN
@discussion Key Serial Number for the card swipe
*/
@property(nonatomic, strong) NSString *deviceKSN;
@property(nonatomic, strong) NSString *deviceFirmware;
@property(nonatomic, strong) NSString *deviceName;
@property(nonatomic, strong) NSString *deviceCaps;
@property(nonatomic, strong) NSString *deviceStatus;
@property(nonatomic, strong) NSString *tlvVersion;
@property(nonatomic, strong) NSString *devicePartNumber;
@property(nonatomic, strong) NSString *capMSR;
@property(nonatomic, strong) NSString *capTracks;
@property(nonatomic, strong) NSString *capMagStripeEncryption;
@property(nonatomic, strong) NSString *maskedPAN;
@property(nonatomic) long cardPANLength;
@property(nonatomic, strong) NSString *additionalInfoTrack1;
@property(nonatomic, strong) NSString *additionalInfoTrack2;
@property(nonatomic, strong) NSString *responseType;
@property(nonatomic) long batteryLevel;
@property(nonatomic) long swipeCount;
@property(nonatomic, strong) NSString *firmware;
@property(nonatomic, strong) NSString *tagValue;
@property(nonatomic) int magnePrintLength;
@property(nonatomic) int cardType;
@property(nonatomic, strong) NSString *cardExpDateMonth;
@property(nonatomic, strong) NSString *cardExpDateYear;
@property(nonatomic, strong) NSString *cardPAN;
@property(nonatomic, strong) NSString *track1DecodeStatus;
@property(nonatomic, strong) NSString *track2DecodeStatus;
@property(nonatomic, strong) NSString *track3DecodeStatus;
@property(nonatomic, strong) NSDate* timeStamp;
@property(nonatomic, strong) NSString* messageID;
@property(nonatomic, strong) NSString* msrDUKPTKeyInfo; // 16 bytes
@property(nonatomic, strong) NSString* mpDUKPTKeySerialNumber; // 0/20/24 @property(nonatomic, strong) NSString* mpDUKPTKeyInfo; // 16 bytes
@property(nonatomic, strong) NSString* macKeyInfo; // 16 bytes
@property(nonatomic, strong) NSString* macMessageLength;
@property(nonatomic, strong) NSString* mac;
@property(nonatomic, strong) NSString* tokenDUKPTKeyInfo;
@property(nonatomic, strong) NSString* tokenDUKPTKeySerialNumber;
@property(nonatomic, strong) NSString* encryptedQwantumDataBuffer;
@property(nonatomic, strong) NSString* qwantumStatus;
@property(nonatomic, strong) NSString* qwantumToken;
@property(nonatomic, strong) NSString* qwantumCardID;
@property(nonatomic, strong) NSString* customerMessageCode;
@property(nonatomic, strong) NSString* customerMessage;
@property(nonatomic) BOOL isQwantumCard;
@property(nonatomic) BOOL isQwantumBuffer;
@property(nonatomic) BOOL isCustomerMessage;
@property(nonatomic, strong) NSString* encryptedSCDE;
@property(nonatomic, strong) NSString* scdeDUKPTKeySerialNumber;
@property(nonatomic, strong) NSString* scdeDUKPTKeyInfo;
@property(nonatomic, strong) NSDictionary* allObjects;
@property(nonatomic, strong) NSArray<NSString*>* objectArray;
@end








1..16
Device Serial Number
16 Bytes Device Serial Number.
The host can set this field to all zeroes.
17
Month
Value from 0x01..0x0C
18
Day
Value from 0x01..0x1F (less depending on month)
19
Hour
Value from 0x00..0x17
20
Minute
Value from 0x00..0x3B
21
Second
Value from 0x00..0x3B
22
Unused
Value from 0x00..0x06
23
Year
Value from 0x00 (2008)..0x44 (2076) Example:
Year 2023 = 15 (0x0F) = 20023 – 2008
24..27
MAC
MAC computed over all preceding fields except Type of MAC. The host can set this field to all zeroes.
Offset
Field Name
Value
0
State
One byte specifying what the state should be: 0x00 = Off When Idle
0x01 = Always On
Parameter
Description
address
Address of the Bluetooth LE device to communicate with
Parameter
Description
pData
Command to send to the device. For example, pass command string
“C10206C20503C30100” to call the Discovery command.
0
T3
T3
T2
T2
T1
T1
NSString *DateTime =
@“030C001800000000000000000000000000000000000101110000000F”;
[self.mtSCRALib sendExtendedCommandSync:DateTime];
NSString *SetMSRAlwaysOn = @“580101”;
[self.mtSCRALib sendCommandSync:SetMSRAlwaysOn];NSString *SetMSROffWhenIdle = @“580100”;
[self.mtSCRALib sendCommandSync:SetMSROffWhenIdle];(BOOL) openDevice(BOOL) closeDevice(BOOL) isDeviceConnected(BOOL) isDeviceOpened(int) sendCommandToDevice:(NSString *)pData Parameters:(NSString *) getResponseData(NSString *) getCapMagStripeEncryption Parameters: None(NSString *) getCapTracks(NSString *) getCardExpDate(NSString *) getCardLast4(NSString *) getCardIIN(NSString *) getCardName(int) getCardPANLength(NSString *) getCardServiceCode(NSString *) getFirmwareFile Name
Description
MTSCRA.h
Header file for the MTSCRA SDK
libMTSCRA.a
Library binary for the MTSCRA SDK
MTSCRADemo Folder
Sample code and projects
Device
Interface
Operating System
eDynamo
Bluetooth LE 4.0
iOS 13 and above
aDynamo
Audio
iOS 13 and above
iDynamo
30-pin
iOS 13 and above
Lightning
iOS 13 and above
uDynamo
Audio
iOS 13 and above
DynaMAX
Bluetooth LE 4.0
iOS 13 and above
kDynamo
Lightning
iOS 13 and above
sDynamo
Lightning
iOS 13 and above
tDynamo
Bluetooth LE 4.0
iOS 13 and above
iDynamo 5 Gen II
Lightning
iOS 13 and above
iDynamo 5 Gen III
USB-C (iAP2)
iOS 13 and above
iDynamo 6
Lightning
iOS 13 and above
Document Number: D99875568-133
REGISTERED TO ISO 9001:2015
MagTek I 1710 Apollo Court I Seal Beach, CA 90740 I Phone: (562) 546-6400 I Technical Support: (888) 624-8350 www.magtek.com
Copyright © 2006 – 2025 MagTek, Inc. Printed in the United States of America
INFORMATION IN THIS PUBLICATION IS SUBJECT TO CHANGE WITHOUT NOTICE AND MAY CONTAIN TECHNICAL INACCURACIES OR GRAPHICAL DISCREPANCIES. CHANGES OR IMPROVEMENTS MADE TO THIS PRODUCT WILL BE UPDATED IN THE NEXT PUBLICATION RELEASE. NO PART OF THIS DOCUMENT MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS, ELECTRONIC OR MECHANICAL, FOR ANY PURPOSE, WITHOUT THE EXPRESS WRITTEN PERMISSION OF MAGTEK, INC.
MagTek®, MagnePrint®, and MagneSafe® are registered trademarks of MagTek, Inc. Magensa™ is a trademark of MagTek, Inc.
IPAD® is a trademark of MagTek, Inc.
AAMVA™ is a trademark of AAMVA.
American Express® and EXPRESSPAY FROM AMERICAN EXPRESS® are registered trademarks of American Express Marketing & Development Corp.
D-PAYMENT APPLICATION SPECIFICATION® is a registered trademark to Discover Financial Services CORPORATION
MasterCard® is a registered trademark and PayPass™ and Tap & Go™ are trademarks of MasterCard International Incorporated.
Visa® and Visa payWave® are registered trademarks of Visa International Service Association.
ANSI®, the ANSI logo, and numerous other identifiers containing “ANSI” are registered trademarks, service marks, and accreditation marks of the American National Standards Institute (ANSI).
ISO® is a registered trademark of the International Organization for Standardization. UL™ and the UL logo are trademarks of UL LLC.
PCI Security Standards Council® is a registered trademark of the PCI Security Standards Council, LLC. EMV® is a registered trademark in the U.S. and other countries and an unregistered trademark elsewhere. The EMV trademark is owned by EMVCo, LLC. The Contactless Indicator mark, consisting of four graduating arcs, is a trademark owned by and used with permission of EMVCo, LLC.
The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by MagTek is under license.
Apple Pay®, iPhone®, iPod®, Mac®, and OS X® are registered trademarks of Apple Inc., registered in the U.S. and other countries. iPad™ is a trademark of Apple. Inc. App StoreSM is a service mark of Apple Inc., registered in the U.S. and other countries. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple Inc. under license.
Microsoft®, Windows®, and .NET® are registered trademarks of Microsoft Corporation. All other system names and product names are the property of their respective owners.
MagTek warrants that the products sold pursuant to this Agreement will perform in accordance with MagTek’s published specifications. This warranty shall be provided only for a period of one year from the date of the shipment of the product from MagTek (the “Warranty Period”). This warranty shall apply only to the “Buyer” (the original purchaser, unless that entity resells the product as authorized by MagTek, in which event this warranty shall apply only to the first repurchaser).
During the Warranty Period, should this product fail to conform to MagTek’s specifications, MagTek will, at its option, repair or replace this product at no additional charge except as set forth below. Repair parts and replacement products will be furnished on an exchange basis and will be either reconditioned or new. All replaced parts and products become the property of MagTek. This limited warranty does not include service to repair damage to the product resulting from accident, disaster, unreasonable use, misuse, abuse, negligence, or modification of the product not authorized by MagTek. MagTek reserves the right to examine the alleged defective goods to determine whether the warranty is applicable.
Without limiting the generality of the foregoing, MagTek specifically disclaims any liability or warranty for goods resold in other than MagTek’s original packages, and for goods modified, altered, or treated without authorization by MagTek.
Service may be obtained by delivering the product during the warranty period to MagTek (1710 Apollo Court, Seal Beach, CA 90740). If this product is delivered by mail or by an equivalent shipping carrier, the customer agrees to insure the product or assume the risk of loss or damage in transit, to prepay shipping charges to the warranty service location, and to use the original shipping container or equivalent. MagTek will return the product, prepaid, via a three (3) day shipping service. A Return Material Authorization (“RMA”) number must accompany all returns. Buyers may obtain an RMA number by contacting MagTek Support Services at (888) 624-8350.
EACH BUYER UNDERSTANDS THAT THIS MAGTEK PRODUCT IS OFFERED AS-IS. MAGTEK MAKES NO OTHER WARRANTY, EXPRESS OR IMPLIED, AND MAGTEK DISCLAIMS ANY WARRANTY OF ANY OTHER KIND, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IF THIS PRODUCT DOES NOT CONFORM TO MAGTEK’S SPECIFICATIONS, THE SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE. MAGTEK’S LIABILITY, IF ANY, SHALL IN NO EVENT EXCEED THE TOTAL AMOUNT PAID TO MAGTEK UNDER THIS AGREEMENT. IN NO EVENT WILL MAGTEK BE LIABLE TO THE BUYER FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF, OR INABILITY TO USE, SUCH PRODUCT, EVEN IF MAGTEK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
LIMITATION ON LIABILITY
EXCEPT AS PROVIDED IN THE SECTIONS RELATING TO MAGTEK’S LIMITED WARRANTY, MAGTEK’S LIABILITY UNDER THIS AGREEMENT IS LIMITED TO THE CONTRACT PRICE OF THIS PRODUCT.
MAGTEK MAKES NO OTHER WARRANTIES WITH RESPECT TO THE PRODUCT, EXPRESSED OR IMPLIED, EXCEPT AS MAY BE STATED IN THIS AGREEMENT, AND MAGTEK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
MAGTEK SHALL NOT BE LIABLE FOR CONTINGENT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES TO PERSONS OR PROPERTY. MAGTEK FURTHER LIMITS ITS LIABILITY OF ANY KIND WITH RESPECT TO THE PRODUCT, INCLUDING NEGLIGENCE ON ITS PART, TO THE CONTRACT PRICE FOR THE GOODS.
MAGTEK’S SOLE LIABILITY AND BUYER’S EXCLUSIVE REMEDIES ARE STATED IN THIS SECTION AND IN THE SECTION RELATING TO MAGTEK’S LIMITED WARRANTY.
IMPORTANT: YOU SHOULD CAREFULLY READ ALL THE TERMS, CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE INSTALLING THE SOFTWARE PACKAGE. YOUR INSTALLATION OF THE SOFTWARE PACKAGE PRESUMES YOUR ACCEPTANCE OF THE TERMS, CONDITIONS, AND RESTRICTIONS CONTAINED IN THIS AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, CONDITIONS, AND RESTRICTIONS, PROMPTLY RETURN THE SOFTWARE PACKAGE AND ASSOCIATED DOCUMENTATION TO THE ADDRESS ON THE FRONT PAGE OF THIS DOCUMENT, ATTENTION: CUSTOMER SUPPORT.
TERMS, CONDITIONS, AND RESTRICTIONS
MagTek, Incorporated (the "Licensor") owns and has the right to distribute the described software and documentation, collectively referred to as the "Software."
LICENSE: Licensor grants you (the "Licensee") the right to use the Software in conjunction with MagTek products. LICENSEE MAY NOT COPY, MODIFY, OR TRANSFER THE SOFTWARE IN WHOLE OR IN PART EXCEPT AS EXPRESSLY PROVIDED IN THIS AGREEMENT. Licensee
may not decompile, disassemble, or in any other manner attempt to reverse engineer the Software. Licensee shall not tamper with, bypass, or alter any security features of the software or attempt to do so.
TRANSFER: Licensee may not transfer the Software or license to the Software to another party without the prior written authorization of the Licensor. If Licensee transfers the Software without authorization, all rights granted under this Agreement are automatically terminated.
COPYRIGHT: The Software is copyrighted. Licensee may not copy the Software except for archival purposes or to load for execution purposes. All other copies of the Software are in violation of this Agreement.
TERM: This Agreement is in effect as long as Licensee continues the use of the Software. The Licensor also reserves the right to terminate this Agreement if Licensee fails to comply with any of the terms, conditions, or restrictions contained herein. Should Licensor terminate this Agreement due to Licensee's failure to comply, Licensee agrees to return the Software to Licensor. Receipt of returned Software by the Licensor shall mark the termination.
LIMITED WARRANTY: Licensor warrants to the Licensee that the disk(s) or other media on which the Software is recorded are free from defects in material or workmanship under normal use.
THE SOFTWARE IS PROVIDED AS IS. LICENSOR MAKES NO OTHER WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Because of the diversity of conditions and PC hardware under which the Software may be used, Licensor does not warrant that the Software will meet Licensee specifications or that the operation of the Software will be uninterrupted or free of errors.
IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY TO USE, THE SOFTWARE. Licensee's sole remedy in the event of a defect in material or workmanship is expressly limited to replacement of the Software disk(s) if applicable.
GOVERNING LAW: If any provision of this Agreement is found to be unlawful, void, or unenforceable, that provision shall be removed from consideration under this Agreement and will not affect the enforceability of any of the remaining provisions. This Agreement shall be governed by the laws of the State of California and shall inure to the benefit of MagTek, Incorporated, its successors or assigns.
ACKNOWLEDGMENT: LICENSEE ACKNOWLEDGES THAT HE HAS READ THIS AGREEMENT, UNDERSTANDS ALL OF ITS TERMS, CONDITIONS, AND RESTRICTIONS, AND AGREES TO BE BOUND BY THEM. LICENSEE ALSO AGREES THAT THIS AGREEMENT SUPERSEDES ANY AND ALL VERBAL AND WRITTEN COMMUNICATIONS BETWEEN LICENSOR AND LICENSEE OR THEIR ASSIGNS RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.
QUESTIONS REGARDING THIS AGREEMENT SHOULD BE ADDRESSED IN WRITING TO MAGTEK, INCORPORATED, ATTENTION: CUSTOMER SUPPORT, AT THE ADDRESS LISTED IN THIS DOCUMENT, OR E-MAILED TO
DEMO SOFTWARE / SAMPLE CODE: Unless otherwise stated, all demo software and sample code are to be used by Licensee for demonstration purposes only and MAY NOT BE incorporated into any production or live environment. The PIN Pad sample implementation is for software PIN Pad test purposes only and is not PCI compliant. To meet PCI compliance in production or live environments, a third-party PCI compliant component (hardware or software-based) must be used.
This message occurs when a non EMV command response is returned from the device.
Parameter
Description
data
Byte array containing the data received from the device. For details, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
This message occurs when an error occurs.
Parameter
Description
The SDK sends this notification when the transaction status has changed.
Device request for displaying information to user.
Device request for application to display a User Selection Menu.
This notification is sent from the device for ARQC data.
This message occurs when the transaction result is received from the EMV device.
This message occurs when an EMV command result is received from the EMV device.
This message occurs when and extended response is received from the device.
This message occurs when a command is sent to an unpaired Bluetooth LE device.
This message occurs when and extended response is received from the device.
This call back will be raised if host software subscribes to it.
error
Error object.
Parameter
Description
data
Byte array containing the transaction status received from the device. For details about the Transaction Status, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
Parameter
Description
data
Byte array containing the display message received from the device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
Parameter
Description
data
Byte array containing the display selection from the device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
Offset
Field Name
Value
0
Message Length
Two byte binary, most significant byte first. This gives the total length of the ARQC message that follows.
2
ARQC
Message
For details about the ARQC format, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
Parameter
Description
data
Byte array containing the transaction result from the EMV device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device you are communicating with.
Parameter
Description
data
Byte array containing the command result from the EMV device. For details about the Display Message Request, see the Programmer's Manual (COMMANDS) for the specific device you are communicating with.
Parameter
Description
data
Hexadecimal string containing the extended response data received from the device. The first two bytes represent the result codes for the extended command. The next two bytes (most significant byte first) indicate the total length for the following data in bytes.
Parameter
Description
RSSI
Integer value for the Received Signal Strength Indicator.
error
NSError object
Added getBatteryLevel
1.05
2012 Apr 19
Added getSDKVersion & getOperationStatus
1.06
2012 May 01
Made iDynamo-specific
20
2015 Jan 30
Added DynaMAX; reformat; added introduction and how to set up; included aDynamo and uDynamo; general cleanup and clarifying detail.
Updated the MTSCRATransactionData enum. Updated the MTSCRADeviceType enum.
Added delegate methods: onDataReceived, cardSwipeDidStart,
cardSwipeDidGetTransError, onDeviceConnectionDidChange, bleReaderConnected,
bleReaderDidDiscoverPeripheral, bleReaderStateUpdated
30
2015 Nov 19
Added support for eDynamo Added new functions for eDynamo: onTransactionStatus onDisplayMessageRequest onUserSelectionRequest onARQCReceived onTransactionResult onEMVCommandResult
Update return code for EMV function Return Value: 0 = Success
9 = Error
15 = Busy
40
2016 Jul 6
Added DynaPro format for EMV transaction messages. Added getCardPAN function.
Added deviceNotPaired delegate.
50
2017 Feb 9
Updated the tested operating systems.
60
2017 Oct 3
Added support for kDynamo, sDynamo, tDynamo.
70
2018 Aug 6
Added device type kDynamo and tDynamo to setDeviceType().
80
2018 Sep 14
Added onDeviceResponse delegate.
Updated startTransaction to support Quick Chip mode.
Added new functions sendCommandSync() and sendExtendedCommandSync()
110
2021 Dec 13
Added setTimeout(), setTimeFrame(), and enableDebugPrint(). Added enums to current SDK.
120
January 31, 2023
Added information table for extended command set date and time, and for MSR head power.
Added setup for Swift project.
Added more details for setting up Bluetooth LE. Added transaction diagrams.
130
June 20, 2023
Added 0 for transaction timeout of startTransaction() at section 4.55.
131
March 11, 2024
Added support for iDynamo5 Gen III under section Appendix C and Appendix D.2.
Added functions starting at section 4.65: updateFirmware(), sendNFCCommand(),
sendClassicNFCCommand(), sendDESFireNFCCommand(), sendNFCCommandSync(), sendNFCCommandAsync()
132
April 18, 2024
Added support for iPhone 15 and XCode 15.3 at section 1.4. Updated support iOS 13 and above at section 1.5.
133
June 11, 2025
Added SCDE properties to MTCardData (section 6.1).
Rev Number
Date
Notes
1.01
2011 Dec 22
Initial Release
1.02
2011 Aug 02
Remove Audio reader
1.03
2012 Feb 29
Added Functionality
1.04
Rev Number
Date
Notes
90
2019 Sep 16
Updated events for the delegate onTransactionStatus(), and result codes for the deletgate onEMVCommandResult().
Updated the function startTransaction(): cardType and transactionType.
91
2020 Jul 16
Update supported iOS versions; Add Bluetooth permission information for iOS 13 in section 3; Add startScanningForPeripherals and stopScanningForPeripherals and add details about the Bluetooth LE connection sequence; Remove Appendix E, F and in some sections, replaced copy-pasted text from other documents with cross references to command manual for the device; Misc. clarifications and corrections.
92
2020 Aug 27
Added 1 new function getBluetoothRSSI, and 2 callback: bleReaderDidDisconnected and debugInfoCallback under sections: 4.51, 5.18, 5.19
100
2012 Mar 26
2021 Aug 18
Reference Standards and Certifications
Identification Cards Financial Transaction Cards (ISO 7813) AAMVA
Encryption: TDEA (3DES)-CBC using DUKPT FCC Title 47 Part 15 Class B
CE Level B EMC UR/CUR UL Recognized
California Proposition 65 (California)
EU Directive Waste Electrical and Electronic Equipment (WEEE) EU Directive Restriction of Hazardous Substances (RoHS) Universal Serial Bus Specification 2.0, compatible with 1.1
Physical Characteristics
Dimensions (H x W x T)
2.47 in. x 1.50 in. x 0.58 in. (62.7 mm x 38.1 mm x 14.7 mm)
Weight
Approximately 1 oz. (28g)
Supported Mounting Options
Direct to host, adapter sleeves available
Battery Time, Idle
Not Applicable
Battery Time, Sleep Mode
Not Applicable
Battery Time, Transactions
Not Applicable
Voltage Requirements
2.85 to 3.47 VDC from the attached host 5 VDC on USB-C power
Average Current Draw
From USB-C Connector:
270 mA (connected mode with swipe/contact/contactless enabled) Additional draw (~1A, depends on host) when charging host’s battery
From host:
85 mA from the attached host when magnetic read head is on; 0mA otherwise
Data Storage
Not Applicable
Host Connection Characteristics
Wired Connection Types
USB-C
Wireless Connection Types
Not Applicable
Wireless Connection Frequency
Not Applicable
Software Characteristics
Tested Operating System(s)
iOS / Android / Windows
Environmental Tolerance
Operating Temperature
32°F to 95°F (0°C to 35°C)
Operating Relative Humidity
5% to 90% without condensation
Storage Temperature
-4°F to 113°F (-20°C to 45°C)
Storage Relative Humidity
10% to 90% without condensation
Vibration Resistance
Not Applicable
Shock Resistance
No separation of covers or damage to internal components after six surface drops and four corner drops 3 feet onto concrete surface
Maximum operating altitude:
3000 m (10,000 ft.)
Card Read Characteristics
Magnetic Stripe Reader
Bidirectional 3 track encrypting IntelliHead magnetic stripe reader (MSR) with MagnePrint
Magnetic Stripe Decoding
Financial (ISO Type B), AAMVA, or Other ISO 7810, 7811
Acceptable Swipe Speeds
6 in./s to 60 in./s (15 cm/s to 152 cm/s)
Chip Card Reader
Not Applicable
Contactless Reader
Not Applicable
User Interface Characteristics
Status Indicators
Host-driven
Display Type
Not Applicable
Display Size (viewable area)
Not Applicable
Display Resolution
Not Applicable
Keypad
Not Applicable
Security Characteristics
Ingress Protection
Not Applicable
Tamper Protection
Not Applicable
Code Protection
Signed firmware. The device will not allow a host to install firmware that is not properly signed by an authorized source.
Eavesdrop Protection
Not Applicable
Electrical Characteristics
Power Inputs
USB-C connector
Battery Type
Not Applicable
Battery Capacity
Not Applicable
Battery Charge Time
Not Applicable
Battery Time, Powered Off
Reliability
Shelf Life
Minimum 4 years
Magnetic Read Head Life
100,000 card swipes
ICC Read Head Life
Not Applicable
Battery Shelf Life
Not Applicable
Battery Cycle Life
Not Applicable
Not Applicable
This function will return the signal strength of Bluetooth LE devices.
(int)getBluetoothRSSI;This function sets the UUIDString for the Bluetooth LE connection.
(void) setUUIDString:(NSString *)uuidString Parameters: UUID String of the device
Return Value: None
This function gets the current connected peripheral (device).
(NSString *) getConnectedPeripheralParameters: None
Return value: Current connected device
This function gets an array of DynaMAX/eDynamo devices connected to the host.
(NSMutableArray *) getDiscoveredPeripheralsParameters: None
Return Value: Array of DynaMAX/eDynamo devices.
Start EMV Transaction.
The device’s system date and time must be set prior to sending this command. Use sendExentedCommandSync() to set the date and time.
Devices without a battery-backed real time clock require the host to set the date and time using Extended Command 0x030C - Set Date and Time every time the device is power cycled or reset.
Devices that have a battery-backed real time clock (See Supported Devices) would typically have the date and time set at the factory.
(int) startTransaction:
(Byte)timeLimit cardType:
(Byte)cardType option:
(Byte)option amount:
(Byte*)amount transactionType:
(Byte)transactionType cashBack:
(Byte*)cashBack currencyCode:
(Byte*)currencyCode reportingOption:
(Byte)reportingOption
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
This function sets the user selection result. It should be called after receiving the onUserSelectRequest event which is triggered after the user makes a selection.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
This function cancels a transaction while waiting for the user to insert a card.
Return Value:
0 = Success
9 = Error
15 = Busy
The library returns the status of this function in the delegate method onEMVCommandResult (EMV Device Only).
Parameters:
This function informs EMV device to process transaction decision from acquirer.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
Send extended command to device. Command response is returned in the event message onDeviceExtendedResponseReceived.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
Send a synchronous command to device. Operation waits for the command to return.
Parameters:
Return Value: String containing the response data of the command.
This single byte field indicates the level of Transaction Status notifications the host desires to receive during the course of this transaction.
0x00 = Termination Status only (normal termination, card error, timeout, host cancel)
0x01 = Major Status changes (terminations plus card insertions and waiting on user)
0x02 = All Status changes (documents the entire transaction flow)
Parameter
Description
timeLimit
Specifies the maximum time, in seconds, allowed to complete the total transaction. This includes time for the user to insert the card, choose a language, choose an application, and online processing. If this time is exceeded, the transaction will be aborted and an appropriate Transaction Status will be available.
Values:
0 = no timeout, infinite. To cancel before a payment method is presented, use cancelTransaction().
(1 to 255) seconds. Use 255 for the longest time limit for devices that do not support 0.
Device Time Limit
========= =========
DynaMAX n/a
aDynamo n/a
cDynamo n/a
iDynamo 5/(GENII) n/a sDynamo n/a
uDynamo n/a
eDynamo 1 to 255
iDynamo 6 0 to 255
kDynamo 1 to 255
tDynamo 0 to 255
cardType
Card Type to Read:
0x01 = Magnetic Stripe (as alternative to EMV L2, card swipe causes abort of EMV L2)
0x02 = Contact chip card
0x03 = Magnetic Stripe and Contact chip Card. 0x04 = Contactless chip card
0x05 = Magnetic Stripe and Contactless chip card. 0x06 = Contact chip card and Contactless chip card.
0x07 = Magnetic Stripe, Contact chip card, Contactless chip card.
Refer to Appendix C for supported devices.
Parameter
Description
option
0x00 = Normal 0x01 = Bypass PIN 0x02 = Force Online
0x04 = Acquirer not available (Note: prevents long timeout on waiting for host approval) (causes “decline” to be generated internally if ARQC is generated)
To use Quick Chip mode, set the most significant bit to ‘1’.
0x80 = Quick Chip, Normal 0x81 = Quick Chip, Bypass PIN 0x82 = Quick Chip, Force Online
Refer to Appendix C for supported devices.
amount
Amount Authorized (EMV Tag 9F02, format n12, 6 bytes) in hex string For example: “000000000999”, means 9.99 dollars.
transactionType
Valid values:
0x00 = Purchase (listed as “Payment” on ICS)
0x01 = Cash Advance (not supported for this reader)
0x02 or 0x09 = Cash back (0x09 only supported when using contactless) 0x04 = Goods (Purchase)
0x08 = Services (Purchase)
0x10 = International Goods (Purchase) 0x20 = Refund
0x40 = International Cash Advance or Cash Back 0x80 = Domestic Cash Advance or Cash Back
cashBack
Cash back Amount (if non-zero, EMV Tag 9F03, format n12, 6 bytes) in hex string.
For example: “000000001000”, means 10.00 dollars.
currencyCode
Transaction Currency Code (EMV Tag 5F2A, format n4, 2 bytes) Sample Valid values:
0x0840 – US Dollar 0x0978 – Euro 0x0826 – UK Pound
Parameter
Description
status
Indicates the status of User Selection:
0x00 – User Selection Request completed, see Selection Result 0x01 – User Selection Request aborted, cancelled by user
0x02 – User Selection Request aborted, timeout
selection
Indicates the menu item selected by the user. This is a single byte zero based binary value.
Parameter
Description
status
Result codes:
0x0000 = Success, the transaction was cancelled 0x038D = Failure, no transaction currently in progress
0x038F = Failure, transaction in progress, card already inserted
Parameter
Description
response
Hex string for the response data following TLV response message. For details about the ARQC format, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
length
Two byte binary, most significant byte first. This gives the total length of the Acquirer Response message that follows.
Parameter
Description
Command
Hexadecimal string of the byte array for the extended command. The first two bytes represent the value of the extended command. The next two bytes (most significant byte first) indicate the total length of the following data in bytes.
Parameter
Description
Command
Hexadecimal string of the byte array for the command.
reportingOption
(int) setUserSelectionResult:(Byte)status selection:(Byte)selection;(int) cancelTransaction(int) setAcquirerResponse:(Byte*)response length:(int)length(int) sendExtendedCommand:(NSString *)Command(NSString) sendCommandSync:(NSString *)CommandSend a synchronous extended command to device. Operation waits for the command to return.
(NSString) sendExtendedCommandSync:(NSString *)CommandParameters:
Parameter
Description
Command
Hexadecimal string of the byte array for the extended command. The first two bytes represent the value of the extended command. The next two bytes (most significant byte first) indicate the total length of the following data in bytes.
Return Value: String containing the response data of the command.
Set the timeout in milliseconds for a sync command or sync extended command. Default value is 5000 milleseconds.
(void) setTimeout:(NSUInteger)timeoutMSParameters:
Return Value: None.
Set the time frame (delay) for run loop or background thread. Default value is 10 milliseconds.
Parameters:
Return Value: None.
Enable the debug print from SDK. Default value is NO.
Parameters:
Return Value: None.
Updates the device firmware
Parameters:
Return Value:
0 = UPDATE_FIRMWARE_STARTED
1 = UPDATE_FIRMWARE_SUCCESS
9 = UPDATE_FIRMWARE_ERROR
15 = UPDATE_FIRMWARE_NA
This function sends a command to an NFC tag type 2. The NFC tag must first be activated by calling startTransaction() with NFC enabled.
(int) sendNFCCommand: (NSString*) command lastCommand :(BOOL) lastCommand :encrypt : (BOOL) encrypt;
Parameters:
Return Value:
· 0 = Success
· 9 = Error
· 15 = Busy
This function sends a command to a NFC Mifare Classic Tag type 2. The NFC tag must first be activated by calling startTransaction() with NFC enabled.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
This function sends a command to an NFC Mifare DESFire Light Tag Type 4. The NFC tag must first be activated by calling startTransaction() with NFC enabled.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
This function sends a command to an NFC tag type 2. The NFC tag must first be activated by calling startTransaction() with NFC enabled.
Parameters:
Return Value:
· Extended response of the NFC command.
This function sends a command to an NFC tag type 2. The NFC tag must first be activated by calling startTransaction() with NFC enabled.
Parameters:
Return Value:
0 = Success
9 = Error
15 = Busy
Parameter
Description
timeoutMS
Timeout in milliseconds.
Parameter
Description
ms
Time frame delay in milliseconds.
Parameter
Description
enabled
When set to true, the SDK prints debugging messages in the XCode debug console. Debug messages consist of data sent to and received from the device. This may include iAP2.
Parameter
Description
firmwareType
Type of firmware to update.
· 1 - Main Firmware
firmwareData
Firmware data.
Parameter
Description
command
Command to send to the NFC tag.
· Get Version
· Read
· Fast Read
· Write
· Compatibility Write
· Read_Cnt
· PWD_Auth
· Read_Sig
lastCommand
Determines if this is the last NFC command to complete the operation.
true = This is the last command. Device will provide a single beep after receiving a successful response from the NFC tag. To send subsequent commands, the NFC tag must be activated by calling startTransaction() with NFC enabled.
false = Expect more commands (Default).
Either set to true or false, if the NFC tag command fails, device will provide a double beep.
encrypt
Determines if data returned is to be encrypted.
true = Encrypt data
false = Do not encrypt data (Default)
Parameter
Description
lastCommand
Determines if this is the last NFC command to complete the operation.
true = This is the last command. Device will provide a single beep after receiving a successful response from the NFC tag. To send subsequent commands, the NFC tag must be activated by calling startTransaction() with NFC enabled.
false = Expect more commands (Default).
Either set to true or false, if the NFC tag command fails, device will provide a double beep.
encrypt
Determines if data returned is to be encrypted.
true = Encrypt data
false = Do not encrypt data (Default)
Parameter
Description
command
Command to send to the NFC tag. See DESFire Data Sheet (MF2DLHX0). Should follow ISO 7816-4 APDU format.
lastCommand
Determines if this is the last NFC command to complete the operation.
true = This is the last command. Device will provide a single beep after receiving a successful response from the NFC tag. To send subsequent commands, the NFC tag must be activated by calling startTransaction() with NFC enabled.
false = Expect more commands (Default).
Either set to true or false, if the NFC tag command fails, device will provide a double beep.
encrypt
Determines if data returned is to be encrypted.
true = Encrypt data
false = Do not encrypt data (Default)
Parameter
Description
command
Command to send to the NFC tag.
· Get Version
· Read
· Fast Read
· Write
· Compatibility Write
· Read_Cnt
· PWD_Auth
· Read_Sig
lastCommand
Determines if this is the last NFC command to complete the operation.
true = This is the last command. Device will provide a single beep after receiving a successful response from the NFC tag. To send subsequent commands, the NFC tag must be activated by calling startTransaction() with NFC enabled.
false = Expect more commands (Default).
Either set to true or false, if the NFC tag command fails, device will provide a double beep.
encrypt
Determines if data returned is to be encrypted.
true = Encrypt data
false = Do not encrypt data (Default)
Parameter
Description
command
Command to send to the NFC tag.
· Get Version
· Read
· Fast Read
· Write
· Compatibility Write
· Read_Cnt
· PWD_Auth
· Read_Sig
lastCommand
Determines if this is the last NFC command to complete the operation.
true = This is the last command. Device will provide a single beep after receiving a successful response from the NFC tag. To send subsequent commands, the NFC tag must be activated by calling startTransaction() with NFC enabled.
false = Expect more commands (Default).
Either set to true or false, if the NFC tag command fails, device will provide a double beep.
encrypt
Determines if data returned is to be encrypted.
true = Encrypt data
false = Do not encrypt data (Default)
response
Callback to receive the response.
(void) setTimeFrame:(unsigned int)ms.(void) enableDebugPrint:(BOOL)enabled.(int) updateFirmware: (int) firmwareType Data : (NSData*) firmwareData;(int) sendClassicNFCCommand: (NSString*) command lastCommand :(BOOL) lastCommand encrypt : (BOOL) encrypt;(int) sendDESFireNFCCommand: (NSString*) command lastCommand :(BOOL) lastCommand encrypt : (BOOL) encrypt;(NSString*) sendNFCCommandSync: (NSString*) command lastCommand :(BOOL) lastCommand encrypt : (BOOL) encrypt;(int) sendNFCCommandAsync: (NSString*) command lastCommand :(BOOL) lastCommand encrypt : (BOOL) encrypt response : (void (^)(NSString*)) response;The device does not have an on-screen configuration interface. However, it does have settings the host can change using commands. These settings are documented as Properties in iDynamo 5 Gen III Programmers Manual Commands
Property ID:
0x23
Property Type:
Character
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
If the value is 0, the device does not send a delimiter which is not recommended.
The device uses this character for the Track 1 start sentinel when it recognizes the track is encoded in the standard ISO format for Track 1.
The device uses this character for the Track 2 start sentinel when it recognizes the track is encoded in the standard ISO format for Track 2.
The device uses this character for the Track 3 start sentinel when it recognizes the track is encoded in the standard ISO format for Track 3.
The device uses this character for the Track 3 start sentinel when it recognizes the track is encoded in the standard Track 3 AAMVA format.
The device uses this character for the Track 2 start sentinel when it recognizes the track is encoded in the 7-bit ISO format, normally used for Track 1.
The device uses this character for the Track 3 start sentinel when it recognizes the track is encoded in the 7-bit ISO format, normally used for Track 1.
The device uses this character for all track end sentinels.
This property designates whether cards which do not decode as either ISO/ABA (Financial) or AAMVA (Driver License) format should be sent with their data masked or unmasked. The default value (0x00) is to send the data unmasked. If this property is set to 0x01, the device sends the track(s) to the host using a “0” for each byte of track data the device reads from the card.
If a card is encoded according to ISO/ABA rules (Track 1 in 7-bit format, Tracks 2 and Track 3 in 5-bit format), and it’s not a QWANTUM card, and Track 1 does not begin with the character ‘B’, the device always sends the Track 1 Masked Data value unmasked, regardless of the value of this property.
An AAMVA card is typically used for Drivers Licenses and ID cards.
0 = Sends masked AAMVA card data.
1 = Sends clear AAMVA card data.
This read-only property returns the boot firmware part number, a dash, the major and minor revision number, followed by a dash and the firmware type.
The device and host software use this value as part of the iAP2 connection process. The value of this property is generally the device purchaser’s or host software developer’s reverse DNS name in all uppercase and must be specified by the purchaser and set by the manufacturer during manufacturing configuration. For further details about the requirements, purpose, and use of this property, see ExternalAccessoryProtocolName in Apple’s software developer documentation.
This property controls how long the device pauses between each key report. This delay can be adjusted between 0 and 250 milliseconds. Some host devices cannot handle full speed keyboard input without dropping key presses, so delays can be added. The time needed to send the entire message also increases.
This property specifies which variant of the current TDES DUKPT Key the device uses to encrypt card data.
0x00 = Use PIN Encryption variant (Ignored when using an AES DUKPT key)
0x01 = Use Data Encryption, request or both ways variant
Smooth deployment of an iDynamo 5 solution requires some up-front planning and decision-making:
Determine the overall functional requirements and desired user experience of the solution iDynamo will be integrated into. For example, how iDynamo 5 and its host will be physically presented to the cardholder. This includes whether the solution will be handheld or permanently mounted in a stand or enclosure, and whether the solution is intended to be used in portrait or landscape orientation. When planning placement, be sure to consider:
Permanently mounted solutions should be within reasonable cabling distance from the power source; handheld solutions need a designated secure location with charging power available.
Upon receiving the device, inspect it to make sure it originated from an authentic source and has not been tampered with. For details, see iDynamo 5 Gen III SRED, Device Inspection Manual, available from MagTek.
From device delivery through assembly, shipping, installation, usage, and maintenance, the device must not be exposed to conditions outside the ratings in Appendix A Technical Specifications.
If the device is exposed to cold temperatures, adjust it to warmer temperatures gradually to avoid condensation, which can interfere with the operation of the device or cause permanent damage.
Do not drop or shake the device.
For information about ongoing maintenance of the device, such as cleaning, see section 7 Maintenance.
iDynamo 5 products that are PCI certified implement an active tamper detection, which uses a small amount of electricity even when the device is completely powered off. To avoid accidental tamper events follow these precautions:
Store the device at the lowest reasonable temperatures within its specified storage temperature range (see Appendix A Technical Specifications). Storing at temperatures between -4°F to 113°F (-20°C to 45°C).
Determine what documentation and training will be required from solution design through testing and field deployment. For example, it may be necessary to develop a solution-specific installation procedure for technicians, and training materials for operators.
Determine what type of host iDynamo 5 will connect to. Use Table 2-1 to determine which model of iDynamo is appropriate for your solution, and use Table 2-2 to determine which adapters and accessories you need. When planning, include any additional support or devices required by the host, such as physical locations, mounting, and power connections.
Determine how the host and iDynamo 5 will be mounted.
Determine what software will be installed on the host and how it will be configured. Software can include operating system, transaction processing software, security software, and so on. Include any additional support required by the software, such as network connections.
Determine how iDynamo should be configured and specify when you order devices. MagTek or your reseller can advise. For deep detail about configuration options and how they affect device behavior, see iDynamo 5 Gen III Programmer’s Manual (COMMANDS)
Determine how iDynamo 5 will be branded. In large quantities, MagTek can accommodate custom branding colors and trade dress. Contact a representative for details.
Determine how the solution will be tested and, if appropriate, how it will be certified.
Determine how the solution will be maintained. See Maintenance for guidance on maintaining the iDynamo 5 portion of the solution.
Determine how the solution will be regularly inspected for tampering, unauthorized added components such as eavesdropping or skimming devices, and so on. Proper inspection requires additional solution-specific training, instructions, and visual references.
Table 2-1 - iDynamo Models
21087027
USBC, PCI, Reader
21087028
USBC, Non-PCI, Reader
Table 2-2 - iDynamo Accessories
96700025
Cleaning Accessory, Alcohol Cleaning Card (Optional)
1000009531
Cable, USB-C To USB-C, Right Angle 90 Degree
1000009471
Cable, USB-C to Lightning C78, VBUS-23 AWG
Do not drop or shake the device.
Do not attempt to disassemble the device.
Periodic cleaning of iDynamo’s exterior may be required. To clean the outside of iDynamo, wipe it down with a soft, damp, lint-free cloth and then wipe it dry.
MagTek’s double-sided cleaning card 96700004 is designed to clean the magnetic read head in the MSR swipe path. Keeping the head clean is essential to the device’s functioning. MagTek recommends swiping a cleaning card once per week to avoid card misreads.
0x7C (‘|’)
Property ID:
0x24
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x25 (‘%’)
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x3B (‘;’)
Property ID:
0x26
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x2B (‘+’)
Property ID:
0x27
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x23 (‘#’)
Property ID:
0x28
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x40 (‘@’)
Property ID:
0x29
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x26 (‘&’)
Property ID:
0x2B
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x3F (‘?’)
Property ID:
0x31
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x00 (Don’t Mask Other cards)
Property ID:
0x34
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x00
Property ID:
0x3A
Property Type:
String
Length:
varies
Get Property:
Yes
Set Property:
No
Default Value:
N/A
Property ID:
0x51
Property Type:
String
Length:
0..51 byte
Get Property:
Yes
Set Property:
Yes (secure MAC)
Default Value:
com.magtek.idynamo
Property ID:
0x53
Property Type:
Binary
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x04 (4 ms)
Property ID:
0x54
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes (Secure MAC)
Default Value:
0x01 (Data Variant)
{boot fw pn}-{rev}-PCI
Example: 1000004854-AA0-PCIMagTek warrants that the products sold pursuant to this Agreement will perform in accordance with MagTek’s published specifications. This warranty shall be provided only for a period of one year from the date of the shipment of the product from MagTek (the “Warranty Period”). This warranty shall apply only to the “Buyer” (the original purchaser, unless that entity resells the product as authorized by MagTek, in which event this warranty shall apply only to the first repurchaser).
During the Warranty Period, should this product fail to conform to MagTek’s specifications, MagTek will, at its option, repair or replace this product at no additional charge except as set forth below. Repair parts and replacement products will be furnished on an exchange basis and will be either reconditioned or new. All replaced parts and products become the property of MagTek. This limited warranty does not include service to repair damage to the product resulting from accident, disaster, unreasonable use, misuse, abuse, negligence, or modification of the product not authorized by MagTek. MagTek reserves the right to examine the alleged defective goods to determine whether the warranty is applicable.
Without limiting the generality of the foregoing, MagTek specifically disclaims any liability or warranty for goods resold in other than MagTek’s original packages, and for goods modified, altered, or treated without authorization by MagTek.
Service may be obtained by delivering the product during the warranty period to MagTek (1710 Apollo Court, Seal Beach, CA 90740). If this product is delivered by mail or by an equivalent shipping carrier, the customer agrees to insure the product or assume the risk of loss or damage in transit, to prepay shipping charges to the warranty service location, and to use the original shipping container or equivalent. MagTek will return the product, prepaid, via a three (3) day shipping service. A Return Material Authorization (“RMA”) number must accompany all returns. Buyers may obtain an RMA number by contacting MagTek Support Services at (888) 624-8350.
EACH BUYER UNDERSTANDS THAT THIS MAGTEK PRODUCT IS OFFERED AS-IS. MAGTEK MAKES NO OTHER WARRANTY, EXPRESS OR IMPLIED, AND MAGTEK DISCLAIMS ANY WARRANTY OF ANY OTHER KIND, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
This document describes how to communicate with iDynamo 5 Gen III secure card reader (SCR) equipped with the MP application specific integrated circuit (ASIC).
MagTek provides convenient software development kits (SDKs) and corresponding documentation for various programming languages and operating systems. The API libraries included in the SDKs wrap the details of the connection in an interface that conceptually parallels the device’s internal operation, freeing software developers to focus on the business logic, without having to deal with the complexities of platform APIs for connecting to the various available connection types, communicating using the various available protocols, and parsing the various available data formats. Information about using MagTek wrapper APIs is available in separate documentation, including D99875535 Secure Card Reader Authenticator API PROGRAMMING REFERENCE MANUAL.
The SDKs and corresponding documentation include:
Functions for sending the direct commands described in this manual
Wrappers for commonly used commands that further simplify development
Custom host software uses the same underlying device command set to communicate with all available iDynamo models. This section provides high-level information about communicating with the device and provides pointers to select API references and sample code.
MagTek produces software development kits (SDKs) with API libraries that provide higher-level functions wrapped around USB HID communication protocols. These libraries simplify the development of custom host software that interfaces with iDynamo 5. See:
· SOFTWARE, SDK, DYNAMAG, DYNAMAX, DYNAWAVE, EDYNAMO, IDYNAMO 6, MDYNAMO, TDYNAMO (WINDOWS C++ / JAVA)
· SOFTWARE, SDK, ADYNAMO, DYNAMAG, DYNAMAX, DYNAWAVE, EDYNAMO, IDYNAMO 6, MDYNAMO, TDYNAMO, UDYNAMO (WINDOWS .NET)
· SDK - MAGTEK SCRA - ANDROID, DYNAMAG, DYNAMAX, EDYNAMO, UDYNAMO, ADYNAMO, BULLET, MDYNAMO, TDYNAMO(GEN I, II), DYNAWAVE, IDYNAMO 6, AND DYNAGLASS
In addition to MagTek’s SDKs, custom software on any operating system can communicate directly with the device using the operating system’s native USB libraries and protocols. For details see iDynamo 5 Gen III Programmer’s Manual COMMANDS.
MagTek produces software development kits (SDKs) with API libraries that provide higher-level functions wrapped around Lightning communication protocols. These libraries simplify the development of custom host software that interfaces with iDynamo.
See DYNAMAX / EDYNAMO
For SCRA V5 devices please refer to respective command reference:
D998200115 (eDyanmo)
D998200176 (Dynamag)
D998200175 (DynaMAX)
D99875466 (MicrSafe)
For PINPAD devices please refer to the respective command reference:
D99875585 (DynaPro)
D99875629 (DynaPro Mini)
D998200136 (DynaPro Go)
Sample source code to demonstrate how to communicate with the device using the direct commands described in this manual
To download the SDKs and documentation, search www.magtek.com for “SDK” and select the SDK and documentation for the programming languages and platforms you need, or contact MagTek Support Services for assistance.
Software developers also have the option to revert to direct communication with the device using libraries available in the chosen development framework. For example, custom software written in Visual Basic or visual C++ may make API calls to the standard Windows USB HID driver. This document provides information and support for developing host software using that method.
MagTek has also developed software that demonstrates direct communication with the device, which software developers can use to test the device, and which provides a starting point for developing other software. For more information, see the MagTek web site, or contact your reseller or MagTek Support Services.
The general terms “device” and “host” are used in different, often incompatible ways in a multitude of specifications and contexts. For example, “host” may have different a meaning in the context of USB communication than in the context of networked financial transaction processing. In this document, “device” and “host” are used strictly as follows:
Device refers to the Secure Card Reader Authenticator (SCRA) that receives and responds to the command set specified in this document; device refers to iDynamo 5 Gen III.
Host refers to the piece of general-purpose electronic equipment the device is connected or paired to, which can send data to and receive data from the device. Host types include PC and Mac computers/laptops, tablets, smartphones, teletype terminals, and even test harnesses. In many cases the host may have custom software installed on it that communicates with the device. When “host” must be used differently, it is qualified as something specific, such as “acquirer host” or “USB host.”
Similarly, the word “user” is used in different ways in different contexts. This document separates users into more descriptive categories:
The cardholder
The operator (such as a cashier, bank teller, customer service representative, or server), and
The developer or the administrator (such as an integrator configuring the device for the first time).
Because some connection types, payment brands, and other vocabulary name spaces (notably Bluetooth® (LE), EMV, smart phones, and more recent versions of Windows) use very specific meanings for the term “Application,” this document favors the term software to refer to software on the host that provides a user interface for the operator.
The combination of device(s), host(s), software, firmware, configuration settings, physical mounting and environment, user experience, and documentation is referred to as the solution.
All product software and documentation is available from www.magtek.com.
In addition to MagTek’s SDK API libraries, custom host software can communicate directly with the device using Apple’s ExternalAccessory Framework, with sample code available in the form of Apple’s EADemo app. For details, see:
iDynamo 5 Gen III Programmer’s Manual COMMANDS, available from MagTek.
For more information about developing custom host software that integrates with iDynamo, see the MagTek website or contact your reseller or MagTek Support Services.
IF THIS PRODUCT DOES NOT CONFORM TO MAGTEK’S SPECIFICATIONS, THE SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE. MAGTEK’S LIABILITY, IF ANY, SHALL IN NO EVENT EXCEED THE TOTAL AMOUNT PAID TO MAGTEK UNDER THIS AGREEMENT. IN NO EVENT WILL MAGTEK BE LIABLE TO THE BUYER FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF, OR INABILITY TO USE, SUCH PRODUCT, EVEN IF MAGTEK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
LIMITATION ON LIABILITY
EXCEPT AS PROVIDED IN THE SECTIONS RELATING TO MAGTEK’S LIMITED WARRANTY, MAGTEK’S LIABILITY UNDER THIS AGREEMENT IS LIMITED TO THE CONTRACT PRICE OF THIS PRODUCT.
MAGTEK MAKES NO OTHER WARRANTIES WITH RESPECT TO THE PRODUCT, EXPRESSED OR IMPLIED, EXCEPT AS MAY BE STATED IN THIS AGREEMENT, AND MAGTEK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
MAGTEK SHALL NOT BE LIABLE FOR CONTINGENT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES TO PERSONS OR PROPERTY. MAGTEK FURTHER LIMITS ITS LIABILITY OF ANY KIND WITH RESPECT TO THE PRODUCT, INCLUDING NEGLIGENCE ON ITS PART, TO THE CONTRACT PRICE FOR THE GOODS.
MAGTEK’S SOLE LIABILITY AND BUYER’S EXCLUSIVE REMEDIES ARE STATED IN THIS SECTION AND IN THE SECTION RELATING TO MAGTEK’S LIMITED WARRANTY.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Testing for compliance with CE requirements was performed by an independent laboratory. The unit under test was found compliant with standards established for Class B devices.
This product is recognized per UL 60950-1, 2nd Edition, 2011-12-19 (Information Technology Equipment - Safety - Part 1: General Requirements), CSA C22.2 No. 60950-1-07, 2nd Edition, 2011-12 (Information Technology Equipment - Safety - Part 1: General Requirements).
When ordered as RoHS compliant, this product meets the Electrical and Electronic Equipment (EEE) Reduction of Hazardous Substances (RoHS) European Directive 2002/95/EC. The marking is clearly recognizable, either as written words like “Pb-free,” “lead-free,” or as another clear symbol ( ).
Manual Part Number: D998200207-30 REGISTERED TO ISO 9001:2015
Information in this publication is subject to change without notice and may contain technical inaccuracies or graphical discrepancies. Changes or improvements made to this product will be updated in the next publication release. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc.
MagTek® is a registered trademark of MagTek, Inc. MagnePrint® is a registered trademark of MagTek, Inc. Magensa™ is a trademark of MagTek, Inc.
MagneSafe® is a registered trademark of MagTek, Inc. iDynamo™, and uDynamo are trademarks of MagTek, Inc.
eDynamo™, Dynamag, and DynaMAX are trademarks of MagTek, Inc.
DynaPro Mini™, DynaPro™, and DynaPro Go™ are trademarks of MagTek, Inc.
The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by MagTek is under license
Microsoft® and Windows® are registered trademarks of Microsoft Corporation.
All other system names and product names are the property of their respective owners.
IMPORTANT: YOU SHOULD CAREFULLY READ ALL THE TERMS, CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE INSTALLING THE SOFTWARE PACKAGE. YOUR INSTALLATION OF THE SOFTWARE PACKAGE PRESUMES YOUR ACCEPTANCE OF THE TERMS, CONDITIONS, AND RESTRICTIONS CONTAINED IN THIS AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, CONDITIONS, AND RESTRICTIONS, PROMPTLY RETURN THE SOFTWARE PACKAGE AND ASSOCIATED DOCUMENTATION TO THE ADDRESS ON THE FRONT PAGE OF THIS DOCUMENT, ATTENTION: CUSTOMER SUPPORT.
MagTek, Incorporated (the "Licensor") owns and has the right to distribute the described software and documentation, collectively referred to as the "Software."
LICENSE: Licensor grants you (the "Licensee") the right to use the Software in conjunction with MagTek products. LICENSEE MAY NOT COPY, MODIFY, OR TRANSFER THE SOFTWARE IN WHOLE OR IN PART EXCEPT AS EXPRESSLY PROVIDED IN THIS AGREEMENT. Licensee may not decompile, disassemble, or in any other manner attempt to reverse engineer the Software. Licensee shall not tamper with, bypass, or alter any security features of the software or attempt to do so.
TRANSFER: Licensee may not transfer the Software or license to the Software to another party without the prior written authorization of the Licensor. If Licensee transfers the Software without authorization, all rights granted under this Agreement are automatically terminated.
COPYRIGHT: The Software is copyrighted. Licensee may not copy the Software except for archival purposes or to load for execution purposes. All other copies of the Software are in violation of this Agreement.
TERM: This Agreement is in effect as long as Licensee continues the use of the Software. The Licensor also reserves the right to terminate this Agreement if Licensee fails to comply with any of the terms, conditions, or restrictions contained herein. Should Licensor terminate this Agreement due to Licensee's failure to comply, Licensee agrees to return the Software to Licensor. Receipt of returned Software by the Licensor shall mark the termination.
LIMITED WARRANTY: Licensor warrants to the Licensee that the disk(s) or other media on which the Software is recorded are free from defects in material or workmanship under normal use.
THE SOFTWARE IS PROVIDED AS IS. LICENSOR MAKES NO OTHER WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Because of the diversity of conditions and PC hardware under which the Software may be used, Licensor does not warrant that the Software will meet Licensee specifications or that the operation of the Software will be uninterrupted or free of errors.
IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY TO USE, THE SOFTWARE. Licensee's sole remedy in the event of a defect in material or workmanship is expressly limited to replacement of the Software disk(s) if applicable.
GOVERNING LAW: If any provision of this Agreement is found to be unlawful, void, or unenforceable, that provision shall be removed from consideration under this Agreement and will not affect the enforceability of any of the remaining provisions. This Agreement shall be governed by the laws of the State of California and shall inure to the benefit of MagTek, Incorporated, its successors or assigns.
ACKNOWLEDGMENT: LICENSEE ACKNOWLEDGES THAT HE HAS READ THIS AGREEMENT, UNDERSTANDS ALL OF ITS TERMS, CONDITIONS, AND RESTRICTIONS, AND AGREES TO BE BOUND BY THEM. LICENSEE ALSO AGREES THAT THIS AGREEMENT SUPERSEDES ANY AND ALL VERBAL AND WRITTEN COMMUNICATIONS BETWEEN LICENSOR AND LICENSEE OR THEIR ASSIGNS RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.
QUESTIONS REGARDING THIS AGREEMENT SHOULD BE ADDRESSED IN WRITING TO MAGTEK, INCORPORATED, ATTENTION: CUSTOMER SUPPORT, AT THE ADDRESS LISTED IN THIS DOCUMENT, OR E-MAILED TO
iDynamo 5 Gen III is a compact secure card reader (SCR) that reads magnetic stripe cards that conform to ISO standards. iDynamo models are made to work with multiple host operating systems including Windows and Android devices connecting via USB-C. iDynamo can also connect to iOS host devices via a USB-C to Lightning adaptor, see Table 2-2 - iDynamo Accessories.
In addition to reading multiple tracks of data from a card, iDynamo models incorporate MagnePrint technology, so a card’s unique MagnePrint fingerprint is included with the track data in each transaction.
To maximize card security, when a cardholder swipes a card, the device encrypts card data and MagnePrint data before they leave the encapsulated magnetic stripe reader head using the Triple Data Encryption Algorithm (TDEA, also known as Triple DES).
iDynamo models manage encryption keys using DUKPT (Derived Unique Key Per Transaction) key management. DUKPT uses a base derivation key to encrypt a key serial number that produces an initial encryption key which is injected into the device prior to deployment. After each transaction, the encryption key is modified per the DUKPT algorithm, so each transaction uses a unique key. The data is encrypted with a different key for each transaction.
Uses USB-C Receptacle compatible with Android, iOS, and Windows Devices.
Bi-directional card reading.
Reads encoded data that meets ANSI/ISO/AAMVA standards.
Reads up to three tracks of card data.
Non-volatile memory for storage of protected and settable properties (such as unit serial number).
MagnePrint supports Extended MP 198 bytes.
Contains a unique, permanent serial number for tracking.
Encrypts track data MagnePrint values before they leave the magnetic stripe reader head.
Provides no clear text confirmation for cardholder Name, Expiration Date, Service Code, and a portion of the PAN as part of the masked track data.
Supports mutual authentication mode for use with Magensa.net.
Qwantum card supported.
Major components for iDynamo 5 Gen III are shown below.
Figure 1-1 - iDynamo 5 Gen III Major Components (Front)
Figure 1-2 - iDynamo 5 Gen III Major Components (Back)
In this document, iDynamo 5 models are referred to as the device. It is designed to be connected to a host, which is a piece of general-purpose electronic equipment that can send commands and data to, and receive data from, the device. Host types for iDynamo 5 include a variety of Android, Windows, and iOS devices. Generally, the host must have softwareinstalled that communicates with the device and is capable of processing transactions. During a transaction, the host and its software interact with the operator, such as a cashier or bank teller, while the device interacts with the cardholder.
REGISTERED TO ISO 9001:2015
Copyright © 2006 - 2024 MagTek, Inc. Printed in the United States of America
Information in this publication is subject to change without notice and may contain technical inaccuracies or graphical discrepancies. Changes or improvements made to this product will be updated in the next publication release. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc.
MagTek® is a registered trademark of MagTek, Inc. MagnePrint® is a registered trademark of MagTek, Inc. MagneSafe® is a registered trademark of MagTek, Inc. Magensa™ is a trademark of MagTek, Inc.
iDynamo™ is a trademark of MagTek, Inc.
ANSI®, the ANSI logo, and numerous other identifiers containing "ANSI" are registered trademarks, service marks, and accreditation marks of the American National Standards Institute (ANSI).
ISO® is a registered trademark of the International Organization for Standardization. UL™ and the UL logo are trademarks of UL LLC.
PCI Security Standards Council® is a registered trademark of the PCI Security Standards Council, LLC.
Apple Pay®, Apple Wallet®, iPhone®, iPod®, Mac®, and OS X® are registered trademarks of Apple Inc., registered in the U.S. and other countries. iPad™ is a trademark of Apple. Inc. App StoreSM is a service mark of Apple Inc., registered in the U.S. and other countries. Apple and MFi are registered trademarks of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple Inc. under license.
Google Play™ store, Google Wallet™ payment service, and Android™ platform are trademarks of Google LLC.
Microsoft®, Windows®, and .NET® are registered trademarks of Microsoft Corporation. All other system names and product names are the property of their respective owners
Welcome to the resource hub for the iDynamo 5 Gen III, a compact and versatile secure card reader (SCR) designed for modern point-of-sale (P2PE) environments. It reads ISO-standard magnetic stripe cards and offers universal connectivity across iOS, Android, and Windows platforms via USB (Keyboard, HID, iAP2). This section provides all the documentation, software, and developer tools you need to successfully integrate, manage, and support the iDynamo 5 Gen III.
Reference Section
Information Available
This page provides comprehensive developer documentation for the iDynamo 5 Gen III, including programmer’s manuals, demo guides, and SDK references.
REGISTERED TO ISO 9001:2015
Copyright © 2018 - 2024 MagTek, Inc. Printed in the United States of America
INFORMATION IN THIS PUBLICATION IS SUBJECT TO CHANGE WITHOUT NOTICE AND MAY CONTAIN TECHNICAL INACCURACIES OR GRAPHICAL DISCREPANCIES. CHANGES OR IMPROVEMENTS MADE TO THIS PRODUCT WILL BE UPDATED IN THE NEXT PUBLICATION RELEASE. NO PART OF THIS DOCUMENT MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS, ELECTRONIC OR MECHANICAL, FOR ANY PURPOSE, WITHOUT THE EXPRESS WRITTEN PERMISSION OF MAGTEK, INC.
MagTek®, MagnePrint®, and MagneSafe® are registered trademarks of MagTek, Inc. Magensa™ is a trademark of MagTek, Inc.
iDynamo 5 Gen III™ is a trademark of MagTek, Inc.
AAMVA™ is a trademark of AAMVA.
American Express® and EXPRESSPAY FROM AMERICAN EXPRESS® are registered trademarks of American Express Marketing & Development Corp.
D-PAYMENT APPLICATION SPECIFICATION® is a registered trademark to Discover Financial Services CORPORATION
MasterCard® is a registered trademark and PayPass™ and Tap & Go™ are trademarks of MasterCard International Incorporated.
Visa® and Visa payWave® are registered trademarks of Visa International Service Association.
ANSI®, the ANSI logo, and numerous other identifiers containing "ANSI" are registered trademarks, service marks, and accreditation marks of the American National Standards Institute (ANSI).
Installing iDynamo is a straightforward process: The acquirer or manufacturer configures the encryption keys before deployment. Operators need only set up a host with appropriate software, configure the software, and connect the device to the host. This section provides general information about setting up solutions that incorporate iDynamo, including installing host software and connecting the device.
Before unpacking the device, it is important to inspect its secure packaging to make sure it has not been tampered with in storage or in transit. MagTek provides details for inspecting the integrity of the device’s secure packaging in iDynamo 5 Gen III SRED, Package Inspection Manual
It is important to thoroughly inspect a new device before deployment, and regularly inspect devices in live usage (including its immediate surroundings) to make sure malicious individuals have not tampered with it. MagTek recommends conducting inspection training for all device operators, and an inspection schedule with checkpoints in place to make sure operators are performing inspections as specified and as scheduled. MagTek provides an easy-to-follow device inspection reference iDynamo 5 Gen III SRED, Device Inspection Manual.
In any solution, iDynamo is connected to a host, which must have software installed that can communicate with the device, and perform the actions intended to be carried out when a cardholder swipes a card. To set up the host software to work with iDynamo, follow the installation and configuration instructions provided by the vendor of the host or the host software. For details about developing host software, see section 8 Developing Custom Host Software.
Connecting to an Android Host
To connect iDynamo 5 to an Android host that supports USB-C, follow these steps:
This page provides comprehensive developer documentation for the iDynamo 5 Gen III, including programmer’s manuals, demo guides, and SDK references to help you integrate the secure card reader authenticator into your applications across Windows, Android, and iOS platforms.
This page provides comprehensive documentation for the iDynamo 5 Gen III secure card reader authenticator (SCRA), including developer guides, user manuals, and security policies to support integration and operation across iOS, Android, and Windows platforms.
🕐 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





Rev Number
Date
Notes
100
January 02, 2024
Initial Release

ISO® is a registered trademark of the International Organization for Standardization. UL™ and the UL logo are trademarks of UL LLC.
PCI Security Standards Council® is a registered trademark of the PCI Security Standards Council, LLC. EMV® is a registered trademark in the U.S. and other countries and an unregistered trademark elsewhere. The EMV trademark is owned by EMVCo, LLC. The Contactless Indicator mark, consisting of four graduating arcs, is a trademark owned by and used with permission of EMVCo, LLC.
The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by MagTek is under license.
Google Play™ store, Google Wallet™ payment service, and Android™ platform are trademarks of Google Inc.
Apple Pay®, iPhone®, iPod®, Mac®, and OS X® are registered trademarks of Apple Inc., registered in the U.S. and other countries. iPad™ is a trademark of Apple. Inc. App StoreSM is a service mark of Apple Inc., registered in the U.S. and other countries. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple Inc. under license.
Microsoft®, Windows®, and .NET® are registered trademarks of Microsoft Corporation. NFC is governed by The NFC Forum.
All other system names and product names are the property of their respective owners.
MagTek warrants that the products sold pursuant to this Agreement will perform in accordance with
MagTek’s published specifications. This warranty shall be provided only for a period of one year from the date of the shipment of the product from MagTek (the “Warranty Period”). This warranty shall apply only to the “Buyer” (the original purchaser, unless that entity resells the product as authorized by MagTek, in which event this warranty shall apply only to the first repurchaser).
During the Warranty Period, should this product fail to conform to MagTek’s specifications, MagTek will, at its option, repair or replace this product at no additional charge except as set forth below. Repair parts and replacement products will be furnished on an exchange basis and will be either reconditioned or new. All replaced parts and products become the property of MagTek. This limited warranty does not include service to repair damage to the product resulting from accident, disaster, unreasonable use, misuse, abuse, negligence, or modification of the product not authorized by MagTek. MagTek reserves the right to examine the alleged defective goods to determine whether the warranty is applicable.
Without limiting the generality of the foregoing, MagTek specifically disclaims any liability or warranty for goods resold in other than MagTek’s original packages, and for goods modified, altered, or treated without authorization by MagTek.
Service may be obtained by delivering the product during the warranty period to MagTek (1710 Apollo Court, Seal Beach, CA 90740). If this product is delivered by mail or by an equivalent shipping carrier, the customer agrees to insure the product or assume the risk of loss or damage in transit, to prepay shipping charges to the warranty service location, and to use the original shipping container or equivalent. MagTek will return the product, prepaid, via a three (3) day shipping service. A Return Material
Authorization (“RMA”) number must accompany all returns. Buyers may obtain an RMA number by contacting MagTek Support Services at (888) 624-8350.
EACH BUYER UNDERSTANDS THAT THIS MAGTEK PRODUCT IS OFFERED AS-IS. MAGTEK MAKES NO OTHER WARRANTY, EXPRESS OR IMPLIED, AND MAGTEK DISCLAIMS ANY WARRANTY OF ANY OTHER KIND, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IF THIS PRODUCT DOES NOT CONFORM TO MAGTEK’S SPECIFICATIONS, THE SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE. MAGTEK’S LIABILITY, IF ANY, SHALL IN NO EVENT EXCEED THE TOTAL AMOUNT PAID TO MAGTEK UNDER THIS AGREEMENT. IN NO EVENT WILL MAGTEK BE LIABLE TO THE BUYER FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF, OR INABILITY TO USE, SUCH PRODUCT, EVEN IF MAGTEK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
LIMITATION ON LIABILITY
EXCEPT AS PROVIDED IN THE SECTIONS RELATING TO MAGTEK’S LIMITED WARRANTY, MAGTEK’S LIABILITY UNDER THIS AGREEMENT IS LIMITED TO THE CONTRACT PRICE OF THIS PRODUCT.
MAGTEK MAKES NO OTHER WARRANTIES WITH RESPECT TO THE PRODUCT, EXPRESSED OR IMPLIED, EXCEPT AS MAY BE STATED IN THIS AGREEMENT, AND MAGTEK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
MAGTEK SHALL NOT BE LIABLE FOR CONTINGENT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES TO PERSONS OR PROPERTY. MAGTEK FURTHER LIMITS ITS LIABILITY OF ANY KIND WITH RESPECT TO THE PRODUCT, INCLUDING NEGLIGENCE ON ITS PART, TO THE CONTRACT PRICE FOR THE GOODS.
MAGTEK’S SOLE LIABILITY AND BUYER’S EXCLUSIVE REMEDIES ARE STATED IN THIS SECTION AND IN THE SECTION RELATING TO MAGTEK’S LIMITED WARRANTY.
IMPORTANT: YOU SHOULD CAREFULLY READ ALL THE TERMS, CONDITIONS AND RESTRICTIONS OF THIS LICENSE AGREEMENT BEFORE INSTALLING THE SOFTWARE PACKAGE. YOUR INSTALLATION OF THE SOFTWARE PACKAGE PRESUMES YOUR ACCEPTANCE OF THE TERMS, CONDITIONS, AND RESTRICTIONS CONTAINED IN THIS AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, CONDITIONS, AND RESTRICTIONS, PROMPTLY RETURN THE SOFTWARE PACKAGE AND ASSOCIATED DOCUMENTATION TO THE ADDRESS ON THE FRONT PAGE OF THIS DOCUMENT, ATTENTION: CUSTOMER SUPPORT.
TERMS, CONDITIONS, AND RESTRICTIONS
MagTek, Incorporated (the "Licensor") owns and has the right to distribute the described software and documentation, collectively referred to as the "Software."
LICENSE: Licensor grants you (the "Licensee") the right to use the Software in conjunction with MagTek products. LICENSEE MAY NOT COPY, MODIFY, OR TRANSFER THE SOFTWARE IN WHOLE OR IN PART EXCEPT AS EXPRESSLY PROVIDED IN THIS AGREEMENT. Licensee
may not decompile, disassemble, or in any other manner attempt to reverse engineer the Software. Licensee shall not tamper with, bypass, or alter any security features of the software or attempt to do so.
TRANSFER: Licensee may not transfer the Software or license to the Software to another party without the prior written authorization of the Licensor. If Licensee transfers the Software without authorization, all rights granted under this Agreement are automatically terminated.
COPYRIGHT: The Software is copyrighted. Licensee may not copy the Software except for archival purposes or to load for execution purposes. All other copies of the Software are in violation of this Agreement.
TERM: This Agreement is in effect as long as Licensee continues the use of the Software. The Licensor also reserves the right to terminate this Agreement if Licensee fails to comply with any of the terms, conditions, or restrictions contained herein. Should Licensor terminate this Agreement due to Licensee's failure to comply, Licensee agrees to return the Software to Licensor. Receipt of returned Software by the Licensor shall mark the termination.
LIMITED WARRANTY: Licensor warrants to the Licensee that the disk(s) or other media on which the Software is recorded are free from defects in material or workmanship under normal use.
THE SOFTWARE IS PROVIDED AS IS. LICENSOR MAKES NO OTHER WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Because of the diversity of conditions and PC hardware under which the Software may be used, Licensor does not warrant that the Software will meet Licensee specifications or that the operation of the Software will be uninterrupted or free of errors.
IN NO EVENT WILL LICENSOR BE LIABLE FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY TO USE, THE SOFTWARE. Licensee's sole remedy in
the event of a defect in material or workmanship is expressly limited to replacement of the Software disk(s) if applicable.
GOVERNING LAW: If any provision of this Agreement is found to be unlawful, void, or unenforceable, that provision shall be removed from consideration under this Agreement and will not affect the enforceability of any of the remaining provisions. This Agreement shall be governed by the laws of the State of California and shall inure to the benefit of MagTek, Incorporated, its successors or assigns.
ACKNOWLEDGMENT: LICENSEE ACKNOWLEDGES THAT HE HAS READ THIS AGREEMENT, UNDERSTANDS ALL OF ITS TERMS, CONDITIONS, AND RESTRICTIONS, AND AGREES TO BE BOUND BY THEM. LICENSEE ALSO AGREES THAT THIS AGREEMENT SUPERSEDES ANY AND ALL VERBAL AND WRITTEN COMMUNICATIONS BETWEEN LICENSOR AND LICENSEE OR THEIR ASSIGNS RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.
QUESTIONS REGARDING THIS AGREEMENT SHOULD BE ADDRESSED IN WRITING TO MAGTEK, INCORPORATED, ATTENTION: CUSTOMER SUPPORT, AT THE ADDRESS LISTED IN THIS DOCUMENT, OR E-MAILED TO SUPPORT@MAGTEK.COM.
DEMO SOFTWARE / SAMPLE CODE: Unless otherwise stated, all demo software and sample code are to be used by Licensee for demonstration purposes only and MAY NOT BE incorporated into any production or live environment. The PIN Pad sample implementation is for software PIN Pad test purposes only and is not PCI compliant. To meet PCI compliance in production or live environments, a third-party PCI compliant component (hardware or software-based) must be used.
@interface MTCardData : NSObject
- (id)initWithCardData:(NSString*)cardData;
/*!
@attribute cardIIN
@discussion cardIIN is 6 digits of the account, usually can help to identify the issuer
*/
@property(nonatomic, strong) NSString *cardIIN;
/*!
@attribute cardData
@discussion track1 | track2 | track3
*/
@property(nonatomic, strong) NSString *cardData;
/*!
@attribute cardLast4
@discussion last 4 digits of account, usually can help user to identify him/her self
*/
@property(nonatomic, strong) NSString *cardLast4;
/*!
@attribute cardName
@discussion card holder name
*/
@property(nonatomic, strong) NSString *cardName;
@property (strong, nonatomic) NSString *cardLastName;
@property (strong, nonatomic) NSString *cardMiddleName;
@property (strong, nonatomic) NSString *cardFirstName;
@property(nonatomic, strong) NSString *cardExpDate;
@property(nonatomic, strong) NSString *cardServiceCode;
@property(nonatomic, strong) NSString *cardStatus;
@property(nonatomic, strong) NSString *responseData;
@property(nonatomic, strong) NSString *maskedTracks;
@property(nonatomic, strong) NSString *encryptedTrack1;
@property(nonatomic, strong) NSString *encryptedTrack2;
@property(nonatomic, strong) NSString *encryptedTrack3;
@property(nonatomic, strong) NSString *encryptionStatus;
@property(nonatomic, strong) NSString *maskedTrack1;
@property(nonatomic, strong) NSString *maskedTrack2;
@property(nonatomic, strong) NSString *maskedTrack3;
@property(nonatomic, strong) NSString *trackDecodeStatus;
@property(nonatomic, strong) NSString *encryptedMagneprint;
@property(nonatomic, strong) NSString *magneprintStatus;
@property(nonatomic, strong) NSString *deviceSerialNumber;
@property(nonatomic, strong) NSString *deviceSerialNumberMagTek;
@property(nonatomic, strong) NSString *encrypedSessionID;
/*!
@attribute deviceKSN
@discussion Key Serial Number for the card swipe
*/
@property(nonatomic, strong) NSString *deviceKSN;
@property(nonatomic, strong) NSString *deviceFirmware;
@property(nonatomic, strong) NSString *deviceName;
@property(nonatomic, strong) NSString *deviceCaps;
@property(nonatomic, strong) NSString *deviceStatus;
@property(nonatomic, strong) NSString *tlvVersion;
@property(nonatomic, strong) NSString *devicePartNumber;
@property(nonatomic, strong) NSString *capMSR;
@property(nonatomic, strong) NSString *capTracks;
@property(nonatomic, strong) NSString *capMagStripeEncryption;
@property(nonatomic, strong) NSString *maskedPAN;
@property(nonatomic) long cardPANLength;
@property(nonatomic, strong) NSString *additionalInfoTrack1;
@property(nonatomic, strong) NSString *additionalInfoTrack2;
@property(nonatomic, strong) NSString *responseType;
@property(nonatomic) long batteryLevel;
@property(nonatomic) long swipeCount;
@property(nonatomic, strong) NSString *firmware;
@property(nonatomic, strong) NSString *tagValue;
@property(nonatomic) int magnePrintLength;
@property(nonatomic) int cardType;
@property(nonatomic, strong) NSString *cardExpDateMonth;
@property(nonatomic, strong) NSString *cardExpDateYear;
@property(nonatomic, strong) NSString *cardPAN;
@property(nonatomic, strong) NSString *track1DecodeStatus;
@property(nonatomic, strong) NSString *track2DecodeStatus;
@property(nonatomic, strong) NSString *track3DecodeStatus;
@property(nonatomic, strong) NSDate* timeStamp;
@property(nonatomic, strong) NSString* messageID;
@property(nonatomic, strong) NSString* msrDUKPTKeyInfo; // 16 bytes
@property(nonatomic, strong) NSString* mpDUKPTKeySerialNumber; // 0/20/24
@property(nonatomic, strong) NSString* mpDUKPTKeyInfo; // 16 bytes
@property(nonatomic, strong) NSString* macKeyInfo; //
16 bytes @property(nonatomic, strong) NSString* macMessageLength;
@property(nonatomic, strong) NSString* mac;
@property(nonatomic, strong) NSString* tokenDUKPTKeyInfo;
@property(nonatomic, strong) NSString* tokenDUKPTKeySerialNumber;
@property(nonatomic, strong) NSString* encryptedQwantumDataBuffer;
@property(nonatomic, strong) NSString* qwantumStatus;
@property(nonatomic, strong) NSString* qwantumToken;
@property(nonatomic, strong) NSString* qwantumCardID;
@property(nonatomic, strong) NSString* customerMessageCode;
@property(nonatomic, strong) NSString* customerMessage;
@property(nonatomic) BOOL isQwantumCard;
@property(nonatomic) BOOL isQwantumBuffer;
@property(nonatomic) BOOL isCustomerMessage;
@property(nonatomic, strong) NSString* encryptedSCDE;
@property(nonatomic, strong) NSString* scdeDUKPTKeySerialNumber;
@property(nonatomic, strong) NSString* scdeDUKPTKeyInfo;
@property(nonatomic, strong) NSDictionary* allObjects;
@property(nonatomic, strong) NSArray<NSString*>* objectArray;
@endIf you will be using a mounting sleeve, install it.
Connect iDynamo 5 via USB-C
Power on the host.
On the host, install and configure the host software you intend to use with iDynamo 5. If you do not yet have that software, you can download a test tool from the Google Play store called MagTek Test, published by MagTek to perform simple tests:
Make sure the host software is configured to look for the device on the right connection.
Make sure the host software knows which device(s) it should interface with.
Make sure the host software is configured to properly interpret incoming data from the device. For direct USB-C connections, iDynamo 5 transmits data as a vendor-defined HID device.
Connect iDynamo 5 to the host. Make sure all components are seated firmly. If you are using the mounting bracket, press the suction cup onto the rear of the host.
Use the host software or the MagTek test app to connect to the device and to test swiping a card.
For details about reading each payment type, see Card Reading.
Open the MagTek test app to connect to the device and to test swiping a card.
For details about reading each payment type, see section 6.3 Card Reading
Press the MaTek pp on the Android host.
button in the top menu bar. The app should report the USB Connection State is Disconnected.
a) Press the
button in the top menu bar.
should report Connected
Reference Section
Information Available
This manual provides a detailed technical reference for developers, describing how to communicate with the iDynamo 5 Gen III secure card reader using its command set and the MP ASIC.
A guide for iOS developers, offering instructions on using the MagTek Universal SDK (MTUSDK) to build custom software solutions that communicate with iDynamo 5 Gen III and other SCRA devices.
A library reference that provides developers of custom software solutions with an easy-to-use interface for connecting to the iDynamo 5 Gen III and other MagTek SCRA devices.
Reference Section
Information Available
This page provides comprehensive developer documentation for the iDynamo 5 Gen III, including programmer’s manuals, demo guides, and SDK references.
This page provides user manuals for the iDynamo 5 Gen III secure card reader, including comprehensive installation and operation guides.
This document provides instructions on how to interact with the MagneFlex Browser.
The MagneFlex Browser, available from MagTek, is a full-function HTML browser application that is integrated with driver applications that allow the control of a set of MagTek payment card readers.
In this document, the following nomenclature are used strictly as follows:
Device refers to the MagTek device (eg. Dynamag, DynaPro, MICRSafe) that receives and responds to the command set specified in this document.
Host refers to the piece of general-purpose electronic equipment the device is connected. Host types include PC and Mac computers/laptops, tablets, and smartphones.
User refers to the cardholder.
Web App refers to the application provided by the integrator of MagneFlex Browser. The web app will communicate with the MagneFlex browser via query strings. MagneFlex then controls and obtains data from the MagTek device.
Query string refers to the web app’s interface to MagneFlex WEB API sent as an HTTP request. The query string is added to the base URL. This string contains field-value pairs referred to as parameters and begins after the question mark character “?” at the end of the base URL. Each parameter is defined in the parameter table for each resource of the MagneFlex WEB API. In the following example, the place holder for field will be listed in the parameter column of the table and value will be explained in the description column.
Example query:
Postback refers to the response from a request or command from the device. The web app shall consume the postback. MagneFlex sends the postback in two forms.
HTTP GET - returns the response data in the form of a query string.
HTTP POST - returns the response data in the form of a body message. POST is recommended for EVM related transactions or commands of lengthy response to accommodate limits on query string lengths.
Tested operating systems:
iOS 8 to iOS 10
Windows 7, 8.1, 10
Copyright © 2006 - 2024 MagTek, Inc.
Information in this publication is subject to change without notice and may contain technical inaccuracies or graphical discrepancies. Changes or improvements made to this product will be updated in the next publication release. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc.
MagTek® is a registered trademark of MagTek, Inc.
MagnePrint® is a registered trademark of MagTek, Inc.
MagneSafe® is a registered trademark of MagTek, Inc.
Magensa™ is a trademark of MagTek, Inc.
IntelliStripe® is a registered trademark of MagTek, Inc.
DynaPro
USB
iOS 8 – 10 Windows 7, 8.1, 10
DynaMAX
Bluetooth LE
iOS 8 – 10 Windows 8.1, 10
DynaMAX
USB
iOS 8 – 10 Windows 7, 8.1, 10
eDynamo
Bluetooth LE
iOS 8 – 10 Windows 8.1, 10
eDynamo
USB
iOS 8 – 10 Windows 7, 8.1, 10
iDynamo
Lightning
iOS 8 – 10
uDynamo
Audio
iOS 8 – 10 Windows 7, 8.1, 10
MICRSafe
USB
Windows 7, 8.1, 10
DynaPro Mini
Bluetooth LE
iOS 8 – 10 Windows 8.1, 10
DynaPro Mini
USB
iOS 8 – 10 Windows 7, 8.1, 10
DynaPro
Ethernet
iOS 8 – 10 Windows 7, 8.1, 10
https://192.168.10.100/magneflexdemo/default.aspx?field=valueAmerican Express® and EXPRESSPAY FROM AMERICAN EXPRESS® are registered trademarks of American Express Marketing & Development Corp.
D-PAYMENT APPLICATION SPECIFICATION® is a registered trademark to Discover Financial Services CORPORATION
ANSI®, the ANSI logo, and numerous other identifiers containing "ANSI" are registered trademarks, service marks, and accreditation marks of the American National Standards Institute (ANSI).
ISO® is a registered trademark of the International Organization for Standardization.
UL™ and the UL logo are trademarks of UL LLC.
PCI Security Standards Council® is a registered trademark of the PCI Security Standards Council, LLC.
Apple Pay®, iPhone®, iPod®, and Mac® are registered trademarks of Apple Inc., registered in the U.S. and other countries. App StoreSM is a service mark of Apple Inc., registered in the U.S. and other countries. iPad™ and iPad mini™ are trademarks of Apple, Inc. Apple and MFi are registered trademarks of Apple Inc. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used by Apple Inc. under license.
Google Play™ store and Android™ platform are trademarks of Google Inc.
Microsoft® and Windows® are registered trademarks of Microsoft Corporation.
USB (Universal Serial Bus) Specification is Copyright © 1998 Compaq Computer Corporation, Intel Corporation, Microsoft Corporation, NEC Corporation.
Keyboard Usage Definitions content is taken from Universal Serial Bus HID Usage Tables, Version 1.12, Section 10, Keyboard/Keypad Page (0x07) ©1996-2005 USB Implementers’ Forum
Modifier Byte Definitions content is taken from Section 8.3 Report Format for Array Items, Device Class Definition for Human Interface Devices (HID) Version 1.11, ©1996-2001 USB Implementers’ Forum, hidcomments@usb.org.
Some device icons courtesy of https://icons8.com/, used under the Creative Commons Attribution-NoDerivs 3.0 license.
All other system names and product names are the property of their respective owners.
Table 0‑1 - Revisions
Rev Number
Date
Notes
100
March 15, 2024
Initial release.
101
May 05, 2024
Add Property 0x88 USB Packet Delay
102
June 12, 2024
Add 6.31.1 BYTE Description
103
November, 2024
REGISTERED TO ISO 9001:2015


iDynamo5 Gen III has a single RGB LED acting as the user interface. If the hardware does not support color mixing (e.g., red+green=amber) then a combination of LED states such as color, blinking speed (slow, fast), blink on-off, blink color A-B can be configured. This can be done easily by using a set of bits to represent the LED status over 4 time periods. A timer would rotate through one of the 4 time periods.
The LED will be used to indicate various states of the reader.
Tampered
Solid Red
Offline
During normal operation, iDynamo is powered either from its connection to the host or from a connection to a USB power source. While the host charges this way, the device consumes more power from the USB connection than when the host’s battery is fully charged.
To save power, iDynamo enters low power mode when an app does not have an active session with it and will remain in low power mode until the app restarts or re-initiates a session. While an app has an open session, a cardholder may swipe a card through the magnetic stripe reader slot. When the device is not connected to USB power, the host would generally open a session with the device to process a transaction, then close the session after the transaction is complete to transition the device to low power mode and conserve power. When the device is powered by the USB-C connector, the host software may choose to always keep a session open with the device.
iDynamo does not come equipped with a battery, if it does not receive adequate power from the host the device powers off.
The device also draws a trickle of power from the connected host to power the magnetic stripe reader head. The host’s operating system manages this power flow when the device is not in use to save power.
The steps for reading a card may be different depending on iDynamo’s configuration and on the design of the host software. Host software developers should see Developing Custom Host Software for implementation references. The solution developer should provide solution-specific instructions for operators to follow. A transaction generally follows this essential flow:
An advanced operator makes sure iDynamo has been installed and configured, appropriate host software has been installed and configured, and the connection between iDynamo and the host is working properly (see Installation). After the host identifies and authenticates iDynamo, apps may open a session with it.
The operator uses the host user interface to finalize a transaction amount, then initiates a transaction.
The host communicates with the device, and reports to the operator when the device is ready.
Cardholders should swipe magnetic stripe cards in the MSR swipe path with the magnetic stripe facing away from the cardholder and into the device, as shown in Figure 6-1. Cardholders may swipe in either direction along the path.
Figure 6-1 - Swiping a Card Through iDynamo
iDynamo 5 (Gen III) is a compact secure card reader authenticator (SCRA) that reads magnetic stripe cards that conform to ISO standards. iDynamo 5 (Gen III) is made for iOS, Android, and Windows devices equipped with a
USB-C interface. When a cardholder swipes a card, the device encrypts card data before they leave the encapsulated magnetic stripe reader head using the Triple Data Encryption Algorithm (TDEA, also known as Triple DES) and DUKPT key management.
During normal operation, iDynamo 5 (Gen III) is powered through its connection to the host. iDynamo 5 (Gen III) does not come equipped with a battery, if it does not receive adequate power from the host the device powers off.
Installing iDynamo 5 (Gen III) is a straightforward process. It is important to thoroughly inspect a new device before deployment, and regularly inspect devices in live usage (including its immediate surroundings) to make sure
malicious individuals have not tampered with it.
Before connecting iDynamo 5 (Gen III) device, be sure it is configured
This document provides instructions to use the iDynamo 5 Gen III Utilitysoftware for demonstrating card swipe, configuration, and firmware updating. Supported devices are iDynamo 5 Gen III in HID or Keyboard mode. It is part of a larger library of documents designed to assist implementers. For details, see the product Support pages on
The following documents are essential:
iDynamo 5 Gen III Secure Card Reader Programmers Manual Commands
A Windows 10 or above host with available USB port
Add Property 0x15 – MP Options (MAC MREQMK); Add Property 0x54 - Card Data Encryption Variant (MAC MREQMK); Add Property 0x6E - Mask Service Code (Set Mask Service Code Only), add Property 0x81 – Mode of Operation (MAC MREQMK); add Property 0x83 – QWANTUM Secure Data Butter (MAC MREQMK) Property 0x85 Keyset ID; Add: Command 0x788 – Get Certificate, Command 0x789 – Get Device CSR, Command 0x78A – Load Certificate, Command 0x78B – Authenticate Device, Command 0x07E0 – Set Button Mode (MAC Protected).
104
May, 2026
Added missing descriptions - Notification Identifier, Q001/Q002/Q003 message definition.
Added the difference between PCI device PAN masking and Non-PCI device PAN masking.
Updated the description of Property 0x07 and 0x08 for Non-PCI device and PCI device.
Updated the description of MAC field in the message.
Added a missing property (0x51).
Removed factory-only commands.
Fixed typos and formats.



Because the device does not have its own display, the device may send messages to the host prompting the cardholder to perform certain actions; the host software should process these requests by displaying the requested messages and depending on the placement of the host display(s), the operator may need to relay the messages to the cardholder. For example, if the device cannot read the card, it may prompt the cardholder to swipe again.
Blinking Red (Maybe split offline into ‘must RMA’ vs ‘Field fix possible’
Bootloader running
Solid Blue
Programming FW update into flash
Blinking Blue
Idle
Green
Card being read
Off
Card read error
Blink Red for 2 seconds
Qwantum Mode, Button enabled
Blinking Green
FW being downloaded
Provided by device or progress provided by host app

In order to change configuration, you must use the current configured
setting and HOST type to change.
If the device is accidentally configured to use the iAP connection type,
you must use an iAP connection HOST to change the configuration.
Ensure Android HOST supports USB On-The-Go. Ensure connection is set to USB HID. This setting may be specified on a sales order, or configured using sample tools, sample code, or custom software.
Install any mounting brackets or adapters.
Power on the HOST.
On the HOST, install and configure the HOST SOFTWARE.
Connect READER to the HOST.
To Disconnect
Ensure HOST SOFTWARE is closed.
Carefully disconnect the READER.
Ensure READER is configured to use the correct USB configuration (iAP, USB)
as the primary host interface.
Install any mounting brackets or adapters.
Power on the HOST.
Connect the READER through the USB-C.
After a few seconds, the iOS host will pop up “App Not Installed”
Ensure READER is configured to use the correct USB configuration as the
primary host interface.
Install any mounting brackets or adapters.
Power on the HOST.
On the HOST, install and configure the HOST SOFTWARE.
Connect the READER to the HOST.
Use the cable shipped with the READER to connect from the USB-C receptacle to the HOST device.
The steps for reading a card may be different depending on READER configuration and on the design of the HOST SOFTWARE. Cardholders should swipe magnetic stripe cards in the MSR swipe path with the magnetic stripe facing away from the cardholder and into the READER. Cardholders may swipe in either direction along the path.
The READER does not have an on-screen configuration interface. The READER is HOST driven by the HOST SOFTWARE.
iDynamo 5 (Gen III) has a single RGB LED acting as the user interface. The LED will be used to indicate various states of the reader. See the installation and operation manual found at
Periodic cleaning of iDynamo 5 (Gen III)’s exterior may be required. To clean the outside of iDynamo 5 (Gen III), wipe it down with a soft, damp, lint-free cloth and then wipe it dry. MagTek’s double-sided cleaning card 96700004 is designed to clean the magnetic read head in the MSR swipe path.
Keeping the head clean is essential to the device’s functioning. MagTek recommends swiping and inserting a cleaning card once per week to avoid card misreads.
FCC INFORMATION
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Testing for compliance with CE requirements was performed by an independent laboratory. The unit under test was found compliant with standards established for Class B devices.
This product is recognized per UL 60950 1, 2nd Edition, 2011 12 19 (Information Technology Equipment - Safety - Part 1: General Requirements), CSA C22.2 No. 60950 1 07, 2nd Edition, 2011 12 (Information Technology Equipment - Safety - Part 1: General Requirements).
When ordered as RoHS compliant, this product meets the Electrical and Electronic Equipment (EEE) Reduction of Hazardous Substances (RoHS) European Directive 2002/95/EC. The marking is clearly recognizable, either as written words like “Pb-free,” “lead-free,” or as another clear symbol (Pb).


USB-C cable with USB Type-A or USB-C for host connection
Software 1000009588 iDynamo 5 Gen III Utility, provided by MagTek
To download iDynamo 5 Gen III Utilitysoftware, follow these steps.
Download the software with the name 1000009588.zip (iDynamo 5 Gen III Utility) from MagTek.
Extract the .zip file on the host’s hard drive.
Download and install Microsoft .NET 4.6.1 or above from https://dotnet.microsoft.com/download/dotnet-framework.
Launch iDynamo5Gen3Utility.exe.
See the steps in the sections below to connect to a device.
Make sure the device is configured in USB HID or Keyboard mode.
To connect via USB interface listed in the Connection Type box, follow these steps:
For best results, use the cable that is included with the device.
Connect the USB-C end of the cable to iDynamo 5 Gen III device.
If you plan to route the cable out the back of the device, route the cable through the cable management clip to change its direction. Even if you are not routing out the back, you may use the cable clip for strain relief to help stabilize the mechanical connection when cardholders or operators move the device or the cable.
Route the cable in the desired direction (e.g., out the back, left, right, or down into the countertop).
Connect the other end of the USB cable to the host’s USB port.
As soon as the device starts receiving power through USB, it automatically powers on.
Launch the iDynamo 5 Gen III Utility and select USB device in the USB Type list, then press the connect button.
The log shows the information of the device and interface type.
Device Information
To disconnect the device, press Disconnect button.
To switch interface type, follow these steps:
Select the desired interface type under the Interface Type list box, then press the Set button to change the interface type.
After the interface type is changed, this message will show, please unplug then plug in the device.
To update firmware, follow these steps.
Before you update the firmware, please obtain the latest firmware from MagTek support team, and then save it to local storage.
Please make sure the device is in HID mode, if not, please follow the instructions in step 3 to switch device to HID mode.
Press the Update Firmware button.
Browse to the folder that contains the new firmware from MagTek, select the firmware file, and press the Open button.
Check the status displayed in the software.
The following instructions detail how to perform MSR transactions using USB.
To perform an MSR transaction if your device is in HID mode, follow these steps.
Select the MSR tab, then swipe an MSR card.
To perform an MSR transaction if your device is in Keyboard mode, follow these steps.
Select the MSR tab, swipe an MSR card, and then observe the Keyboard Mode Output data.
Press Parse Data to parse the data.
To send commands to device, follow these steps.
Select Command Tools tab, then enter command to the Input text box.
Select Command Type, Extended, then press Send button, and then observe the response in the output text box.
This page provides user manuals for the iDynamo 5 Gen III secure card reader, including comprehensive installation and operation guides as well as documentation for the Windows-based demo utility software.
Reference Section
Information Available
This guide offers concise, step-by-step instructions for physically connecting the iDynamo 5 Gen III to a host device via USB-C and establishing basic communication.
A comprehensive guide covering physical setup, mounting procedures, host connections via USB-C for Windows and Android, and secure operational practices for the iDynamo 5 Gen III.
A step-by-step guide to using the iDynamo 5 Gen III Utility software on Windows, including instructions for configuring interface types, testing card reading, and managing device settings.
Go to the APP STORE to install the app.
If “App Not Installed” does not appear: On the iOS HOST go to
SETTINGS > GENERAL > ABOUT > select iDynamo 5 (Gen III) to show
reader’s ABOUT page
In the READER ABOUT page select FIND APP FOR ACCESSORY
Install and configure the HOST SOFTWARE.
The HOST SOFTWARE should recognize the READER.
To Disconnect
Ensure HOST SOFTWARE is closed.
Carefully disconnect the READER.
Use the HOST SOFTWARE to connect to the READER.
To Disconnect
Ensure HOST SOFTWARE is closed or disconnected.
Turn off HOST display.
Carefully disconnect the READER.

This is a full-function HTML browser application for Windows that integrates with device drivers to control MagTek payment devices, including the iDynamo 5 Gen III, via HTML over HTTP(S).
Feature / Product
cDynamo
DynaMAX
eDynamo
iDynamo 5
iDynamo 5 (Gen II)
iDynamoe 5 (Gen III)
iDynamo 6
kDynamo
sDynamo
tDynamo
uDynamo
This command lets the host retrieve a property (see section on properties) from the device using the 1-byte Property ID.
Command
Parameter Data Len
Parameter Data
0x0000
0x0001
Property ID (1-byte)
Return Code
Legacy (if needed) for simple & short properties.
This command sets a property in the device. For secure properties, this command should be the payload for the Send Secured Command.
This command is used to reset the device.
The host uses this command to get the date / time from the device’s internal clock. The value returned is set to Coordinated Universal Time (UTC). The host is responsible for converting the response to local time.
This command returns the information about the specified key to the host.
This command is used to activate or deactivate the button. The command is rejected if the device is not in Qwantum mode. The button always defaults to disabled after reset or when switching modes.
MSR Swipe
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
MSR Insert
N
N
N
N
N
N
N
N
N
N
N
MSR 3 Tracks
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
MSR Disable
Y
N
N
Y
N
N
N
N
N
N
N
MSR Swap Tracks 1/3
N
N
N
N
N
N
N
N
N
N
N
MSR Embedded V5 Head
N
N
N
N
Y
Y
Y
Y
Y
Y
N
MSR Configurabe MSR Variants
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N
MSR Configurable MP Variants
N
Y
Y
N
N
Y
Y
Y
N
Y
N
MSR SureSwipe
N
Y
Y
N
N
N
N
N
N
N
N
MSR JIS Capable
Y
N
N
Y
N
N
N
N
Y
N
N
SHA-1
N
Y
Y
N
N
Y
N
N
N
N
N
SHA-256
N
N
N
N
N
Y
N
N
N
N
N
Configurable SHA
N
Y
Y
N
N
N
N
N
N
N
N
Configurable Encryption Algorithm
N
N
N
N
N
Y
Y
N
N
N
N
Set Mask Service Code
N
N
N
N
N
N
N
N
N
N
N
Never Mask Service Code
N
N
Y
Y
Y
Y
Y
Y
Y
Y
N
MagneSafe 2.0
N
N
Y
N
N
N
N
N
N
N
N
EMV Contact
N
N
Y
N
N
N
Y
Y
N
Y
N
EMV Contactless
N
N
N
N
N
N
Y
Y
N
Y
N
EMV Offline ODA
N
N
Y
N
N
N
N
N
N
N
N
EMV MSR Flow
N
N
N
N
N
N
Y
Y
N
Y
N
EMV Contact Quick Chip
N
N
Y
N
N
N
Y
Y
N
Y
N
EMV Contactless Quick Chip
N
N
N
N
N
N
Y
Y
N
Y
N
External PIN Accessory Support
N
N
N
N
N
N
Y
N
N
N
N
Keypad Entry
N
N
N
N
N
N
N
N
N
N
N
Fixed Key
N
N
N
N
N
Y
N
N
N
N
N
Secondary DUKPT Key
N
Y
Y
N
N
Y
N
N
N
N
Y
Power Mgt Scheme (PM#)
N
2
3
N
N
N
7
5
N
5
4
Battery-Backed RTC
N
N
Y
N
N
Y
N
N
N
N
N
OEM Features
N
N
N
N
N
N
N
N
N
N
N
Feature / Product
cDynamo
DynaMAX
eDynamo
iDynamo 5
iDynamo 5 (Gen II)
iDynamoe 5 (Gen III)
iDynamo 6
kDynamo
sDynamo
tDynamo
uDynamo
Transaction Validation
N
N
Response Data Len
Response Data
0x0000
varies
Property Value
Command
Parameter Data Len
Parameter Data
0x00
0x01
Property ID (1-byte)
Return Code
Response Data Len
Response Data
0x00
varies
0 to 58 bytes
Command
Parameter Data Len
Parameter Data
0x0001
varies
Property ID (1 byte)
Property Value (varies)
Return Code
Response Data Len
Response Data
0x0001
0x0001
0=Property in effect
1=Needs reset
Command
Parameter Data Len
Parameter Data
0x0002
0x0000
None
Command
Parameter Data Len
Parameter Data
0x030D
0x0000
None
Return Code
Response Data Len
Response Data
0x0000
0x0007
See Table
Length
Field Name
Value
1
Month
Value from 0x01...0x0C (1-12)
1
Day
Value from 0x01...0x1F (1-31, depends on the month)
1
Hour
Value from 0x00...0x17 (0-23)
1
Minute
Command
Parameter Data Len
Parameter Data
0703
0x0002
Key ID
Offset
Field Name
Description
0
Key Slot Status
(1 byte)
0 = Empty
1 = Loaded (Purpose not assigned)
2 = Loaded & active
3 = Exhausted (End of DUKPT key sequence)
4 = Expired (RFU, cert status?)
0xFF = Not supported in this device
1
Slot Type
(1 byte)
First byte of Slot ID (Slot ID = Key ID)
2
TK ID
(2 byte)
The Key ID used to transport this key (a parent key ID)
Offset
Field Name
Description
4
Key Environment
(1 byte)
‘T’ for test or ‘P’ for production
5
X9.143 Attributes
(4 bytes)
‘Key Usage || Algorithm || Mode of Use’ from X9.143 Key Block Header.
9
Key Algorithm
(1 byte)
1 = DES 4 = AES128
2 = 2TDES 5 = AES192
3 = 3TDES 6 = AES256
10
KCV
(5 or 3 bytes)
Command
Parameter Data Len
Parameter Data
0x07E0
0x0001
0x00 – Disable button
The push-button functionality is disabled.
0x01 – Enable button
The push-button functionality is enabled, allowing the operator to output buffer data by pressing the button. The functionality remains active until a command is issued to disable it or the device is power cycled.
0x02 – Enable button for single press
The push-button functionality is enabled, allowing the operator to output buffer data by pressing the button once. The functionality will be disabled automatically afterward or upon power cycling.
0x03 – Enable Button Persistently
The push-button functionality is enabled, allowing the operator to output buffer data by pressing the button. The push-button activation persists even after a power cycle. The functionality remains active until a command is issued to disable it.
N
N
N
N
N
N
N
N
N
Display
N
N
N
N
N
N
N
N
N
N
N
Multi-Language
N
N
Y
N
N
N
Y
Y
N
Y
N
Tamper
N
N
Y
N
N
Y
N
N
N
N
N
Extended Commands
N
N
Y
N
N
Y
Y
Y
N
Y
N
Extended Notifications
N
N
Y
N
N
Y
Y
Y
N
Y
N
Dual USB Ports
N
N
N
N
N
Y
Y
N
N
Y
N
Pairing Modes
N
N
Y
N
N
N
N
N
N
Y
N
Custom Advertising
N
N
Y
N
N
N
N
N
N
Y
N
Configurable Lightning FID
Y
N
N
N
Y
Y
Y
Y
N
N
N
Auxiliary Ports
N
N
N
N
N
N
N
N
N
N
N
External LED Control
N
N
N
N
N
Y
N
N
N
N
N
Encrypt Bulk Data (b)
120
24
24
120
N
Y
N
N
N
N
24
Value from 0x00...0x3B (0-59)
1
Second
Value from 0x00...0x3B (0-59)
1
Unused
0x00
1
Year
Value from 0x00 (2008) ...0xFF (2263)
5 bytes for AES-CMAC or 3 bytes for TDES-CBCMAC including the KCV algorithm info as defined in X9.143 ‘KP’/’KC’ format (A.5.8 of X9.143 spec)
15 or 13
Length of KSI
(1 bytes)
Length of Key Set Identifier
16 or 14
Key Set Identifier
(n bytes)
Encoded in Hex-ASCII refer to Table 11 in X9.143 specification.
(16 + n) or
(14 + n)
Key Restriction
(2 bytes)
16-bit Key Restriction Bitmask (for TK and DKPT keys)
(16 + n + 3) or
(14 + n + 3)
Key Configuration
(2 bytes)
16-bit Key Configuration Bitmask
Currently supports Data Type Configuration only.
(16 + n + 4) or
(14 + n + 4)
Timestamp
(24 bytes)
Time and date in UTC time format that indicates when the key block was formed.
All result codes must be both universal and functional. The code 0x0396 signifies invalid date or time data, indicating that the date or time has not been set. Subsequent attempts to set the property will fail with result code 0x07, indicating a sequence error. The response may be delayed.
Value
Result Code
Description
0x0000
Success
The command completed successfully.
0x0001
Failure
The command failed.
0x0002
Bad Parameter
The command failed due to a bad parameter or command syntax error.
0x0003
Redundant
The command is redundant.
0x0004
Bad Cryptography
A bad cryptography operation occurred.
*0x0005
Delayed
The request is refused because the device is delaying requests as a defense against brute-force hacking.
0x0006
No Keys
No keys are loaded.
0x0007
Invalid Operation
Depends on the context of the command.
0x0008
Response not available
The response is not available.
0x0009
Not enough power
The battery is too low to operate reliably.
0x000D
Not implemented
The command is not implemented.
0x000E
Unarmed tamper, device not ready
(Tamper Only)
The tamper device is not ready to be armed.
0x000F
Unarmed tamper, bad signature
(Tamper Only)
The tamper is not armed because of a bad signature.
0x0396
0x0080
DSN not found (in the device)
0x0081
Incorrect DSN
0x0082
Max token count reached
0x0083
Response data length error
0x0084
Incorrect DSN
0x0085
Challenge token timed out
0x0086
Invalid challenge token
0x0087
Message verification failed
0x0088
Invalid ECC key format
0x0089
ECC key format not supported
0x0085
Challenge token timed out
0x0086
Invalid challenge token
0x0087
Message verification failed
0x0088
Invalid ECC key format
0x0089
ECC key format not supported
0x0085
Challenge token timed out
0x0086
Invalid challenge token
0x008A
Invalid key block version ID
0x008B
Key block version not supported
0x008C
Invalid key usage
0x008D
Key usage not supported
0x008E
Invalid algorithm
0x008F
Algorithm not supported
0x0090
Invalid mode use
0x0091
Mode use not supported
0x0092
Key version not supported
0x0093
Invalid export
0x0094
Export not supported
0x0095
Invalid optional block ID
0x0096
Optional block ID not supported
0x0097
Invalid KCV algorithm
0x0098
KCV algorithm not supported
0x0099
Invalid HIMAC hash algorithm
0x009A
HMAC Hash algorithm not supported
0x009B
TR-31 format error
0x009C
MagTek custom optional block not found
0x009D
Key Environment not found in Opt Blk
0x009E
Key Environment not supported
0x009F
Key ID not found in Opt BlIk
0x00A0
Key ID not supported
0x00A1
Key ID of TK not found in Opt Blk
0x00A2
Transport key not found in key slot
0x00A3
Wrong transport key (relationship)
0x00A4
Key Restriction not found in Opt BIk
0x00A5
Invalid key type restriction
0x00A6
Invalid data type restriction
0x00A7
DSN not found in Opt BIk
0x00A8
Challenge token not found in Opt BIk
0x00A9
Expiration date/time not found in Opt BIk
0x00AA
KCV verification failed
0x00AB
MAC verification failed
0x00AE
Establish Ephemeral KBPK command is required
0x00AF
Temporary KBPK not found
0x00BO
Key ID doesn't match with Cipher Encryption Algorithm property setting.
0x00B1
Key already exists in the device
0x00B2
MTK deletion not allowed
0x00B3
Key doesn't match with the existing key
0x00B4
Incorrect key environment
0x00A0
Key ID not supported
0x00AC
Key ID not found (in the device)
0x00A0
Key ID not supported
0x00AC
Key ID not found (in the device)
0x00AB
MAC verification failed
0x00Ad
Invalid key configuration
0x00C0
Error from UCL library
0x00C1
Failed to save key in NVS
0x00C2
Key self-check failure
0x0010
ERR_SequenceNumber
Wrong firmware SequenceNumber
0x0011
ERR_FileID
Wrong firmware FileID
0x0012
ERR_ProductType
Wrong firmware ProductType
0x0013
ERR_OperationType
Wrong firmware OperationType
0x0014
ERR_SignatureLength
Wrong firmware SignatureLength
0x0015
ERR_SignatureMethod
Wrong firmware SignatureMethod
0x0016
ERR_CommType
Wrong Interface type
0x0017
TamperTrig
Device tamper triggered while downloading firmware
0x0018
ERR_FwCompareHash
Firmware hash comparison failed
0x0019
Invalid_iAP2offsetadd
iAP2 mode update firmware without downloading firmware, error
0x0020
ERR_FlashWrite
Failed to write flash
iDynamo 5 Gen III connects to iOS products via a USB-C or Lighting to USB-C cable.
This section provides information about developing an iOS app that interfaces with the device via the Lightning or USB connector using iPod Accessory Protocol 2 (iAP2). For sample code and other supporting materials, see DYNAMAX / EDYNAMO / UDYNAMO / ADYNAMO / IDYNAMO / KDYNAMO / SDYNAMO / TDYNAMO SDK FOR IOS (WEB), available from MagTek.
To develop host software for an iOS host that connects to the device, you must know the following device properties, which are specified by the purchaser when ordering, and loaded by the manufacturer:
protocolString, also known as the SDK Protocol, usually in the form of a reverse DNS string unique to the host software developer or the device purchaser.
The host software project must include the protocolString in its .plist file before compiling. Spelling, including punctuation and capitalization, must exactly match the protocolString of the device.
The host software should initiate a connection to the device using the iOS SDK’s External Accessory Framework (for sample code, see Apple’s EADemo app). Upon establishing the connection, the host can begin exchanging data with the device.
This USB device conforms to the USB specification revision 2.0 and Human Interface Device (HID) class specification version 1.11. The device is set up as a full-speed, high-powered USB device that draws power from the USB bus. iDynamo5 Gen III identifies itself to the USB host with MagTek’s vendor ID 0x0801 and Product ID (PID) of 0x0020. All USB enumeration will include the device serial number.
HID reports used by the host can be divided into two types:
Feature Reports, which the host uses to send commands to the device and receive responses using Get Feature and Set Feature.
Input Reports are used by the device to send unsolicited notifications to the host when the device’s state changes, or to send asynchronous responses to the host when a command completes. The device commonly uses input reports when reporting card swipes, device events, or when a command takes more time for the device to process than is reasonable for the host to wait on a blocking call for the device to acknowledge completion.
A device in KB mode identifies itself to the USB host as a keyboard and transmits data to the host as ASCII as though it is being typed by a person on an actual keyboard. It does this by mapping each of the possible ASCII characters in the stream to keystrokes. To send an ASCII character to the host, the device looks up the ASCII character in the key and retrieves a combination of a single Key Usage which is a unique value assigned to every keyboard key, and a Key Modifier Byte and sends them to the host. The key modifier byte modifies the meaning of the key usage ID, by indicating whether any combination of the right or left Ctrl, Shift, Alt or GUI keys [as defined by Universal Serial Bus (USB) Device Class Definition for Human Interface Devices (HID)] are pressed at the same time as the key usage ID.
The device transmits ASCII 0 to 31 and 127 as their equivalent control code combinations. For example, for a carriage return value 13 (0x0D), the device appears to the host as a keyboard where a person very quickly presses and holds the Ctrl key, then presses the M key, then releases both keys.
When the keymap contains a Key Usage ID and Key Modifier Byte of 0xFF for the ASCII value the device wants to send, the device uses Alt ASCII code keystrokes instead of key map values, meaning it simulates holding down the Alt key on a keyboard and typing the three-digit decimal value of the ASCII character it wants to send. For example, to transmit the ASCII character ‘?’ (063 decimal in the ASCII table), the device sends keypad ‘0’ combined with the Left Alt key modifier, then keypad ‘6’ combined with the Left Alt key modifier, then keypad ‘3’ combined with the Left Alt key modifier.
Commands and Responses
Feature reports are used to send commands and receive responses, even when KB mode is active.
Notifications (RFU)
This section defines how the device communicates with the host over the USB HID interface.
The data transmitted in commands, responses, and notifications can be substantial, with a size limit of 64 kilobytes (64K bytes). However, the USB HID interface utilized by V5 restricts messages to 64 bytes. Therefore, to accommodate larger messages, we employ specific methods to segment them into multiple 64-byte packets. The segmentation approach varies depending on the message type to ensure compatibility with legacy V5. Below is the core structure of a USB HID packet.
The device makes data available to the host using one or more Input Reports over a USB Interrupt IN pipe. The host will poll the device at the configured Polling Interval to see if Input Reports are ready. The device must respond to polls with a USB NAK when no Input Reports are available.
Data Messages sent by the device use Input Report ID 0x01.
Notification Messages sent by the device use Input Report ID 0x02.
The host sends commands using a Set Feature Report and sends a Get Feature Report to the device to retrieve a synchronous response when appropriate. Feature reports use report ID 0x01.
The host should send both Feature Report types using the default Control pipe using a blocking call to the operating system’s native USB libraries. The device NAKs the Status page of a Set Feature Report until it finishes the requested operation, and if it does not respond, the operating system will generally time out and report failure. This method ensures that as soon as the device has fulfilled the command request embedded in the Set Feature Report, the host software can immediately call a follow-up Get Feature Report to retrieve the command.
In very rare cases, the host may simply send a Get Feature Report directly without a preceding Set Feature Report. The Commands documentation specifies these special cases if they exist.
Commands are sent to the device using USB Set Feature Reports using Report ID 1.
Sending commands to the device over a packeted interface (maximum parameter size is 64k (0xFFFF). Standard command format gets broken down into packets for interfaces that do not support unlimited length messages. This is compatible with the V5 extended command protocol.
The number ranges shown in packets assume the interface is USB with a maximum message size of 64 bytes.
The Command and Parameter Data length fields stay the same for all packets. Each packet will contain one segment of parameter data up to 52 bytes. The data offset indicates which portion of the parameter data is contained within this packet.
If the required Parameter Data is 52 bytes or shorter, the host can send the entire command using a single command packet. If the Parameter Data is longer than 52 bytes, the host should split the data into multiple packets of 52 or fewer bytes and send multiple command packets. Assuming 52-byte packets, the first packet the host sends should specify Data Offset = 0, the next packet should specify Data Offset = 52, and so on, until the host has sent all the Parameter Data. The device’s response to each packet contains either an extended command result code or a standard result code for the command that was sent:
A packet with Data Offset = 0 is considered the start of a new command. If there are still packets pending from a previous command, then that command is cleared, and all data received is erased.
The device will respond to packets with a 0x0B,0x00 when it expects additional packets (i.e., the length of parameter data received is less than the full parameter data length). When all data has been received, then the device will respond with a packet starting with 0x0A and include the response message for the command.
ACK Packet … Send next packet.
Result Code 0x0B - Protocol Request Pending indicates the device is buffering the incoming data and expects the host to send subsequent packets.
Error due to invalid or missing data or due to a timeout while the device is waiting for more packets.
Response messages are generated after executing a command and made available to the host as a feature report with the report ID set to 1. The host uses the USB Get Feature Report to receive the response or a portion. The following should be compatible with V5 extended responses.
After the host receives the initial response packet, it’s up to the host to collect the data and send 0x4A commands to get more response packets until all data has been received.
Notification messages with a data size longer than 52 bytes will need to be split into multiple packets to accommodate the USB HID interface. Notifications are made available to the host as one or more USB Input Reports with the report ID set to 2.
Data messages are another type of asynchronous communication and handled in the same manner as a notification, except the report ID is set to 1.
When connected to an iOS host, the device communicates over what appears to be a simple bidirectional serial line transferring binary data. To manage serial communications, we utilize an old method called SLIP (Serial Line Internet Protocol). This allows the addition of message control characters and a method to distinguish between control and data.
Each message is prefixed by a one-byte message type followed by a two-byte message length. The possible types are:
00 - Data (Data is ASCII text to be compatible with KB emulation output)
02 - Notification
04 - Response
05 – Command
Messages are framed before and after with a byte value of 0xC0. Because this value can also appear as part of the data message, a few 2-byte sequences are added to distinguish between control and data bytes. The sender modifies the outgoing data, and the receiver translates the incoming data back to the original message. Conversion can be done on the fly during the sending and receiving processes.
Assemble message.
Add message type and length to the beginning of the message.
Replace any bytes with value 0xDB with bytes 0xDB 0xDD.
Replace any bytes with value 0xC0 with bytes 0xDB 0xDC.
Multi-byte values like command and data lengths are always big-endian.
Data Messages are formed in response to a cardholder event such as swiping a card or pressing a button. These messages are formatted as a block of ASCII text and compatible with all interfaces.
Commands consist of a 2-byte command, a 2-byte Parameter Data Length, and Parameter Data as needed.
Responses consist of a 2-byte return code, a 2-byte response data length, and response data as needed.
Clear
Hex
var
Notification in ASCII-Hex
8..n
Data
May contain part or all the notification data. The size of this field is contained in the Partial Data Length field.
Varies
Data
May contain part or all the data. The size of this field is contained in the Partial Data Length field.
Description
Type
Txt Len
Notes
Message ID = “N001”
Clear
ASCII
4
Notification Msg ID in KB mode
Notification Length
Clear
HEX
4
Notification Length
Data Offset
ID
Complete Data Len
Data Segment
2 bytes
2 bytes
2 bytes
varies
Command
Parameter Data Len
Parameter Data
2 bytes
2 bytes
0-64k bytes
Header
Packet Data Len
(Includes all subsequent field lengths)
Data Offset
Command
Full Parameter Data Len
Partial Parameter Data
0x49
1 Byte (6-58)
2 bytes
2 bytes
2 bytes
0-52 bytes
Packet Result
Data Len
0x0B
0x00
Pkt Response
Data Len
Response
0x0A
1 byte
First portion of response
Packet Result
Data Len
0x02
0x00
Return Code
Response Data Len
Response Data
2-bytes
2-bytes
0...n bytes
Header
Packet Data Len
(Includes all subsequent field lengths)
Data Offset
Response Code
Full Response Data Len
Partial Response Data
0x0A
1 Byte (6-58)
2 bytes
2 bytes
2 bytes
0-52 bytes
Send Next Packet Command
Data Len
0x4A
0x00
Length
Field Name
Description
0..1
Partial Data Length
The length of the Data field contained in the current message. This field is in big endian format. If this value is not equal to the Complete Data Length, the device is sending the notification using multiple packets.
2..3
Data Offset
The offset position in bytes within the entire assembled notification where the first byte of the current packet’s Data field is located. This field is in big endian format. The first byte of the entire notification’s Data is at offset zero.
4..5
Notification Identifier
The type of notification being sent. This field is in big endian format. In many cases, two-byte notification identifiers are assigned such that the high byte indicates a group of related commands, and the low byte specifies a command within that group.
6..7
Complete Data Length
Length
Field Name
Description
1
Partial Data Length
The length of the Data field contained in the current message. This field is in big endian format. If this value is not equal to the Complete Data Length, the device is sending the data using multiple packets.
2
Data Offset
The offset position in bytes within the entire assembled notification where the first byte of the current packet’s Data field is located. This field is in big endian format. The first byte of the entire Data message is at offset zero.
2
Reserved
Set to 0000
2
Complete Data Length
Message Type
Message Len
Message
1 byte
2 bytes
Length varies
Start
Message Type
Message Len
Message
End
0xC0
1 byte
2 bytes
Length varies
0xC0
Notification
The total length of data for the entire notification message, summing all Partial Data Lengths for multiple packets. This field is in big endian format. If this value is not equal to the Partial Data Length of the current packet, the device is sending the data using multiple packets.
The total length of data for the entire data message, summing all Partial Data Lengths for multiple packets. This field is in big endian format. If this value is not equal to the Partial Data Length of the current packet, the device is sending the data using multiple packets.
SLIP example
Message 01 DB C0 05 S
LIP C0 01 DB DD DB DC 05 C0Return Code
Response Data Len
Response Data
2-bytes
2-bytes
0...n bytes
Notifications consist of a 2-byte notification code, a 2-byte notification data length, and notification data when needed. They are sent asynchronously due to device events. They can also be used as delayed responses for commands that take longer to process.
Notification ID
Notification Data Len
Notification Data
2-bytes
2-bytes
0...n bytes
Sentinels
Data for each card track is typically bracketed by a start and end sentinel. The sentinel characters can be changed by setting properties. The start sentinel can also indicate what format was used to encode the track.
[SS] Track Data [ES]
If a property value is set to 0, then no character will be sent.
Name
Description
Length
Property
Default
T1ISO
Tk1 SS if ISO
1
0x24
0x25 ‘%’
T2ISO
Tk2 SS if ISO
1
0x25
0x3B ‘;’
Masking
The PAN field must always be partially masked. The device can be configured to expose the 0-8 leading characters and 0-4 trailing characters. The 8-digit limit for leading characters automatically drops to 6 for cards where the PAN length is less than 16 (e.g. American Express).
Properties 0x07 and 0x08 are used to configure PAN masking.
M001/M002 Message
Non-PCI
PCI
PAN masking
Can be configured using Property 0x07 and 0x08.
Can be configured using Property 0x07 or 0x08 with the following exceptions.
· Masking Character, ‘V’, is not supported in Property 0x07/0x08.
· Not allowed to unmask leading PAN digits more than 6 digits when PAN length is 15 digits.
Name masking
Always fully unmasked.
Always fully masked with ‘*’.
ISO Only:
Expiration Date masking
Always fully unmasked (4 digits).
Always masked with 5th character from Property 0x07.
ISO Only:
Service Code masking
Can be enabled or disabled using Property 0x6E (3 digits).
Data messages include DUKPT KEY information fields so the host can derive the correct decryption or MAC key.
Byte
Len
Description
Values
Notes
1
1
DUKPT Key Info Version
0x00 – Legacy DUKPT
0x01 – Current (AES) DUKPT
2
1
For Data Item
0x01 – RFU
0x01 – Message MAC
0x02 – MSR Data
0x03 – MP Token
0x04 – Qwantum Token
0x05 – Qwantum Data
Example:
Data messages will always be made up of ASCII text characters regardless of the interface for compatibility purposes. Text is used to address limitations when using keyboard emulation.
Any Field with no value will be empty between separator characters.
Field Description
Prot
Type
Txt Len
Notes
Message ID = “M001”
Clear
ASCII
4
MSR Data Message
Track 1 Masked Data
Clear
ASCII
var
Field Description
Prot
Type
Txt Len
Notes
Message ID = “M002”
Clear
ASCII
4
MSR Data Message
Track 1 Masked Data
Clear
ASCII
var
The device transmits an M002 message with three new data fields: Encrypted SCDE, KSN (SCDE) and DUKPT Key Info (SCDE) to the host instead of an M001 message when the following four conditions are satisfied. Selectable Card Data Encryption is enabled through Property 0x78.
Any of the defined property 0x78 bits are set to 1 (enabled),
Card Encode Type is ISO (a.k.a. financial card),
SCDE DUKPT key is injected or present in the device, and
SCDE DUKPT future keys are available (not exhausted)
If any one of the four conditions is not met, an M001 message will be returned to the host instead of an M002 message.
The encrypted SCDE field in the M002 message, [Encrypted SCDE], includes six data fields, field_1 ~ field_6. The six data fields are placed in a buffer prior to encryption. The selectable card data element starts with a field separator (FS) followed by a data field, and the last field separator is appended following the sixth data field (field_6) as shown below (total seven FS characters). The field separator used in the SCDE is the same FS used in the M001 or M002 message, which may be changed using Property 0x23.
Each data field in the SCDE is defined as follows.
Description
Type
Length (bytes)
Property 0x78
field_1
Cardholder Name from Track 1
AN
var (max 26)
bit 0
field_2
PAN from Track 1or Track 2 (padding nibble=F)
CN
var (max 19)
bit 1
The SCDE DUKPT key (DKPTM1F) is used to encrypt the six data fields (| field_1 | field_2 | field_3 | field_4 | field_5 | field_6 |)only. No other keys should be used for the SCDE.
The encrypted SCDE field in the M002 message is an encrypted blob holding six card data fields selected with Property 0x78 bits. If a defined bit is set to zero, the corresponding data field will be empty in the clear-text SCDE. The clear-text SCDE including enabled data fields will be encrypted with an SCDE DUKPT future key.
When all defined bits in the property 0x78 are set to zeros, the encrypted SCDE is disabled. As a result, the M001 message should be transmitted to the host instead of the M002 message.
Encrypt( | field_1 | field_2 | field_3 | field_4 | field_5 | field_6 | )
Field Separation
This device uses configurable properties to define characters that get inserted into the message for parsing purposes. The simplest option is to have characters for start of message (SOM), end of message (EOM), and field separation (FS) only.
Name
Description
Length
Property
Default
To Disable
SOM
Start of Message
0-7
0x1E
0
0
EOM
End of Message
0-7
0x22
This is the message format for Qwantum cards, or for any card when Qwantum Mode is on.
Description
Prot
Type
Txt Len
Notes
Message ID = “Q001”
Clear
ASCII
4
Qwantum Card message
KSN (Token)
Clear
HEX
20/24
TDES or AES
This message is used when the device sends out encrypted data from the Secure Buffer.
Description
Prot
Type
Txt Len
Notes
Message ID = “Q002”
Clear
ASCII
4
Qwantum Buffer Message
KSN (Token)
Clear
HEX
20/24
TDES or AES
This message is used when the device sends out when Qwantum Secure Data is empty.
Description
Prot
Type
Txt Len
Notes
Message ID = “Q003”
Clear
ASCII
4
Qwantum Buffer Message
Message Code
Clear
ASCII
2
Text characters indicating message code
Command
Parameter Data Len
Parameter Data
2-bytes
2-bytes
0…n bytes
00 02 01 00 0080 FF02 MSR encrypt CBC zero pad with legacy DUKPT 128-bit TDEA data variant.[SOM] M001
[FS] [Track 1 Masked Data]
[FS] [Track 2 Masked Data]
[FS] [Track 3 Masked Data]
[FS] [Track 1 Encrypted Data]
[FS] [Track 2 Encrypted Data]
[FS] [Track 3 Encrypted Data]
[FS] [MP Status]
[FS] [Encrypted MP Data]
[FS] [Encrypted Session ID]
[FS] [MSR DUKPT Key Serial Number]
[FS] [MSR DUKPT Key Info]
[FS] [MP DUKPT Key Serial Number]
[FS] [MP DUKPT Key Info]
[FS] [Device Serial Number]
[FS] [MAC DUKPT Key Info]
[FS] [MAC message length]
[FS] [MAC]
[EOM]
[FS] [MAC][EOM]
[SOM] M002
[FS] [Track 1 Masked Data]
[FS] [Track 2 Masked Data]
[FS] [Track 3 Masked Data]
[FS] [Track 1 Encrypted Data]
[FS] [Track 2 Encrypted Data]
[FS] [Track 3 Encrypted Data]
[FS] [MP Status]
[FS] [Encrypted MP Data]
[FS] [Encrypted Session ID]
[FS] [MSR DUKPT Key Serial Number]
[FS] [MSR DUKPT Key Info]
[FS] [MP DUKPT Key Serial Number]
[FS] [MP DUKPT Key Info]
[FS] [Device Serial Number]
[FS] [MAC DUKPT Key Info]
[FS] [MAC message length]
[FS] [MAC]
[FS] [Encrypted SCDE]
[FS] [SCDE DUKPT Key Serial Number]
[FS] [SCDE DUKPT Key Info]
[EOM]
[SOM] Q001
[FS] [Token DUKPT Key Serial Number]
[FS] [Token DUKPT Key Info]
[FS] [QWANTUM Status]
[FS] [QWANTUM Token]
[FS] [Encrypted Session ID]
[FS] [QWANTUM Card ID]
[FS] [Device Serial Number]
[FS] [MAC DUKPT Key Info]
[FS] [MAC message length]
[FS] [MAC]
[EOM]
[SOM] Q002
[FS] [Token DUKPT Key Serial Number]
[FS] [Token DUKPT Key Info]
[FS] [Encrypted Session ID]
[FS] [Encrypted Qwantum Data Buffer]
[FS] [Device Serial Number]
[FS] [MAC DUKPT Key Info]
[FS] [MAC message length]
[FS] [MAC]
[EOM]
[SOM] Q003
[FS] [Message Code]
[FS] [Message]
[EOM]Q003|01|No Data Stored. Nothing to Transmit.|Properties are used to provide information about the device and how to configure it. Secured properties are set at the factory or by an administrator using software tools supplied by MagTek. Property values take effect immediately unless specified otherwise.
T3ISO
Tk3 SS if ISO
1
0x26
0x2B ‘+’
T3AMV
Tk3 SS if AAMVA
1
0x27
0x23 ‘#’
T27BT
Tk2 SS if 7bit
1
0x28
0x40 ‘@’
T37BT
Tk3 SS if 7bit
1
0x29
0x26 ‘&’
ES
End sentinel
1
0x2B
0x3F ‘?’
Always masked with 5th character from Property 0x07.
AAMVA Only:
Expiration Date and Birth Date
Always fully unmasked (12 digits).
Always masked with 5th character from Property 0x08.
Discretionary Data masking
Unmasked if error. Otherwise, masked with 5th character from Property 0x07 or 0x08.
Unmasked if error. Otherwise, masked with 5th character from Property 0x07 or 0x08.
3
1
Using Mode/Operation
0x00 – RFU
0x01 – ENC-CBC-0
0x02 – ENC-CBC-SECURE
0x03 – ENC-CTR
0x10 – MAC-CBC-0
0x11 – CMAC
0x12 – HMAC
0x13 – GMAC
4
1
Derived Key Algorithm
0x00 – 2-key TDEA
0x01 – 3-key TDEA
0x02 – AES 128-bit
0x03 – AES 192 bit
0x04 – AES 256 bit
0x05 – HMAC
5-6
2
Generated Key Length (bits)
0x0100 – 256 bits
0x0080 – 128 bits
7-8
2
Derived Key Usage
0x2002 – MAC, both ways
0x3002 – Data Encryption, both ways
0xFF00 – Legacy PIN Variant
0xFF01 – Legacy MAC, both ways
0xFF02 – Legacy Data Encryption
AES DUKPT: Use “Legacy: FFnn”, which means “shift FF left nn bytes”.
Per masking configuration
Track 2 Masked Data
Clear
ASCII
var
Per masking configuration
Track 3 Masked Data
Clear
ASCII
var
Per masking configuration
Track 1 Data
Encrypt
HEX
var
Encrypted with MSR key.
Track 2 Data
Encrypt
HEX
var
Encrypted with MSR key.
Track 3 Data
Encrypt
HEX
var
Encrypted with MSR key.
MP Status Code
Clear
HEX
8
MP Token
Encrypt
HEX
var
Encrypted with MSR or MP key as configured (see Property 0x15).
Session ID
Encrypt
HEX
16/32
Encrypted with MSR key. Session ID = RTC value.
KSN (MSR)
Clear
HEX
20/24
DUKPT Key Info (MSR)
Clear
HEX
16
KSN (MP)
Clear
HEX
0/20/24
Empty when MSR key is used
DUKPT Key Info (MP)
Clear
HEX
16
Empty when MSR key is used
Device Serial Number
Clear
ASCII
7
Indicates valid range of each hex digit –
‘0’ ~ ‘9’ (0x30 ~ 0x39),
’A’ ~ ‘F’ (0x41 ~ 0x46)
DUKPT Key Info (MAC)
Clear
HEX
16
Using MSR Key
Message Length
Clear
HEX
4
Include all of message except for MAC. Length required for MAC security. High byte first.
MAC
Clear
HEX
16/32
MAC variant of MSR encryption key is used to calculate MAC.
CBC MAC if MSR DUKPT key is TDES
CMAC if MSR DUKPT key is AES
Per masking configuration
Track 2 Masked Data
Clear
ASCII
var
Per masking configuration
Track 3 Masked Data
Clear
ASCII
var
Per masking configuration
Track 1 Data
Encrypt
HEX
var
Encrypted with MSR key.
Track 2 Data
Encrypt
HEX
var
Encrypted with MSR key.
Track 3 Data
Encrypt
HEX
var
Encrypted with MSR key.
MP Status Code
Clear
HEX
8
MP Token
Encrypt
HEX
var
Encrypted with MSR or MP key as configured (see Property 0x15).
Session ID
Encrypt
HEX
16/32
Encrypted with MSR key. Session ID = RTC value.
KSN (MSR)
Clear
HEX
20/24
DUKPT Key Info (MSR)
Clear
HEX
16
KSN (MP)
Clear
HEX
0/20/24
Empty when MSR key is used
DUKPT Key Info (MP)
Clear
HEX
0/16
Empty when MSR key is used
Device Serial Number
Clear
ASCII
7
Indicates valid range of each hex digit – ‘0’ ~ ‘9’ (0x30 ~ 0x39), ‘A’ ~ ‘F’ (0x41 ~ 0x46)
DUKPT Key Info (MAC)
Clear
HEX
16
Using MSR Key
Message Length
Clear
HEX
4
Include all of message except for MAC. Length required for MAC security. High byte first.
MAC
Clear
HEX
16/32
MAC variant of MSR encryption key is used to calculate MAC.
CBC MAC if MSR DUKPT key is TDES
CMAC if MSR DUKPT key is AES
Encrypted SCDE
Encrypt
HEX
var
KSN (SCDE)
Clear
HEX
20/24
DUKPT Key Info (SCDE)
Clear
HEX
16
field_3
Expiration Date from Track 1 or Track 2
4N
2
bit 2
field_4
Service Code from Track 1 or Track 2
3N
2
bit 3
field_5
T1 discretionary data
AN
var
bit 4
field_6
T2 discretionary data (padding nibble=F)
CN
var
bit 5
‘\r’ (0x0D)
0
FS
Field Separator
1
0x23
‘|’ (0x7C)
0
DUKPT Key Info (Token)
Clear
HEX
16
Qwantum Status
Clear
HEX
8
from ASIC
Qwantum Token
Encrypt
HEX
var
Encrypted with Qwantum Token Key
Padded with zeros
Session ID
Encrypt
HEX
16/32
Encrypted with MSR key. Session ID = RTC value
Qwantum Card ID
Clear
HEX
64
32-byte SHA256 hash of TK1 name, TK2 PAN and TK2 Expiration Date
Device Serial Number
Clear
ASCII
7
Indicates valid range of each hex digit – ‘0’ ~ ‘9’ (0x30 ~ 0x39), ‘A’ ~ ‘F’ (0x41 ~ 0x46)
DUKPT Key Info (MAC)
Clear
HEX
16
for Qwantum Token Key
Message Length
Clear
HEX
4
Includes all of message fields except for MAC (High byte first)
MAC
Clear
HEX
16/32
MAC variant of MSR encryption key is used to calculate MAC.
CBC MAC if MSR DUKPT key is TDES
CMAC if MSR DUKPT key is AES
DUKPT Key Info (Token)
Clear
HEX
16
Session ID
Encrypt
HEX
16/32
Encrypted with MSR key. Session ID = RTC value
Qwantum Buffer
Encrypt
HEX
1-2K
Encrypted with Qwantum Token Key
Padded with pad length
Device Serial Number
Clear
ASCII
7
Indicates valid range of each hex digit – ‘0’ ~ ‘9’ (0x30 ~ 0x39), ‘A’ ~ ‘F’ (0x41 ~ 0x46)
DUKPT Key Info (MAC)
Clear
HEX
16
for Qwantum Token Key
Message Length
Clear
HEX
4
Includes all of message fields except for MAC (High byte first)
MAC
Clear
HEX
16/32
MAC variant of MSR encryption key is used to calculate MAC.
CBC MAC if MSR DUKPT key is TDES
CMAC if MSR DUKPT key is AES
Message
Clear
ASCII
36
Message for empty buffer
This read-only property returns the main firmware part number, a dash, the major and minor revision number, followed by a dash and the firmware type. {main firmware part number}-{3 character rev}-{type}
Example
1000004854-AD9-PCI
Property ID:
0x02
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x01
This one-byte value (1-255) sets the device’s polling interval in milliseconds for the Interrupt in Endpoint. The device sends the value of this property as part of USB device enumeration to the host.
Property ID:
0x03
Property Type:
String
Length:
7
Get Property:
Yes
Set Property:
No
Default Value:
N/A
This value is also found on the product label. The property contains the 7-character MagTek device serial number. This value is used for USB device enumeration, data messages, and message security.
Property ID:
0x04
Property Type:
String
Length:
0 - 7 bytes
Get Property:
Yes
Set Property:
No
Standard Value:
PCIV01
This is a maximum 7-byte read-only property that identifies the MagneSafe Feature Level supported on this device.
Property ID:
0x05
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x95
This property is defined as follows:
Bit Position
7
6
5
4
3
2
1
0
id
0
T3
T3
T2
T2
T1
id = 0: Decodes standard ISO/ABA cards only
id = 1: Decodes AAMVA and 7-bit cards also
If the id flag is set to 0, only tracks that conform to the ISO card data format allowed for that track are decoded. If the track cannot be decoded by the ISO method, the device reports a decode error.
For each pair of track bits, valid values are as follows:
T# = 00: Track Disabled
T# = 01: Track Enabled
T# = 10: Track Enabled and Required (Generates error if track is blank)
Property ID:
0x07
Property Type:
String
Length:
6 bytes
Get Property:
Yes
Set Property:
Yes
Default Value:
04040Y
This property specifies how the device should mask data on ISO/ABA type cards: Each byte in the sequence has the following meaning:
Length
Description
2
These bytes are an ASCII representation of a decimal value that specifies how many of the leading characters of the PAN the device sends unmasked. The range is from “00” to “99”.
2
These bytes are an ASCII representation of a decimal value that specifies how many of the trailing characters of the PAN the device sends unmasked. The range is from “00” to “99”.
1
Masking Character. This byte specifies which character the device uses for masking. If this byte contains the uppercase letter ‘V’, the following rules apply:
The device masks the PAN using character ‘0’
The device leaves all data after the PAN unmasked, leaving Discretionary Data (“DD”) and other non-PAN data available for the host to read.
0x00 (NULL character) is not allowed.
1
This byte specifies whether the device applies Mod 10 Correction to the PAN. “Y” means Yes, “N” means No. This option is only effective if the Masking Character specified by this command is “0”.
Length
Description
2
These bytes are an ASCII representation of a decimal value that specifies how many of the leading characters of the PAN the device sends unmasked.
The leading character range is from “00” to “08” when the PAN length is greater than 15.
The leading character range is from “00” to “06” when the PAN length is 15 or less.
2
These bytes are an ASCII representation of a decimal value that specifies how many of the trailing characters of the PAN the device sends unmasked. The range is from “00” to “04”.
1
Masking Character. This byte specifies which character the device uses for masking.
The uppercase letter ‘V’ is not supported.
0x00 (NULL character) is not allowed.
1
This byte specifies whether the device applies Mod 10 Correction to the PAN. “Y” means Yes, “N” means No. This option is only effective if the Masking Character specified by this command is “0”.
Property ID:
0x08
Property Type:
String
Length:
6 bytes
Get Property:
Yes
Set Property:
Yes
Default Value:
04040Y
This property specifies the factors for masking data on AAMVA type cards. Each byte in the property has the following meaning:
Length
Description
2
These bytes are an ASCII representation of a decimal value that specifies how many of the leading characters of the Driver’s License/ID Number (DL/ID#) the device sends unmasked. The range is from “00” to “99”.
2
These bytes are an ASCII representation of a decimal value that specifies how many of the trailing characters of the DL/ID# sends unmasked. The range is from “00” to “99”.
1
Masking Character. This byte specifies which character the device uses for masking. If this byte contains the uppercase letter ‘V’, the following rules apply:
The device masks the PAN according to the rules of this property (Property 0x34 - Send AAMVA Card Data is ignored).
The device uses ‘0’ for masking the PAN.
The device sends all data after the PAN without masking.
1
This byte specifies whether the device applies Mod 10 Correction to the DL/ID#. “Y” means Yes, “N” means No. This option is only effective if the masking character specified in this command is “0”.
Length
Description
2
These bytes are an ASCII representation of a decimal value that specifies how many of the leading characters of the Driver’s License/ID Number (DL/ID#) the device sends unmasked. The range is from “00” to “99”.
2
These bytes are an ASCII representation of a decimal value that specifies how many of the trailing characters of the DL/ID# sends unmasked. The range is from “00” to “99”.
1
Masking Character. This byte specifies which character the device uses for masking.
The uppercase letter ‘V’ is not supported.
0x00 (NULL character) is not allowed.
1
This byte specifies whether the device applies Mod 10 Correction to the DL/ID#. “Y” means Yes, “N” means No. This option is only effective if the masking character specified in this command is “0”.
Property ID:
0x10
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes (No for devices that switch connections automatically)
Default Value:
Dependent on device type:
This property represents the device’s current connection type.
Valid values for this property are:
0x00 = USB HID (HID Only)
0x01 = USB Keyboard Emulation (KB) (USB KB Only)
0x02 = iAP2
0xFF = One-Time Automatic (HID Only | iAP2 Only). When the property is set to this value and the device connects to a host, the device attempts to determine which interface type the host is using. After it successfully detects the interface type, it automatically sets this property to the value that corresponds to that interface type.
Property ID:
0x15
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes (Secure MAC)
Default Value:
0x00
Configures Magneprint options.
7
6
5
4
3
Bit 2
Bit 1
Bit 0
0
0
0
0
0
0=Use SRED encrypt key
1=Use MP encrypt key
0=Normal Length MP
1=Extended Length MP
0
Property ID:
0x1E
Property Type:
String
Length:
0-7 bytes
Get Property:
Yes
Set Property:
Yes
Default Value:
Null String
The device sends the value of this property to the host before all other card data. For example, if the host software requires a set of keystrokes to begin the process of receiving card data, this property could be set to transmit that keystroke sequence.
Property ID:
0x22
Property Type:
String
Length:
0-7 bytes
Get Property:
Yes
Set Property:
Yes
Default Value:
0x0D (carriage return)
The device sends the value of this property to the host at the end of the data message. For example, if the host software requires a set of keystrokes to end the process of receiving card data, this property could be set to transmit that keystroke sequence. If the value is 0, the device does not send a termination string.
Property Type:
String
Length:
Varies
Get Property:
Yes
Set Property:
No
Default Value:
Part number of installed firmware
T1
Property ID:
0x6E
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
This property controls the masking of the service code on ISO card tracks 1 and 2. If this property is set to 1, the device masks the service code. If this property is set to 0, the device does not mask the service code.
The host can use this property to enable Selectable Card Data Encryption. Any of the bits in this property enables the SCDE with the corresponding data field included in the encrypted SCDE.
The M002 message is transmitted to the host instead of the M001 message when the following four conditions are met when a financial card is swiped.
Any of the defined property 0x78 bits are set to 1 (enabled)
Card Encode Type of the swiped card is ISO
Initial SCDE DUKPT Key was injected into the device
SCDE DUKPT future keys are available (not exhausted)
For security purposes, the reader will reset itself once a day. You can choose what time this reset will occur by changing this property. Set the value to HHMM in Coordinated Universal Time (UTC). HH is one byte with a value of 0-23. MM is one byte with a value of 0-59 The new value takes effect after the next device reset or power cycle.
This data is stored securely (encrypted by DDEK). The data gets sent out in encrypted form using DUKPT when the device is in QWANTUM Mode, the button is enabled, and the button is pressed.
For PCI certified devices, this value will match the one found on the PCI website and the product label.
This property indicates whether the firmware was built to use production device keys (005454) or test device keys (000101).
The primary functions of device states are to inform production software about completed steps and pending tasks. It serves as a checklist and can also assist with remote services and RMAs.
If a key has been loaded into the device, then it’s bit indicator should be set to 1.
A fully loaded reader would return a keymap of: 7E 00 07 00 8C 00 00 00.
The host can use this property to adjust the device’s USB packet delay. The property can be set to 0 to have no delay, or it can be set to a specific value in the range of 1 to 255 ms.
Adjusting this value does not require security when the device is fully configured.
Adjusting this value does not affect the USB HOST POLL TIMEOUT, PROPERTY 0x52. In fact, it is mostly independent from the polling interval.
MagTek recommends the following values for various platforms:
Windows = 0x00 (0 ms)
Android = 0x19 (25 ms)
Linux = 0x32 (50 ms)
0x01
Property ID:
0x78
Property Type:
Binary
Length:
1 byte
Get Property:
Yes
Set Property:
Yes (Secure MAC)
Default Value:
0x00
Bit Number
Description of Bit
Bit 0
Card Holder Name
0 = Disable (Default)
1 = Enable
Bit 1
PAN
0 = Disable (Default)
1 = Enable
Bit 2
Expiration Date
0 = Disable (Default)
1 = Enable
Bit 3
Service Code
0 = Disable (Default)
1 = Enable
Bit 4
T1 Discretionary Data
0 = Disable (Default)
1 = Enable
Property ID:
0x80
Property Type:
String
Length:
varies
Get Property:
Yes
Set Property:
No
Default Value:
N/A
Example
10PCI50U0BA
Property ID:
0x81
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes (Secure MAC)
Default Value:
0
• 0 = Normal Operation
• 1 = QWANTUM Mode
Property ID:
0x82
Property Type:
Byte
Length:
2 bytes
Get Property:
Yes
Set Property:
Yes (New value takes effect after reset)
Default Value:
0000 (UTC Midnight)
Length
Field Name
Value
1
Hour
Value from 0x00...0x17 (0-23)
1
Minute
Value from 0x00...0x3B (0-59)
Property ID:
0x83
Property Type:
Bytes
Length:
0-1023 bytes
Get Property:
Yes (Secure MAC)
Set Property:
Yes (Secure MAC)
Default Value:
Length = 0
Property ID:
0x84
Property Type:
String
Length:
varies
Get Property:
Yes
Set Property:
No
Standard Value:
'iDynamo 5 Gen III'
Property ID:
0x85
Property Type:
Binary
Length:
3 bytes
Get Property:
Yes
Set Property:
No (Value depends on firmware build type)
Default Value:
005454 (for PCI), 000101 (for Non-PCI)
Property ID:
0x86
Property Type:
Binary
Length:
4 bytes
Get Property:
Yes
Set Property:
No – values come from self-test and security status.
Default Value:
N/A
Byte
Type
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
System State
Offline
0
0
Device Keys missing
Bytes
Bits
Name
Settings
BYTE 1 – System State
Bit 7
Offline
0 = All bits in this property are set to 0
1 = Not all bits in this property are 0
Bit 6
Reserved
Always 0
Property ID:
0x87
Property Type:
Binary
Length:
8 bytes
Get Property:
Yes
Set Property:
No – values come from key injection.
Starting Value:
0 – if no keys loaded
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1 – TK1
0
MKIFTK
MFGTK
PRODTK
FINTK
DEVTK
Property ID:
0x88
Property Type:
Binary
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Starting Value:
0x00 (0 ms)
Bit 5
T2 Discretionary Data
0 = Disable (Default)
1 = Enable
Bit 6
Reserved
Bit 7
Reserved
RTC not active/set
Not Initialized
Security Inactive
Tampered
2
Self-Test failure
Data Integrity
Key Integrity
0
0
0
Registers
Crypto
RNG
3
PCI Info
0
0
0
0
0
HW ID Missing
Model Name Missing
Serial # Missing
4
Unmapped Data Types
0
0
0
0
0
0
0
0
Bit 5
Bit 4
Device Keys Missing
0 = Device keys present
1 = Device keys missing
NOTE: “Device Keys” refer to the keys that are injected during MfgCfg such as Transport Keys and MAC Keys. “Device Keys” do not include DUKPT keys (2007, 2002 and 2003). The DUKPT keys are “Financial Keys”.
Bit 3
RTC not Active/Set
0 = RTC active
1 = RTC inactive (not enabled)
Bit 2
Not Initialized
0 = Non-volatile storage initialized
1= Non-volatile storage not initialized
NOTE: “Initialized” means:
a. the master keys are generated internally.
b. the data & key storage area is initialized with an initialization indicator such as 0xAA55 and its integrity is known good.
Bit 1
Security Inactive
0 = Security activated
1= Security not activated
NOTE: “Security” means Tamper.
Bit 0
Tampered
0 = Device not tampered
1 = Device tampered
BYTE 2 – Self-Test Failure
Bit 7
Data Integrity
0 = Configuration data in NVS not corrupted
1 = Found data corruption in the configuration data
Bit 6
Key Integrity
0 = All fixed keys and injected keys are not corrupted
1 = Found key data for one or more keys is corrupted
Bit 5
Reserved
Always 0
Bit 4
Bit 3
Bit 2
Registers
0 = All hardware registers in uC required for normal operation of the device are initialized/ enabled/configured/ functional;
1 = Any one or more of those registers are not operating correctly
Bit 1
Crypto
0 = Passed test
1 = Failed test
NOTE: Enable Crypto engine in uC and test crypto functions and make sure it returns the expected results. (e.g. KAT – Known Answer Test)
Bit 0
RNG
0 = Passed test
1 = Failed test
NOTE: Enable RNG in uC and read RNG value a few times and make sure RNG returns different values for each read.
BYTE 3 – PCI Info
Bit 7
Reserved
Always 0
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
PCI HW ID Missing
0 = Found a valid PCI HW ID in Property 0x80
1 = PCI HW ID missing
Bit 1
Model Name Missing
0 = Found a valid model name in Property 0x84
1 = Model name missing
Bit 0
Serial # Missing
0 = Found a valid DSN in Property 0x03
1 = DSN missing
BYTE 4 – Unmapped Data Types
Bit 7
Reserved
Always 0
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MTK
TMPTK
2 – TK2
0
0
0
0
0
0
0
0
3 – MK1
0
0
0
0
0
MFRQMK
MREQMK
FREQMK
4 – MK2
0
0
0
0
0
0
0
0
5 – DK1
DKPTM7
0
0
0
DKPTM3
DKPTM2
0
0
6 – DK2
0
0
0
0
0
0
0
0
7 – DK3
0
0
0
0
0
0
0
0
8 – DK4
DKPTM1F
0
0
0
0
0
0
0
This query string instructs the device to prompt for a card swipe.
?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestCardSwipe
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The CardSwipe output in TVL format.
Example:
This query string sends a command to the device and returns the raw response from the device.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Command response output in Hex string format of device raw response for this command.
Example:
This query string sends an extended command to the device and returns the raw response from the device.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Extended Command response output in Hex string format of device raw response for this command.
Example:
This query string sends a batch of commands to the device and returns the raw response from the device.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Return Value:
The Batch Command response output in Hex string format of device raw response for this command.
This query string begins an EMV transaction.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The EMV ARQC response output in Hex string format of device raw response for this command.
Example:
This query string sends the ARPC to the device during an EMV transaction.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The EMV ARPC response output in Hex string format of device raw response for this command.
Example:
This query string instructs the device to prompt for a PIN.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Response output in Hex string format of device raw response for this command.
Example:
This query string instructions the device to prompt for a manual card entry.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The CardSwipe output in TVL format.
Example:
This query string sends a command to the device and returns the raw response from the device.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Command response output in TVL format.
Example:
This query string instructions the device to prompt for a Signature.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Signature capture output in TVL format.
Example:
This query string retrieves data from user interaction with the device.
Each input parameter supplied in the request is delimited by an ampersand character &, and the value for a parameter begins after an equal character =. Where ever a parameter contains multiple values, each are delimited by a comma character ,.
Example query:
Return Value:
The Command response output in TVL format.
Example:
readerArgument
Comma delimited list of arguments to be passed to MagneFlex. requestCardSwipe requires no arguments.
destinationURL
MagneFlex will send the postback to this URL.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web application.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestCardSwipe
&httpMethod=GET &closeDeviceAfter=true
&readerArgument= &destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: CARD_SWIPE_RESULT
cardDataIn
Magnetic swipe card data in TLV format. FA (Container for generic data) DFDF25 (Device serial number) F4 (Container for Encrypted MSR data) DFDF30 (Masked T1 status) DFDF31 (Masked T1) DFDF32 (Masked T2 status) DFDF33 (Masked T2) DFDF34 (Masked T3 status) DFDF35 (Masked T3) DFDF37 (Encrypted T1) DFDF39 (Encrypted T2) DFDF3B (Encrypted T3) DFDF3C (Encrypted MagnePrint) DFDF43 (MagnePrint Status) DFDF50 (MSR KSN)
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=CARD_SWIPE_RESULT&cardDataIn=FA820178DFDF250F42324 6363045413036313731364141F4820161DFDF300100DFDF314A254235353535303030303
03230303030343434345E4D4153544552434152442F4155544F4D4154494F4E495E31383
0363230313030303030303030303030303030303030303030303030303FDFDF320100D FDF33263B353535353030303032303030343434343D313830363230313030303030303 030303030303FDFDF340100DFDF3500DFDF3750A7803ECF28219BB1C955D7A88FC281B A663BE8590491D04FD7FD33BEAEB0B7ADD52B0FC39EEED677408FA65D68B5130D230EB 99B769D05EE42AF6CE5FF09E335E2C8686D9C95FEB6D957771BEA899CDEDFDF3928112
1CC637D0F5921D8ED05FDCAE436C93384BC949C12FC85F34C29E3951A85D797765959D
44514F0DFDF3B00DFDF3C383B61305D74C5B8FD39A3F9D7733F5F435F173ADE58897A4
07D4ED41D1F84BA7F2EA091D035B2990A0722C193F64BF1E7AD038BD3C0690D81DFDF4
30461401000DFDF500A9010010B2F60EA0001B9&passInData=?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestSendCommand
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Comma delimited list of arguments to be passed to MagneFlex. Arguments: timeLimit:, command:, endSession: Argument details: timeLimit - Seconds to wait before the operation times out. Value is in hexadecimal format. (00 - FF) command - The command to send to the device. endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestSendCommand
&httpMethod=GET &closeDeviceAfter=true &readerArgument=
timeLimit:3C, command:0900, endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: SEND_COMMAND_RESULT
commandID
Command that was sent.
commandResult
Data returned from the command sent to the device.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=SEND_COMMAND_RESULT&commandID=0900&commandResult=0 00A9010010B2F60EA0001BA& passInData=?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestSendExtendedCommand
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Extended command to send to reader.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestSendExtendedCommand &httpMethod=GET
&closeDeviceAfter=true &readerArgument=03060003010F00
&destinationURL= https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: SEND_EXTENDED_COMMAND_RESULT
commandID
Command that was sent.
commandResult
Result of a command sent to the device.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=SEND_EXTENDED_COMMAND_RESULT&commandID=0306&comman dResult=000001A801A6FA8201A2DFDF2101105F2A0208405F360102DFDF5B010CDFDF 5C0102DFDF75010CDFDF76010CDFDF6E010C9F150230309F1607303030303030309F1A
0208409F1C0831313232333334349F33032028C89F3501219F4005720000B0019F4E07
30303030303030DFDF0109A000000004F8001000DFDF025E9ADFDF289F025A899F109F
159F169F4E828E5F245F259F069F079F0D9F0E9F0F9F269F279F369C9F339F349F379F
399F40959B9F5BDFDF009F1E9F1A5F2A9F019F218ADF8120DF8121DF81225F20505F34
849F039F099F1E9F359F419F53DFDF05299A829F369F1E9F109F5B9F339F35959F015F
245A5F348A9F159F169F399F1A9F1C579F025F2A9F219CDFDF06028A91DFDF14040000
7530DFDF150400000001DFDF160400000080DFDF17599ADFDF289F029F035A899F109F
159F169F4E828E5F245F259F069F079F0D9F0E9F0F9F269F279C9F339F349F359F369F
379F399F409F419F53959B9F5BDFDF009F1E9F1A5F2A9F018ADF8120DF8121DF81225F
205F349F0984DFDF20024328DFDF260E4D414754454B2044454641554C549F3C020998
9F3D0102DFDF4704755EFA9B& passInData=?operation= &httpMethod= &readerArgument= &destinationURL= &passInData=operation
Operation to request from MagneFlex. Use: requestSendBatchCommand
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
readerArgument
Batch of commands that should be sent to reader. Commands are delimited by the bar character |. Example: readerArgument=0900|000100|1500
destinationURL
MagneFlex will send the postback to this URL.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: SEND_BATCH_COMMAND_RESULT
commandResult
Result of a command sent to the device formatted as: [command]-[result] For each command sent in a batch is returned a separate commandResult. Example: &commandResult=0900-000A9010010B355414000099 &commandResult=000100-000D31303030303033333534433033 &commandResult=1500-000103
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestStartEMVTransaction
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. For requestStartEMVTransaction use: false – do not close the device
readerArgument
Comma delimited list of arguments to be passed to MagneFlex. Arguments: timeLimit:, cardType:, option:, amount:, transactionType:, cashBack:, currencyCode:, endSession:, quickChipMode:, reserved: Argument details: timeLimit - Seconds the operation times out. Value is in hexadecimal format. (00 - FF) transactionType - Type of transaction to be used in hexadecimal: 00 = Purchase (listed as “Payment” on ICS) 01 = Cash Advance (not supported for this reader) 02 or 09 = Cash back (09 not supported, contactless) 04 = Goods (Purchase) 08 = Services (Purchase) 10 = International Goods (Purchase) 20 = Refund 40 = International Cash Advance or Cash Back 80 = Domestic Cash Advance or Cash Back cardType - Card type that can be used for the transaction: 1 = Magnetic stripe 2 = Contact smart card 3 = Magnetic stripe or contact smart card amount - The amount to be used and authorized, EMV Tag 9F02. Format in decimal. cashBack - Amount of cash back to be used, EMV Tag 9F02. Format in decimal. currencyCode - Transaction Currency Code (EMV Tag 5F2A, format n4 string) Sample valid values: 0840 = US Dollar 0978 = Euro 0826 = UK Pound endSession - Flag to end the session for the device. Default value is true. quickChipMode - Flag to start the transaction to accommodate qwick Chip mode. “true” = Accommodate qwick chip mode. “false” = Do not accommodate qwick chip mode. reserved - These are the reserved bytes beginning at index 20 of the 0xA2 command. Reference device manual D99875585 for more details. Example: 0000000000000000000000000840000100 – QuickDip Mode 0000000000000000000000000840000003 – PIN Verify 0000000000000000000000000840000004 – PIN Set
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestStartEMVTransaction &httpMethod=GET
&closeDeviceAfter=true &readerArgument=
timeLimit:3C, cardType:02, option:00, amount:9.99, transactionType:00, cashBack:0.0, currencyCode:0840, endSession:true, quickChipMode:false,
reserved:00000000000000000000000008400001
&destinationURL=https:/192.68.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=testDataerrorCode
Error status. This parameter is only available when the status is not successful.
errorMessage
Description of the errorCode. This parameter is only available when the status is not successful.
opType
The type of operation. For this command the value is: EMV_ARQC_RESULT
arqcData
ARQC data from the device.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?opType=EMV_ARQC &arqcData=0211F982020DDFDF540A00000000000000000000DFDF550182DFDF250F42 3246363045413036313731364141FA8201E3708201DFDFDF5301005F20164D41535445
52434152442F4155544F4D4154494F4E49DFDF4D263B35353535303030303230303034
3434343D313830363230313030303030303030303030303FDFDF520105F882018EDFDF
59820170A95450D8E8376FBF7105F641858BD1E5945ABB7196759757BE9923631B7C5A
3B530D27DB156E3321EEB740D5BC29EF85639CC678F4FB7FD1891FA6FFD6F696A9701A F8FC9C3C84FF98B8C05DD386048426C1FD2892C092D17CAB172A47C0C95899EDF64388 6DC9DA910203D09186ABF09BE524ABE33A9AD73703F59C6FD5727C468650CB975D92D5 BB0DE359163527A8C04130626CC27A1B5C63598E3E7F26F367866A563AB091EC35A14D 4F392522132FC5097E3757EFC52174445090DE44100FB453FD4BE077DB24F6D99E00EE BB92C9FD6604723C6E2393BA0F2F2A70F9A915D91E0A02D88A8807A77E7739F1CBCDCA 791E647B56AD146C83AA57CD300589A60042A51BE3233C59F8AEE25F1D207F14FF8E0A
968560612654F7B944B8B63ADF3467B24445D5FBE40DE8A2C46171461FD1D577ADDC56
8EB21A13E2913CA19C0FAE06BD8FE16B9B349481721D365BE5EA68BBACA63CDD76A780
45ED1C128A90EF166F2DED19239ED6AF35DCA40128DADFDF560A9010010B2F60EA0001 C3DFDF570180DFDF5801030000000000000011223344&passInData=testData?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: sendARPC
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string length.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
ARPC data to send to the device. issuerAuthenticationData:, endSession: Argument details: issuerAuthenticationData – ARPC response to send to the device. endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/cardpostback.aspx? operation=sendARPC
&httpMethod=GET &closeDeviceAfter=true &readerArgument=
issuerAuthenticationData:0030F92EDFDF540A00000000000000000000DFDF 550182DFDF250F423246363045413036313731364141FA0670048A0230300000000000
00,
endSession:true &destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: EMV_TRANS_RESULT
batchData
Batch data from the device to be passed to MagneFlex.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=EMV_TRANS_RESULT&batchData=01023FF982023BDFDF540A0 0000000000000000000DFDF550182DFDF250F423246363045413036313731364141FA8
20211F082020DF105DFDF1A0100F8820176DFDF5982015888F3F2E7838F9B729FFED8D
0866CB9C6CD06DC850B071ABF5184CFE9923B3F830D1BA6924B039DA9E75C8E717F9E0 E95E45AC87A7BD94911F7E96CAE81E8A444F144714FF34B2C20E2F18D89D0616DBE355 D808493488E2206273914A37833495A8C69DDEA90F182061CD7E7E416C20FBD2603483 89EAD6AFFBC0A0FD81BBE2E0D1FC2CF65195E1A79EC73264941D8F42BC5CD6837B9CCD
267BD1FD5C37A9352AAEB1A1346E6C9C18ACA9CB01156C12411759091146357A87A39F
1B3FB415EFDAA48509E9A25003E54E87616F63F04C2484261B3A765E23AB7176FF6C1B
08D8BFD23B6884835620BB175E366A54232598028FF24998186BAA0590B92DCF336623 F881D66379219C535DA2721E77ECBA8ADF8675BE0B9C8AC56CC5A52B9FD8216A43EA43 B2B7CE7D22E911AB107566A8F79A103677F16681DD811852332CFB92D313ECC851C36E 6317E087C3AAD65D3CDBDD36C97F9252770DFDF560A9010010B2F60EA0001C3DFDF570
180DFDF580106F78200885F25031606235F24031806305F2A0208409F0206000000000
9999F03060000000000009F0607A00000000410109F1C0831313232333334349F39010
59C01009F34031E03005F20164D4153544552434152442F4155544F4D4154494F4E49D FDF4D263B353535353030303032303030343434343D313830363230313030303030303 030303030303F0011223344&passInData=?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestPIN
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Data to send for the device to be passed to MagneFlex. Arguments: timeLimit:, fieldseparator:, pinOption:, maxpinlength:, minpinlength:, tone:, pinmode:, endSession: Argument details: timeLimit - Seconds to wait before the operation times out. Value is in hexadecimal format. (1 - 255) fieldseparator - Delimiter to separate the output data. pinOption - PIN verification and format: 0 = ISO0 Format, No verify PIN 1 = ISO3 Format, No verify PIN 2 = ISO0 Format, Verify PIN 3 = ISO3 Format, Verify PIN maxpinlength – Max PIN length in hexadecimal format. (<= 0C) minpinlength – Min PIN length in hexadecimal format. (>= 04) tone – Beep behavior of prompt: 0 = None 1 = Single beep 2 = Double beep pinmode - Message to display as a user prompt: 0 = PINMsgEnterPIN 1 = PINMsgEnterPINAmt 2 = PINMsgReenterPINAmt 3 = PINMsgReenterPIN 4 = PINMsgVerifyPIN endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestPIN
&httpMethod=GET &closeDeviceAfter=true &readerArgument=
timeLimit:3C, fieldseparator:|, pinOption:00, maxpinlength:0C, minpinlength:04, pinmode:00, endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.asp &requestLocation=false
&passInData=testDataerrorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: PIN_RESULT
operationStatus
Status of the operation.
pinEPB
Encrypted PIN block.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=PIN_RESULT&operationStatus=00&pinEPB=1098FF7ECABD1 1F3&pinKSN=9A006300000001200010&passInData=testData&operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestManualCard
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Data to send for the device to be passed to MagneFlex. Arguments: timeLimit:, option:, tone:, endSession: Argument details: timeLimit - Seconds the device will wait for the user to complete the operation in hexadecimal: (1 - 255) option - This is an ORed combination of flags that changes the device’s data entry request behavior. Value is decimal equivalent of the binary value. Bits 0 and 1 0 = Acct,Date,CVC 1 = Acct,Date 2 = Acct,CVC 3 = Acct Bit 2 1=Use Qwick Codes entry Bit 3 1=Use PAN in PIN block creation Bit 4 0=Use PAN min 9, max 19 1=Use PAN min 14, max 21 tone – Beep behavior of prompt: 0 = None 1 = Single beep 2 = Double beep endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestManualCard
&httpMethod=GET &closeDeviceAfter=true &readerArgument=
timeLimit:3C, option:8, tone:00, endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=errorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: CARD_MANUAL_SWIPE
cardDataIn
Manual card entry data in TLV format.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=CARD_MANUAL_SWIPE&cardDataIn=FA81EBDFDF25103938444 6323041393034313230423045F481D4DFDF30020000DFDF3139254D313131313030303
030343030303030313131315E4D414E55414C20454E5452592F5E32323232303030303
030303030303030303030303FDFDF32020000DFDF33273B31313131303030303034303
0303030313131313D32323232303030303030303030303030303FDFDF34020100DFDF3
500DFDF371C%M1111000004000001111^MANUAL ENTRY/^22220000000000000000?DFDF3913;1111000004000001111=2222000000000 0000?DFDF3B00DFDF3C00DFDF430400000000DFDF500A9500030000000120000C&passInData=?operation=
&httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestSendCommand
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Comma delimited list of arguments to be passed to MagneFlex. Arguments: timeLimit:, command:, commandType:, waitForReport:, endSession: Argument details: timeLimit - Seconds to wait before the operation times out. Value is in hexadecimal format. (1 - 255) command – Command to be sent in hexadecimal. commandType – Type of command to be sent. “SET” = For commands where the ACK status is to be returned. “GET” = For commands where the data is to be returned. waitForReport - The report number to wait for before returning the response. Example: Command 30 00 (Set KSN) will respond with an ACK (01) or with data in Get Mode (30). “01” = will return the response for ACK report (01). “30” = will return the data report (30). endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestSendCommand
&httpMethod=GET
&closeDeviceAfter=true &readerArgument=
timeLimit:3C, command:070501, commandType:SET, waitForReport:27, endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=testDataerrorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: SEND_COMMAND_RESULT
commandID
Command that was sent.
commandResult
Data returned from the command sent to the device.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=SEND_COMMAND_RESULT&commandID=070501&commandResult
=270000401F3F12006034F70080F8FFFF6034F70080F8FFFF70E6530F80FAFFFF20F34 40D80FAFFFF287EF40080F8FFFF10B4480D80FAFFFF78B4480D80FAFFFF80B4480D80F AFFFF00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000&passInData=testdata?operation= &httpMethod= &closeDeviceAfter= &readerArgument= &destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestSignature
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
Comma delimited list of arguments to be passed to MagneFlex. Arguments: timeLimit:, option:, tone:, endSession: Argument details: timeLimit - Seconds the device will wait for the user to complete the operation in hexadecimal. (1 - 255) option: 0 = Timeout clears any signature data 1 = Timeout returns timeout status plus length collected. Sig Data can be requested. tone – Type of prompt tone: 0 = No sound 1 = One beep 2 = Two beeps endSession - Flag to end the session for the device. Default value is true. “true” = End the session after the request is processed. “false” = Do not end the session after the request is processed.
destinationURL
MagneFlex will send the postback to this URL.
https://192.168.10.100/magneflexdemo/default.aspx? &operation=requestSignature
&httpMethod=GET &closeDeviceAfter=true &readerArgument=
timeLimit:3C, option:00, tone:01, endSession:true
&destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=testDataerrorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: SIGNATURE_RESULT
signatureDataIn
Signature data from the device in hexadecimal format.
signatureResult
Result of the signature capture.
https://192.168.10.100/magneflexdemo/cardpostback.aspx,Data=opType=SIG NATURE_RESULT&signatureDataIn=283E293F29402B422B442C462E4B2F4F30513257 335A345D346035633769376B386D386E386F376C376937663663365F36573653374F38
4B39473A443C413E3F403D463A493A4D3B513C553E58406046684D6B506E547057725B
7361736473666F696C6A696A656A60695C68FFFF8E6290639163926392649364946495
64FFFF813882388337853787378A378B368D3690369236953599359C34A333A732AB32 B230B62FB92FBD2EC02DC62CC82CFFFFA827A828A929AA2AAA2BAB2CAD2FAE31AF35B0 37B138B23BB33EB542B748B84CB852B855B75AB65CB55EB05FAE60AA5FA75EA35DFFFF
D156CF54CE53CD52CC51CB4FC94EC64BFFFF&signatureResult=0&passInData=test data?operation= &httpMethod= &customDisplayMessage= &closeDeviceAfter= &readerArgument=
&destinationURL= &requestLocation= &passInData=operation
Operation to request from MagneFlex. Use: requestData
httpMethod
HTTP method to be used for the HTTP postback from MagneFlex. Use: GET - returns the response data in the form of a query string. POST – recommended for EVM related transactions to accommodate limits on query string lengths.
customDisplayMessage
Message to display within the browser to instruct user interaction (iOS only).
closeDeviceAfter
Flag to close the device after the request. Use: true – close device false – do not close the device
readerArgument
https://192.168.10.100/magneflexdemo/default.aspx? operation=requestData
&httpMethod=GET
&customDisplayMessage=Please Swipe Card or Scan a Check
&closeDeviceAfter=true &readerArgument=
timeLimit:3C &destinationURL=https://192.168.10.100/magneflexdemo/cardpostback.aspx &requestLocation=false
&passInData=testDataerrorCode
Error status. 0 is Success. Non-Zero is an error.
errorMessage
Description of the errorCode.
opType
The type of operation. For this command the value is: REQUEST_DATA_RESULT
dataResponse
Data received from the device.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
https://192.168.10.100/magneflexdemo/cardpostback.aspx?errorCode=0&err orMessage=OK&opType=REQUEST_DATA_RESULT&dataResponse=
%B5999991234567891^MAGTEK/TEST
^21042011000000819000000?;5999991234567891=210420110000819?<13>
&passInData=testdatarequestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
pinKSN
PIN KSN.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device hosting Magneflex (iOS only). Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.
Comma delimited list of arguments to be passed to MagneFlex. Arguments: timeLimit: Argument details: timeLimit - Seconds the device will wait for the user to complete the operation in hexadecimal. (1 - 255)
destinationURL
MagneFlex will send the postback to this URL.
requestLocation
Flag to send GPS location of the device from which Magneflex (iOS only) is hosted. Use: true – send location false – do not send location
passInData
Optional data to send to MagneFlex. This data will be passed back to the web app.