All pages
Powered by GitBook
1 of 1

Loading...

MTSCRA Function - 4.21 - 4.30

4.21 getMagnePrint

This function retrieves the card’s encrypted MagnePrint, for readers that support MagnePrint.

(NSString *) getMagnePrint

Parameters: None

Return Value: String containing the card’s encrypted MagnePrint.

4.22 getMagnePrintStatus [iDynamo Only]

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 *) getMagnePrintStatus

Parameters: None Return Value:

Return stored MagnePrintStatus string.

4.23 getDeviceSerial

This function retrieves the device serial number.

(NSString *) getDeviceSerial

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

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,

MAGTEKEDYNAMO = Bluetooth LE reader eDynamo.
  • MAGTEKKDYNAMO = Lightning reader kDynamo.

  • MAGTEKTDYNAMO = Bluetooth LE reader tDynamo.

  • CAP_SESSION_ID = 16,

  • CAP_DISCOVERY= 32,

  • 4.24 getMagTekDeviceSerial

    4.25 getSessionID [iDynamo/uDynamo Only]

    4.26 getKSN

    4.27 getDeviceName

    4.28 getDeviceType

    4.29 setDeviceType

    4.30 getDeviceCaps

    (NSString *) getMagTekDeviceSerial
    (NSString *) getSessionID
    (NSString *) getKSN
    (NSString *) getDeviceName 
    (int) getDeviceType 
    (void) setDeviceType:(UInt32 *)deviceType
     (NSString *) getDeviceCaps