For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

MTSCRA Function - 4.31 - 4.40

4.31 getCapMSR

This function gets the MSR capability of the device. For more information, see D99875483 – Track ID Enable Property.

(NSString *) getCapMSR

Parameters: 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

T3

T3

T2

T2

T1

T1

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.

T#

  • 00 – Track Disabled

  • 01 – Track Enabled

  • 10 – Track Enabled/Required (Error if blank)

4.32 getCapMagStripeEncryption

This function gets the device’s capability for encrypting track data.

Return Value:

  • “1” = Available

  • “0” = Unavailable.

4.33 getCapTracks

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.

4.34 getCardExpDate

This function retrieves the card expiration date after a cardholder swipes a card.

Parameters: None

Return Value: String containing the card expiration date

4.35 getCardLast4

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

4.36 getCardIIN

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

4.37 getCardName

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

4.38 getCardPANLength

This function gets the length of the PAN after a cardholder swipes a card.

Parameters: None

Return Value: Length of card number or PAN

4.39 getCardServiceCode

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

4.40 getFirmware

This function retrieves the part number and revision of the device’s firmware.

Parameters: None

Return Value: String containing firmware part number and revision.

Last updated