
MTSCRA Function - 4.21 - 4.30
4.21 getMagnePrint
(NSString *) getMagnePrint4.22 getMagnePrintStatus [iDynamo Only]
(NSString *) getMagnePrintStatus4.23 getDeviceSerial
(NSString *) getDeviceSerial
This function retrieves the card’s encrypted MagnePrint, for readers that support MagnePrint.
(NSString *) getMagnePrintParameters: 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.
(NSString *) getMagnePrintStatusParameters: None Return Value:
Return stored MagnePrintStatus string.
This function retrieves the device serial number.
(NSString *) getDeviceSerialParameters: 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 D99875475
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,
(NSString *) getMagTekDeviceSerial(NSString *) getSessionID(NSString *) getKSN(NSString *) getDeviceName (int) getDeviceType (void) setDeviceType:(UInt32 *)deviceType (NSString *) getDeviceCaps
