
MTSCRA Functions - 31 - 40
getCapMSR
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
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)
getCapMagStripeEncryption
This function gets the device’s capability for encrypting track data.
(NSString *) getCapMagStripeEncryption Parameters: None
Return Value:
“1” = Available
“0” = Unavailable.
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.
getCardExpDate
This function retrieves the card expiration date after a cardholder swipes a card.
Parameters: None
Return Value: String containing the card expiration date
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
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
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”.
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
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
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

